Hi @Yana, @MichiDahm and to anyone else.
Based on @StephenOTT’s post here (Pattern Review: DMN Looping for Array Input), I tried to overcome the issue of replacement of my result variable (which is a json array) on the completion of each instance but unfortunately without any success
I explain here my steps in case anyone could help me:
- On the completion of the 1st task form (Create a List of Products), a json array (product) is created.
- In the Multi-Instance Call Activity, I’ve set my collection to be an array of usernames and so, each task that gets instantiated, is assigned to each one of those users.
- On the completion of each instance of the 2nd task (Select products from the List), a new json array (selectedProduct) is created.
- My problem is that when I try to complete the 1st instance of this task, I’m always taking the following server error:
SPIN/JACKSON-JSON-01005 Unable to create node for object of type ‘Undefined’
My bpmn file for anyone interested:
Multi-Instance Call Activity.bpmn (8.1 KB)
Does anyone have any idea on this please?
Thank you,
Steve