Starting an independent workflow from within another

Above is my simple workflow. I wish to start independent workflows (using the startProcessInstanceByMessage method) in the service tasks (as in independent of this particular workflow itself), for which I have chosen to use delegates, according to this excerpt from the docs, delegates are not allowed to influence activity flow (which this isn’t really doing). Having said that you caution against using the alternate ActivityBehaviour class as it is not recommended “good practice”. So what would be the advisable approach?

The delegates aren’t influencing the flow of the process instance in which they’re invoked, so that’s no problem.

1 Like