Server Error: SPIN/JACKSON-JSON-01005 Unable to create node for object of type 'Undefined’

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 :face_with_raised_eyebrow:

I explain here my steps in case anyone could help me:

  1. On the completion of the 1st task form (Create a List of Products), a json array (product) is created.
  2. 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.
  3. On the completion of each instance of the 2nd task (Select products from the List), a new json array (selectedProduct) is created.
  4. 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