How to iterate a list in multi instance

When I send the list through API to Camunda it looks like that:


Now let’s say that I want to iterate through it in a parallel multi instance task. How can I do it?
First should I deserialize, and then, how?

Hi @stefan.bobeica,

No need to deserialize. All you need to do is to set both properties (Collection and Element variable) as in the below snip.

As per the configuration shown up in the above snip: a local variable named “data” will be created for each instance. Each represents an object of the ArrayList.