BPMN element · Events

Error Event

Definition

An Error Event is a BPMN element used to handle unexpected technical or operational failures in a process. It ensures that workflows can adapt dynamically by redirecting activities to resolve the issue or trigger corrective actions.

Characteristics

  • Error Handling Mechanism: Error events catch predefined errors and redirect the workflow to a resolution path.
  • Interrupting Behavior: Most error events interrupt the ongoing activity to prioritize recovery actions.
  • Specific Scenarios: Errors are defined explicitly, such as system failures, data mismatches, or invalid inputs.
  • Types of Error Events:
    • Start Error Event: Initiates a process or subprocess in response to an error occurring outside the primary workflow.
    • Boundary Error Event: Attached to a specific activity, it interrupts the activity upon encountering an error and triggers a recovery subprocess.
    • End Error Event: Marks the end of a process due to an error and signals the failure to downstream workflows or stakeholders.

Example

Everyone knows this situation, you’re checking out online, everything’s in the cart, and then… payment failed. At QuickCart Online Store, the system tries to process the payment through the usual provider. But if something goes wrong, maybe the card’s expired or the bank throws a tantrum, an Error Event is triggered. Instead of crashing the whole flow, the process smoothly redirects: the customer gets a friendly “Payment Failed” message and the chance to try again or switch methods. It’s a graceful recovery from a common hiccup, because even digital shopping needs a plan B.