For example lets consider above BPMN Model, Firstly i like to store my domain model as java object in this case say(Customer) as process variable.
Question: Lets say I am storing process variable as ( customerID, Customer object) when the process instance start. In each task i am modifying process variable at task level and setting it back to process instance level.
I like to retrieve updated process variable( customer object) all the time. for instance, In the parallel execution of task customer selection, customer creation, if customer creation completed updated process variable (customer object), will that be automatically updated in parallel execution, at customer selection task. or how do we achieve this any idea?