cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to prioritize executions in activiti?

sushantmahajan
Champ in-the-making
Champ in-the-making
Hi all,

I have a usecase where i want the various process executions to have a certain priority defined for them, so that higher priority executions could complete before the others. Is there a way to define priorities for the threads used by activiti?
1 REPLY 1

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Sushant.

Process instances do not have execution priorities. If you want to implement execution priorities I would suggest:
  1. to make steps (or sequence of steps) in the process definition asynchronous,
  2. implement your own job executor which will take priorities into account.
Regards
Martin