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?
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 ;^)