Hi Daniel and Thomas,
This is a typical question raised when you process cancellation should be solved. My thought is the following:
- Thomas's suggestion is appropriate, but with an important constraint: all process tasks in the sequence between the first and last related tasks must be interrupted. That is no 'must-do' task in this case, or that must be handled in the cancellation flow.
- Anyway, you can use Intermediate Event in all related tasks with other assigned following elements (merging Gateway and additional Tasks or a simple End event).
- However you should decide where you want to handle the other activities which might be performed differently depending on the actual status of the process (when event triggered). I suggest to do this in a separate process (e.g. Cancel xy process) to keep the original process simple. In this case the Cancel process can send message to the original processes to stop it, but perform additional tasks by itself.
Hope it helps you.
Cheers,
Istvan