Posts

Showing posts with the label bpmn event subprocess

BPMN Event Subprocess expliqué avec exemple réel

Image
Dans un workflow BPMN, il arrive qu’un Ă©vĂ©nement doive ĂŞtre traitĂ© sans casser le flux principal . Exemples : Un client annule une commande pendant l’approbation Un paiement expire Un SLA est dĂ©passĂ© Une escalade urgente est dĂ©clenchĂ©e Pour cela, on utilise un Event Subprocess . 📌 Qu’est-ce qu’un Event Subprocess ? Un Event Subprocess est un sous-processus dĂ©clenchĂ© par un Ă©vĂ©nement Ă  l’intĂ©rieur d’une instance en cours d’exĂ©cution . Il peut : Interrompre le processus Ou s’exĂ©cuter en parallèle Il n’a pas besoin de sĂ©quence entrante. đź–Ľ️ Diagramme Event Subprocess 4 đź§  Pourquoi pas un Boundary Event ? Boundary Event → attachĂ© Ă  une tâche Event Subprocess → attachĂ© Ă  tout le processus Donc l’event subprocess Ă©coute globalement. 🔥 Types d’Event Subprocess 1️⃣ Interrupting Event Subprocess Lorsqu’il est dĂ©clenchĂ© : 👉 Le flux principal s’arrĂŞte UtilisĂ© pour : Annulation de commande DĂ©tection fraude ArrĂŞt d’urgence 2️⃣ Non-Interrupting Event Subprocess Lorsqu’il est dĂ©clenchĂ© : 👉 Le fl...

BPMN Event Subprocess Explained with Real Example

Image
 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...