Hi,
Am new to camunda just trying some test cases, wanna know about source expression in call activity gone through docs but didnt get clear idea, can someone plz help me out with this in brief
Hi,
Am new to camunda just trying some test cases, wanna know about source expression in call activity gone through docs but didnt get clear idea, can someone plz help me out with this in brief
Can you explain this in a little more detial?
Hi @Gus_fring,
In the docs
<callActivity id="callSubProcess" calledElement="checkCreditProcess" >
<extensionElements>
<camunda:in sourceExpression="${x+5}" target="y" />
<camunda:out sourceExpression="${y+5}" target="z" />
</extensionElements>
</callActivity>
<camunda:in sourceExpression="${x+5}" target=āyā />
means the expression in the main process would get evaluated and the result gets assigned to y variable in the called sub-process
<camunda:out sourceExpression="${y+5}" target=āzā />
means the expression in the called sub-process would get evaluated and the result gets assigned to z variable in the main process