AnsweredAssumed Answered

Async process start

Question asked by alexbt on Nov 13, 2011
Latest reply on Nov 13, 2011 by alexbt
Hello Activiti Team,

My question is about asynchronous process start.
As far as I understand the Activiti API the only way to start a process instance is by calling either
RuntimeService.startProcessInstanceByKey(…) or RuntimeService.startProcessInstanceById(…)
But those methods run in a synchronous manner until they encounter a wait state, and after that they return a processInstance.
Is there a way to start the process and and get the processInstance even before executing the first task? So that it will look like async execution.
Or maybe I misunderstand the API. Please correct me if I'm wrong.