Update collection for multi instance sub-process

I have a multi instance sub process iterating on a collection object “items”.

Each instance of sub process may live for days.

During that period new items to process may come up within the same unit of work.
While at least one instance of sub process is live, is it possible to add new items to the existing collection “items” resulting in spawning new sub process instances for the newly added items as well.

Thanks.

Hi @person_one,

The number of instances are calculated once, when entering the activity which means any changes on the collection after that will not affect the # of instances of the multi instance activity.

1 Like

Thanks.

Do you see any other way of realizing this requirement in BPMN.

If you want multi instance logic to be executed in sequence "“not in parallel” then you could implement iteration login with exclusive gateway (You also can remove sub process activity in this case)

Thanks again. Appreciate your time and response.

In this case they have to be executed in parallel.