Terminate Events

A terminate event ends the complete scope where the event is raised and all inner scopes.

It is useful if you have a parallel split in your process and you want to immediately consume all tokens that are currently available.

If you use it on the process instance level, the whole process is terminated. On a subprocess level the current scope and all inner processes will be terminated.

Terminate Event Definition

A terminate event is modeled as a end event with an additional definition element to mark the termination:

<process id="someProcess">
  <!-- ... -->
    <endEvent id="EndEvent_2" name="Tweet rejected">
      <terminateEventDefinition id="TerminateEventDefinition_1"/>
  <!-- ... -->

Camunda Extensions

Attributes camunda:asyncBefore, camunda:asyncAfter, camunda:exclusive, camunda:jobPriority
Extension Elements camunda:inputOutput

Additional Resources

On this Page: