Cancel the whole process

Hi,
I have the following model as an example, Is there a possibility to trigger a sub process in each user task.
It is required to be able to cancel the entire process from each human task.
I tried the escalation boundary event and the conditional boundary event , but it gives me an error:

org.camunda.bpm.engine.ParseException: ENGINE-09005 Could not parse BPMN process. Errors:

  • start event of event subprocess must be of type ‘error’, ‘message’, ‘timer’, ‘signal’, ‘compensation’ or ‘escalation’

Hi @sftr,

You only need to use an event sub-process with an interrupting conditional start event so whenever the condition gets satisfied, the process gets interrupted and the event sub-process gets triggered.

Kindly find attached a simplified running example
test_cancel_process.bpmn (6.1 KB)

1 Like

Thank you @hassang , once again your answer helped me a lot.

1 Like