AnsweredAssumed Answered

How to pass a variable from the called workflow to the calling workflow?

Question asked by alper on Nov 27, 2014
Latest reply on Sep 9, 2016 by kalpanaab
I do execution.setVariable("A","B") while in the parent workflow.
Then paren workflow passes the variable A to the child workflow, and I do execution.setVariable("A","C") in the child workflow.
Upon returning to the parent workflow I do execution.getVariable("A") and get "B"!
So changes done in the child workflow were not saved.
What am I doing wrong? How to correctly pass the variable from the child workflow to the upper level?
Thank you.