Hi,
I am using the callActivity in my project and faced the following issue:
When I use callActivity with multiInstanceLoopCharacteristics feature, the binding of expressions do not work properly, but when I use without this feature, everything is correct.
Here is the XML section of my process definition:
<callActivity id="ubi_id-31a1f64a-e42f-4906-b736-cb9c57ab83c8" name="Call Process" calledElement="XYZ">
<extensionElements>
<flowable:in sourceExpression="${m}" target="n"/>
<flowable:out sourceExpression="${n}" target="m"/>
</extensionElements>
<multiInstanceLoopCharacteristics isSequential="true" flowable:elementIndexVariable="loopCounter">
<loopCardinality>1</loopCardinality>
</multiInstanceLoopCharacteristics>
</callActivity>
I expect that the result of variable “m” is passed to sub-process as variable “n” and after return from execution of sub-process, the variable “n” from sub-process is passed to “m”. But the result of “m” after return from the sub process is “NULL”.
But When I eliminate the “multiInstanceLoopCharacteristics” section and call activity without iteration ans repeat, the result is correct.
Thanks and best regards,
Abbas