We are executing the Child Process Flow Using Spawn activity Asynchronously. I need to update the PID of the child flow in our database for tracking. Is there any way to achieve this.
Using the action "Set-Parent-Context" you can get the TransactionPID (UniqueID) of the child flow in the parent process flow .This action is used to set the value of ‘Process Flow Context Variable’ or ‘Activity Context Variable’ from child process flow to the ‘Process Flow Context Variable’ or ‘Activity Context Variable’ of the parent process flow, which initiated the child process flow by call/spawn action.
The TransactionPID (UniqueID) of the Process flow is set in the process flow context with name "TransactionPID" which you can provide in the Key Property of the action "Set-Parent-Context" in the child flow.
Article is closed for comments.