Max number of process instances


Does anyone know if there is way to limit the number of instances of a given model running? We developed a model which subscribes to an IS document type. There could be thousands of that document type arriving at the same time but we would like to process them say 50 (for example) at a time. Running thousands of processes in parallel consumes too much resources…

We tried to modify the model trigger “max execution thread” property but it does not work.

any idea anybody?

Thanks in advance

Guillaume Duchesneau

Did you try adjusting the trigger refill level and capacity also? The max execution threads will limit the total number of threads it can execute at a given time but it is the capacity and refill level that play a major role during runtime.