Hello my friend @cambarantama !
In camunda, when entering a multi-instance, some variables are created, and one of them is loopCounter which is of type “Integer”.
You can use this variable to concatenate with the name of a variable you want and thus have direct access to the variable referring to the multi-instance you want.
For example, if your variable is “personName”, and your multi-instance will have 30 persons, you create the variable dynamically by searching for the value of the current running loopCounter through execution.getvariable(“loopCounter”)… and then concatenating the loopCounter value with the name of the variable.
“personName_” + loopCounter;
Something like this!
Hope this helps.
William Robert Alves