Hello everyone,
I’m new at Flowable and BPMN 2.0, and I’m having a problem.
The diagram bellow representes the flow that I want. First I obtain the number of times that Call Activity will be instanciated, next the Call Activity will execute the instances in this step for each called process is generated a variable that contains a value that I need to use in Evaluate Values task.
I can’t return the variables from the sub process (process called in Call activity) to the main process in other words in the Evaluate values task doesn’t see the variables.
I already tried this but the variables are always null. It appears that the each instance can’t change variables in the main process.
<callActivity id="callMultiplesInstances" name="Call Multiples Instances" calledElement="subprocess" flowable:inheritVariables="true" flowable:useLocalScopeForOutParameters="true">
<extensionElements>
<flowable:out source="text1" target="text1"/>
<flowable:out source="text2" target="text2"/>
</extensionElements>
<multiInstanceLoopCharacteristics flowable:collection="${assigneeList}" flowable:elementVariable="head" isSequential="false">
<loopCardinality>3</loopCardinality>
</multiInstanceLoopCharacteristics>
</callActivity>
Can someone give me some light?
Thank you