How to configure a Multi Instance Task?

In my BPMN I have the output of a DMN which is mapped to a dmnResults variable which in my case contains List<Map<String, Object>>. I then route these to various Tasks via an exclusive gateway depending on the values in the DMN results. This was working fine before we changed to a List of Map<String, Object> results. So now each of the Tasks I want to make Multi-Instance to handle the case there could be multiple tasks for each Task.

But I’m not clear how to configure this in Camunda Modeler. Here are the Multi-Instance parameters, what do I use for each of these? (Which ones do I need?)

Loop Cardinality
Collection
Element Variable
Completion Condition

Note my exclusive gateway destination paths check the dmnResults list/map with a Groovy script to route to the correct Task.

I don’t think this matters but note that in each Task I generally perform a Java Delegate operation, just a different one per Task.

Note in my JavaDelegate I do need to be able to read the dmnResult map for that instance of the Task, how do I get that?

@dhoffer you can refer the below post:

For your reference: