I’ve a parent process that has a Message boundary Event on one of the User tasks with a purpose of initiating a child process instance when the message is propagated.
My whole intention here is to set the process Variables only to the child instance but it is actually setting the variables on the parent instance. How to achieve this in camunda?
The reason that the payload of the message is no being stored in the parent process is because the message event itself if in still in the scope of the parent process.
To send a variable from the parent to the process being called by the call activity you need to use the variables tab to map the parent variable to the child one.
Yeah, i’m aware of variable mapping in Call Activity.
What i’m trying to say is, for each parent process instance, there is a possibility of creating multiple child (Issue) process instances.
For each Message event that holds a specific child data in the request, it somehow doesn’t seem correct with the parent instance overriding its data for every latest child created.