cancel
Showing results for 
Search instead for 
Did you mean: 

How to limit number of running workflow-instances?

workflowuser2
Champ in-the-making
Champ in-the-making
Hi Activiti-experts,

Is there a way to model workflow where I can control the maximum number of running instances of a particular workflow? For example, we would like to say that only single instance of the workflow can run at a time?

thanks
pdt
3 REPLIES 3

plehal
Champ in-the-making
Champ in-the-making
You can run the query for any running instances and based on that you may deny or allow creation of another instance.

workflowuser2
Champ in-the-making
Champ in-the-making
thanks plehal.

I was wondering if this is natively handled by the activiti engine using some activiti syntax?

pdt

ronald_van_kuij
Champ on-the-rise
Champ on-the-rise
No, sorry…