How to get the process name in an Instantiation form ?
1 answer
Hi,
You can use the id
parameter of a process instantiation form url that correspond to the processDefinitionId
.
- Add a variable in your form of type
URL Parameter
with nameprocessDefinitionId
and URL parameter name toid
. - Add another variable
processDefinition
of typeExternal API
with the following API call:
../API/bpm/process/{{processDefinitionId}}
You can then use {{processDefinition.displayName}}
to retrieve the name of the current process.
HTH
Romain
Comments
Thank you very much !
It helps me a lot