I was wondering if is it possible to stick processInstances to one application instance. During restarts we want to avoid situations, where multiple application instances want to resume same, existing process instance.
Are there any built-in mechanisms to achieve that? Or can anyone suggest what is the best way to create such locks?
Activiti won't start instances by itself. Or are you talking about jobs? If so, no, we don't have that possibility right now (that would have to be custom coding, exteding the job executor)