Hi Suhas Madap,
-
collectionis the name of the process variable that you want to iterate over (e.g. a list with the valuesjohn,mary,peteris going to result in three tasks). If you usecollection, theloopCardinalityshould not be defined -
elementVariableis the name of the process variable the element will be assigned to (assuming you set this toassignee, thenassigneewill have the valuejohnfor the first instance,maryfor the second instance, etc.) -
camunda:assigneeis 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