AnsweredAssumed Answered

ActivityExecution flush a variable immediately

Question asked by mpriess on Jan 16, 2015
Latest reply on Feb 6, 2015 by mpriess

I extended the class TaskActivitiyBehavior to write a own task.

In the method "public void execute(ActivityExecution execution)" I changed a variable and started a new thread which should access the the changed variable.


Change the variable from 0 to 1;

execution.setVariable("A", 1);


If I try to access the variable from the new launched process the value is 0. How can I flush the value immediately?