How to iterate the variable that contain input as array?

I want to iterate the the list of message , inside that list I want to iterate each element once so what we can do for the solution. like I give the eg:-
”message: [ “msg1”, “msg2”,”msg3”]
Here I want to iterate each element once so what we need to use or in subprocess what is required?

I am not sure what you want to do with the list, but if you want to feed the values to a sub-process, you can make the sub-process multi-instance and set the Input Collection to have the value of the list:

Camunda will itereate through the list and pass each value to the sub-process.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.