AnsweredAssumed Answered

Starting a process instance synchronously

Question asked by gant on Jul 28, 2011
Latest reply on Jul 29, 2011 by gant
Hi,

I think it's not possible to run a process instance synchronously, I mean, to get the "output" process variables after execution?

I'd like to do something like:
Map<String,Object> outcome = myRuntimeService.startInstance("myBackgroundProcess", vars);

Where 'myBackgroundProcess' is a composition of service tasks.

What would be the best (a good) way, to achieve this?

Thanks,
michael

Outcomes