Do process variables from a call activity override the process variables from parent process?

646 views
Skip to first unread message

dlo...@googlemail.com

unread,
Oct 29, 2014, 10:23:41 AM10/29/14
to camunda-...@googlegroups.com
Hi all,

I was wondering if I pass a process variable into a call activity, change it there and pass the process variable back to the parent process, does it override the process variable of the parent?

Regards,
Dennis

Christian Lipphardt

unread,
Oct 29, 2014, 11:03:07 AM10/29/14
to camunda-...@googlegroups.com
Hi Dennis,

Yes, if you configure the input / output mapping. See [1].

Cheers,
Christian

Dennis Lotz

unread,
Oct 29, 2014, 11:38:26 AM10/29/14
to camunda-...@googlegroups.com
Hi Christian,

thank you for your answer. I did check the documentation and did it like that.

<callActivity id="CallActivity_1" name="Funktionskontrolle" calledElement="Funktionskontrolle">
      <extensionElements>
        <camunda:in variables="all"/>
        <camunda:out variables="all"/>
      </extensionElements>

But still it seems that it won't override. If I use an expanded subprocess instead of a call activity it works. I am using 7.2.0-alpha5 with tomcat btw.

Regards,
Dennis 
Reply all
Reply to author
Forward
0 new messages