AnsweredAssumed Answered

Activiti process in cluster

Question asked by ambikakhatri on Mar 22, 2016
Latest reply on Mar 24, 2016 by ambikakhatri

When I call runtimeService.startProcessInstanceByKey(processName, processVariables), activiti process gets started identified by processName. Suppose I am in clustered environment and start process using above code. Will activiti process run in a different node? My requirement is that I want this process to be picked by any node and not necessarily the node where this code was executed. If not this way, how can I achieve this? Using message instead of processId (as below) getProcessEngine().getRuntimeService().startProcessInstanceByMessage('somemessage')
to start process would help me achieve this?

Thanks in advance,