How to simulate an Event-Based Gateway in Joget DX?

Maycon Parreira Jardim - 17 Oct, 2025

Hi,

I’m learning Joget DX, coming from Bizagi, where I’m used to working 100% with BPMN.

In Bizagi, there’s an Event-Based Gateway, which is like an exclusive gateway but waits for events instead of checking data — for example, receiving a message, a condition becoming true, or a timer being reached.

The first event that happens drives the process forward, and the other paths are automatically discarded. It’s not used for synchronization.

Since I’m still learning Joget, I’m wondering if there’s a native way to model this, or if I need scripting (Beanshell / JSON Tool) to achieve it.

workflow

1


02 Nov, 2026 •
stevenr •
0 •
mayconpjardim •

To simulate an Event-Based Gateway, you can use a combination of conditional logic with the BeanShell scripting or JSON Tool in Joget DX. This approach allows you to wait for specific events like messages, conditions, or timers, and trigger the first matched path while automatically discarding others.

Joget DX does not natively provide an Event-Based Gateway similar to BPMN's feature in Bizagi. However, the flexibility of Joget's process design and integration interfaces allows simulating such behavior using script-based tools to handle event logic and decision-making dynamically.

1. Identify Conditions or Events: Determine what specific events (e.g., messages received or conditions met) will act as triggers in your process.

2. Use Decision Tool: Utilize the Beanshell or JSON Tool in your Joget process to implement conditional logic. These tools can evaluate incoming data and decide which path to take.

3. Configure Conditional Paths: Set up your process with conditional transitions, where different branches are evaluated based on your script outputs.

4. Handle Event Synchronization: Implement checks within your scripts to ensure only the first triggered path proceeds, and others are ignored.

Notes
  • While this approach simulates the behavior of an Event-Based Gateway, it requires custom scripting and careful configuration to manage triggers properly.
  • Ensure that any scripts used are robust and handle potential exceptions or unexpected inputs to prevent process errors.
RELATED QUESTIONS

Your answer


To answer a question you'll need an account.

Print