Can multi instance activity execute in batches?

Hi all! :wave:

I couldn’t find an answer in documentation or a question that is related so I wanted to ask - can multi instance activity execute in batches?

For example, let’s say we have a parallel multi instance sub-process, which takes a collection with 1000 elements. Is there a way to tell Camunda not to process all of the elements in parallel, but rather to process them in batches of 200 for example? Or there is a better solution to do that?

If the Camunda Engine doesn’t support it, will it support such thing in the future? Or it won’t support such thing at all?

Any help is appreciated!
Thank you for your time!

Hi @petar.tseperski,

a simple solution would be nesting: A sequential multi instance embedded subprocess with 5 elements, and an inner parallel multi instance subprocess with 200 elements.

Hope this helps, Ingo

1 Like

Hu @Ingo_Richtsmeier ,

Thank you for the fast reply! That sounds like a good solution. If there is a need to do some kind of thing, we will consider this approach.