Posts

Showing posts with the label Event-Based Gateway

jBPM Workflow Tutorial: ⏳ Event-Based Gateway

  🚀 Introduction The ⏳ Event-Based Gateway in jBPM is used when the process must wait for external events before continuing. Unlike ❌ Exclusive or 🟢 Inclusive Gateways, which rely on data conditions , the Event-Based Gateway listens for events such as: 📩 Message Events ⏰ Timer Events 🔔 Signal Events It then follows the path of the event that occurs first . 🛠️ Prerequisites 💻 jBPM/Business Central & KIE Server installed ☕ JDK 11+ (or JDK 17) 🌐 Access: http://localhost:8080/business-central 🔔 Basic understanding of events in BPMN2 (Message, Timer, Signal) 📝 Step 1: Create a New Process 🔑 Log in to Business Central 📂 Create a project: event-gateway-demo ➕ Add Business Process: EventGatewayProcess Id: com.example.eventgateway Package: com.example 🎨 Step 2: Design the Workflow 🔵 Add a Start node ⏳ Add an Event-Based Gateway 📩 Add an Intermediate Message Catch Event (Wait for customer response) ⏰ A...