Cannot set input from element Variable properties in Camunda with multi instance Task with collection of objects as payload

Context:
a multi instance TASK

Why can I do assignee = ${org.user} in a multi-instance user task, but I cannot use org.entityCode in input mappings the same way?

post payload:

“orgs”: {
“value”: “[{"user": "user3", "entityCode": "ENT0rrr"}, {"user": "user12", "entityCode": "ENT0rrrrtt"}]”,
“type”: “Object”,
“valueInfo”: {
“objectTypeName”: “java.util.ArrayList”,
“serializationDataFormat”: “application/json”
}
}

@Abdul_Renish Could you share the bpmn which can reproduce this issue?

1 Like

process-message-start-muli.bpmn (10.5 KB)
process-message-start.bpmn (9.5 KB)
Attached the 2 bpmns - one in the multi instance, where i set the input with object.property , that fails.
Second BPMN, work around, added a multi instance process, inside that, the task can get the object.property in input.

So why it wont work in the first? Is it a default behavior or a bug?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.