Skip to main content
Version: 3.0.0

Handling decisions in the flow

To add business decisions in the flow and use them to pick between a flow branch or another, we can use exclusive gateways.

Exclusive Gateway

Steps for creating a flow with exclusive branchesโ€‹

To create flow with exclusive branches:

  1. Open FLOWX Designer and go to the Definitions tab.
  2. Click on the New process button, using the breadcrumbs from the top-right corner.
  3. Add a start node and an exclusive gateway node.
  4. Add two different task nodes and link them after the exclusive gateway node.
  5. Add a new exclusive gateway to merge the two flow branches back into one branch.
  6. Add a new rule to a node to add a business decision, for example:
  • select a scripting language from the dropdown
  • input.get("application.client.creditScore") >= 700 โ† proceed to node for premium credit card
  • input.get("application.client.creditScore") < 700 โ† proceed to node for standard credit card
  1. Add a closing exclusive gateway to continue the flow.
  2. Add and end node.

For business rules, you need to check certain values from the process and pick an outgoing node in case the condition is met. The gateway node must be connected to the next nodes before configuring the rule.

Visual Guide Exclusive Gateway

ยปExclusive Gateway Node

Was this page helpful?