Difference between rootprocessinstanceId and ProcessInstanceId

1
+1
-1

Hi,

Can anyone please explain the difference and details of the variables rootprocessinstanceid and processinstanceid?

We are trying to understand if we can use one of them as unique token. no.

Thanks in Advance

SD

1 answer

1
0
-1

Hi,

The root process instance id is the id for the process that is instantiated (for example when a case is started in Portal). If a process has a subprocess, this subprocess gets its own processInstanceId, and a rootProcessInstanceId identifies the parent. If the subprocess has a subprocess, the sub-subprocess has a processInstanceId, the parentProcessInstanceId identifies the parent, and the rootProcessInstanceId identifies the "grandparent" process.

hope this helps,

Chris

Notifications