Hi Suhas Madap,
-
collection
is the name of the process variable that you want to iterate over (e.g. a list with the valuesjohn
,mary
,peter
is going to result in three tasks). If you usecollection
, theloopCardinality
should not be defined -
elementVariable
is the name of the process variable the element will be assigned to (assuming you set this toassignee
, thenassignee
will have the valuejohn
for the first instance,mary
for the second instance, etc.) -
camunda:assignee
is the name of the assignee. It can also be an EL expression and that way, you can set it dynamically based on a process variable. That means, setting it to${assignee}
should do the trick
See the docs on multi-instance for details.
Cheers,
Thorben