AnsweredAssumed Answered

ActivityExecution flush a variable immediately

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

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.

execution.getVariable("A");

Change the variable from 0 to 1;

execution.setVariable("A", 1);

startNewProcessInAnotherThread();

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






Outcomes