cancel
Showing results for 
Search instead for 
Did you mean: 

Starting a process from a Task - best practice

gavnunns
Champ on-the-rise
Champ on-the-rise
Hi

I was looking to find out if there is a best practice for starting a new bpmn process from a task in a running process.  In this case the process def id that I wish to launch is known.

I'm assuming it can be done with a Java Service Task, but I was wondering if I had missed something more obvious?

Thanks

Gavin
1 REPLY 1

pmsevestre
Champ in-the-making
Champ in-the-making
If you want to keep a parent-child relationship between the processes, a simpler way would be a "Call Activity".

Other options include the following:

* Using a script task to start the other process (easier to maintain as there are no classes/jars issues)
* Using a message to start the other process - you get a nice decoupling as a bonus ;^)