AnsweredAssumed Answered

can we queue instances for a given process

Question asked by dmill on Nov 12, 2015
Latest reply on Nov 12, 2015 by martin.grofcik
Hey guys,

I had a look around and couldn't find anything on this. I apologize if I missed something obvious but here's what I would like to do:

I was wondering if it was possible to queue process instances to ensure that there are only ever n number of concurrent instances.
For example, lets say we have process P.
I create 20 instances I1 to I20.
I would like to ensure that on 5 of those processes are running (say I1-I5) and that the others are queued.
When one of the instances has ended the system then runs one of the queued instances (I6 for example)

Is there any way to accomplish this? Maybe a way in the process definition to pause the instance and have it wait for others to terminate?

Thanks in advance.