AnsweredAssumed Answered

Question on the startProcessInstanceByKey

Question asked by sathish1 on Jul 24, 2014
Latest reply on Jul 25, 2014 by sathish1
There is a process Instance which is running, for sake of discussion I call this process instance as "A" and within this I have to get Process Instance running "B" in a separate thread. So what I did was once I started the process A, in one of the service task of Process A, am coding to something like this

execution.getEngineServices().getRuntimeService().startProcessInstanceByKey("PROCESSB", processSaveVariables);

I was thinking the strateProcessInstanceByKey was going to start a new thread and will not run in Process A thread., But when I print the thread name for Process A and Process B, I get same thread name.

Can you please advise why is that a new thread is not getting kicked off when I call the startProcessInstanceByKey within Process A to start Process B??

Thanks in advance.