AnsweredAssumed Answered

getting null value for variable from Delegate Execution

Question asked by on Jul 31, 2012
Latest reply on Jul 31, 2012 by

In the activiti workflow,I have one sub process. This sub process has a service task.
Service task has a java class as a delegate and it implements JavaDelegate.

when I do execution.getVariable("myvariable"), It returns null.
Here when I debug the execution,it displays like concurrentExecution[1234].

The variable is set out of the sub process and outer classes have scopeExecution[1234] as DelegateExecution.

Can someone help to understand the difference between two ,i.e Concurrent Execution and Scope Execution ?

Also any pointer to resolve this issue would be helpful.