Sequence flow using countLoop

In act 1 I receive information, this info contains possible more than one object, and for each one I want to treat each one in a multi instance subprocess. I know that each instance will have an unique counter (counterLoop), is possible to crontrol the gateway with the varible isSomething + counterLoop like this:

<![CDATA[${isSomething+counterLoop == 0}]]>


Can anyone help me? :smiley:


Yes thatโ€™s possible. Here you can read about the multi instance config:

By default you can access the loopCounter variable (or use loopCounter directly in the expression). You can change the variable name by defining the elementIndexVariable attribute in the multi instance definition in the BPMN XML.

Best regards,