The Exclusive Gateway node routes the workflow down exactly one path based on conditions. At runtime, the workflow evaluates each output link in order and follows the first one whose condition is met. If no condition is met, the Error Message displays. Use it for if/else branching logic where only one outcome should ever run.
Unqork provides three gateway node types for branching paths:
- Exclusive Gateway node: Follows exactly one path—the first output link whose condition is met. Use for if/else logic.
- Inclusive Gateway Split node: Follows one or more paths—all output links whose conditions are met run in parallel. Use when multiple conditions might be true at the same time.
- Parallel Gateway Split node: Follows all paths simultaneously—no conditions required. Use when every branch must always run.
How to read settings tables
The tables below describe each configurable option as it displays in the Unqork IDE. Values are formatted as follows:
inline code— a value to type exactly as shown | Bold — a value selected from a drop-down, radio button, tab, or choice chip | ON/OFF — toggle state | ✓ — checkbox checked | ☐ — checkbox unchecked
Settings
| Setting | Field | Type | Default | Description |
|---|---|---|---|---|
| Label | label |
Text input | exclusive-gateway-{n} |
A display name for the node. |
| Error Message | errorMessage |
Text input | — | The message displayed when no output link condition is met. |
| Output Links | — | — | — | Conditions are configured on the output links connecting from this node. Each link is evaluated in order at runtime. |
Link Settings
When you click an output link connecting from this node, the settings panel displays settings specific to this link type. For the full reference, see Output Links.
| Setting | Field | Type | Default | Description |
|---|---|---|---|---|
| Label | label |
Text input | — | A display name for the link. |
| Status | status |
Text input | — | A descriptive label for the path this link represents. Use it to identify which route the workflow took, for example, Approved or Rejected. |
| Condition | formula |
Text input | — | The expression evaluated to determine whether the workflow follows this link. |
| Default | defaultPath |
Toggle | OFF | When set to ON, this setting marks this link as the fallback path when no other condition is met. Unique to Exclusive Gateway node links. |
| Unidirectional | uni |
Toggle | OFF | When set to ON, this setting lets the workflow proceed without waiting for this path to complete. |
| Use Flash Message | useFlashMessage |
Toggle | OFF | When set to ON, this setting displays a notification to end-users when the workflow follows this link. |
| ↳ Flash Message | flashMessageText |
Text input | — | The notification message to display. Visible when Use Flash Message is ON. |
| ↳ Make Flash Message Dismissable | flashMessageDismissable |
Checkbox | ☐ | When checked, this setting lets end-users dismiss the notification. Visible when Use Flash Message is ON. |
| ↳ Message Status | flashMessageStatus |
Drop-down | — | The visual style of the notification. Options include: Success, Info, or Danger. Visible when Use Flash Message is ON. |
Connection Rules
The Exclusive Gateway node requires at least two output links. Workflows with fewer than two paths are invalid.
Changelog
| Date | Change |
|---|---|
| — | Initial publication. |