BPMN Event Subprocess Explained with Real Example
In BPMN workflows, sometimes you must react to an event without breaking the main process flow . Example: Customer cancels order while approval is ongoing Payment timeout occurs SLA deadline exceeded Emergency escalation This is solved using an Event Subprocess . 📌 What is an Event Subprocess? An Event Subprocess is a subprocess triggered by an event inside a running process instance . It can: Interrupt the current flow Or run in parallel It does NOT require sequence flow connection. đź–Ľ️ Event Subprocess Diagram 4 đź§ Why Not Just Use Boundary Events? Boundary Event → attached to a task Event Subprocess → attached to entire process So event subprocess listens globally. 🔥 Types of Event Subprocess There are two main types: 1️⃣ Interrupting Event Subprocess When triggered: 👉 Stops current workflow path Used for: Order cancellation Fraud detection Emergency stop Behavior Process tokens inside scope are cancelled. 2️⃣ Non-Interrupting Event Subprocess When triggered: 👉 Runs parall...