Accessing collection element in input parameter of a multi instance call activity

hi All,

I have a multi instance call activity in which I am passing customer element to each instance. I would like to get customer value in the Input Parameter for each instance, so that I can fetch the corresponding customer id from
customer_id_map. something like

var customer = execution.getVariable(“customer”);
var customer_id = customer_id_map.get(customer);

Attached are the bpmn files in which I have hard coded the customer value, which is working fine.

Parent_CallActivity.bpmn (4.2 KB)
ChildProcess.bpmn (2.4 KB)

Appreciate your help!

Thanks
Prasad