Terminate event: selecting which branches to terminate
I'm building a workflow which uses an AND-Split gateway in order to create multiple tasks to be assigned to different users concurrently (image attached).
I have connected a flow from 2 of the concurrent tasks to Terminate End Event, so that when one of them is terminated, it will also terminate the other task. However, there is a 3rd branch which is not connected to a Terminate End Event, and I wish for this to continue, even when the other tasks are terminated.
As far as I can tell, the Terminate End Event will terminate all concurrent tasks in a workflow. Is it possible to configure this icon so that I can select which tasks it terminates, while allowing others to continue?
-
It is not possible to configure the Terminate End Event to select which Tasks it will terminate. In the event that a workflow has been split into multiple concurrent branches, the Terminate End Event will always terminate all active Tasks in a Process.However, if you create a separate workflow which is triggered by a Message Start Event (HTTP), you can then place a Service Task (Start Child Process) that links to the Message Start Event (HTTP) in your original App in the branch that you wish to remain active. The Service Task (Start Child Process) will trigger the Message Start Event (HTTP) creating a Task in a different Process. Then, when a Terminate End Event is reached in the original Process, the Task created following the Message Start Event (HTTP) will remain active, because it is part of a different Process.See the related article
Linking and Operating Multiple Workflow Apps – Sub-Process EditionChild App
Substitute with [Service Task (Start Child Process)]
Please sign in to leave a comment.
Comments
1 comment