From the userguide. You can tell Activiti to take the elements from a collection, and assign that element to an (execution local) variable for that instance. For example your collection can hold a list of URLs, and each service task in the multi-instance will call one.
<code>
<userTask id="miTasks" name="My Task" activiti:assignee="${assignee}">
<multiInstanceLoopCharacteristics isSequential="true"
activiti:collection="${myService.resolveUsersForTask()}" activiti:elementVariable="assignee" >
</multiInstanceLoopCharacteristics>
</userTask>
</code>