Reflecting variable change between process and activities

Hello,

Would it be possible to change a variable in a process instance and have the change reflected in an activity under it?

image

For example in this case, if this process has string variable FOO = BAR, and the activity (Wait for last signing date) has the same string variable with the same string value. Can I set FOO = LOREM and have the change automatically reflected in the activity?

Hi @dev-rifaii,

the subprocess started from the call activity is a separated process instance. They cannot share process variables.

But you can introduce a service task where you look for the process instance ID and update the process variable programmatically.

Hope this helps, Ingo