Connections
Connections (edges) define how work items move from one node to the next.
Drawing a connection
- Select the Connect tool from the toolbar (or press
C). - Drag from the output handle of the source node to the input handle of the target node.
Routing modes
When a node has multiple outgoing connections, you choose how work items are distributed:
| Mode | Behavior |
|---|---|
| Probabilistic | Each connection has a probability weight (0–1). Work items are routed randomly according to those weights. Weights must sum to 1. |
| Conditional | Each connection has a boolean expression. The first connection whose condition evaluates to true is taken. |
Probability weights
Set weights in the connection properties panel. For example, if 70% of items go to "Approve" and 30% go to "Reject":
- Approve connection:
0.7 - Reject connection:
0.3
Conditional routing (Router nodes)
For condition-based routing, add a Router node (available in the node type selector). A Router evaluates expressions in order and routes to the first matching branch. Expression syntax uses standard arithmetic and comparison operators.
Deleting a connection
Select the connection by clicking on it, then press Delete or Backspace.