Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

error_events

ralphhanna edited this page Dec 18, 2023 · 1 revision

Error Events:

BPMN Diagram

Raising Errors

Through an End Events of type Error

    <bpmn2:endEvent id="EmdEvemt_error1" name="Throw Error 1">
      <bpmn2:incoming>SequenceFlow_0plhz17</bpmn2:incoming>
      <bpmn2:errorEventDefinition />
    </bpmn2:endEvent>

Error Handling

  • If there is a Boundary Event to catch, it will be invoked
  • else if there a start Event to catch it will be invoked.
  • else Default error handling will be processed.

Example of Boundary Event

<bpmn2:boundaryEvent id="BoundaryEvent_catchErrors" name="Error Catcher" attachedToRef="Task_1yw3plw">
  <bpmn2:outgoing>SequenceFlow_0t9u8g1</bpmn2:outgoing>
  <bpmn2:errorEventDefinition />
</bpmn2:boundaryEvent>

Example of Start Event

    <bpmn2:subProcess id="SubProcess_0hpeg3q" name="Event Process" triggeredByEvent="true">
      <bpmn2:sequenceFlow id="SequenceFlow_1l0v2kk" sourceRef="StartEvent_catchErrors" targetRef="Task_10xnxy7" />
      <bpmn2:startEvent id="StartEvent_catchErrors" name="Error Catcher for Process">
        <bpmn2:outgoing>SequenceFlow_1l0v2kk</bpmn2:outgoing>
        <bpmn2:errorEventDefinition />
      </bpmn2:startEvent>

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.