Hello,
I have an instantiation form which is used by many different processes.
On the form, I need to know which process is concerned.
Since there's no context for an instantiation form, I don't how to do that.
Has someone any idea ?
Regards,
Thierry.
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 name processDefinitionId
and URL parameter name to id
.
- Add another variable
processDefinition
of type External 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