AnsweredAssumed Answered

Add process variable

Question asked by greencomet90 on Mar 17, 2015
Latest reply on Mar 24, 2015 by jbarrez
Hi,
I have flow like this:
ServiceTask 1 (return object A have fields A1,A2) -> ServiceTask 2 (need A2).
How can I add A2 to flow ?
I try runtimeService.setVariable(processInstance.getId(), A2,A2Value) but when flow has not yet user task, processInstance is null, so I can't get executionId. I'm apply serviceTask by using expression.

Thanks.

Outcomes