cancel
Showing results for 
Search instead for 
Did you mean: 

Start many instances at the same time

james1
Champ in-the-making
Champ in-the-making
start many instances at the same time,it seems that activiti cannot queue the request,it will start the next instance until the before instance's execution ended.
3 REPLIES 3

stroobat
Champ in-the-making
Champ in-the-making
Maybe you can start them in seperate Java threads ?

Tom.

jbarrez
Star Contributor
Star Contributor
Async continuations (which are to be implemented in the near future) can help here: putting the first ctivity asycn would cause the thread to immediately return and hence the process starts are put in a queue.

But a simple ThreadExecutorPool in Java could do exactly the same as a current workaround.

james1
Champ in-the-making
Champ in-the-making
thanks for your reply;