Wrong output of DMN in result variable within multi instance sub process task

Hi @Aranex.

The documentation for Multi-Instance tasks says the following:

A multi-instance activity ends when all instances are finished.

That means, that all tasks are executed before the process gets to your gateway. And the problem you are having is, that every DMN-task of your multi-instance writes the output to the same result variable. So this variable gets constantly overwritten and only contains the result of the last DMN-task.

So you should consider creating an object that holds all the results of the DMN-tasks.

Here is a good forum post that helped me to improve the usage of my multi-instance tasks:

Regards,
Michael

1 Like