cancel
Showing results for 
Search instead for 
Did you mean: 

Starting a new process instance from inside a process asynchronously.

maudrid
Champ on-the-rise
Champ on-the-rise
I'm wondering if it is possible to create a process definition that will use something like the Call activity (subprocess) to start a new process instance.
Once it is started, I do not care what the outcome is, I want this original process to continue executing.

From the documentation:
When process execution arrives in the call activity, a new execution is created that is a sub-execution of the execution that arrives in the call activity. This sub-execution is then used to execute the subprocess, potentially creating parallel child execution as within a regular process. The super-execution waits until the subprocess is completely ended, and continues the original process afterwards.

I do not want the super-execution to wait and I don't want the new process instance to be a sub-execution.
I would, however, like to know what the id of the new process that was started is.
3 REPLIES 3

martin_grofcik
Confirmed Champ
Confirmed Champ
Hi Maudrid,

use intermediate message/signal throw events and message/signal start events to trigger new process instance execution without wait.

Regards
Martin

maudrid
Champ on-the-rise
Champ on-the-rise
Thanks I will try that.
Is it possible to have process be started with either a start form or a signal?

martin_grofcik
Confirmed Champ
Confirmed Champ
yes. (or at least you can encapsulate process body into call activity and have 2 models with 2 different entry points)

Martin