- Introduction to UiPath Maestro™
- Getting started
- Maestro landing page
- Process modeling
- Process implementation
- Process operations
- Process monitoring
- Process optimization
- Licensing
- Reference information

Maestro user guide
Sequence flows
linkA sequence flow in BPMN shows the order in which flow elements—such as tasks, events, and gateways—are executed in a process. In Maestro, sequence flows represent the control logic that drives agentic behavior, transitions between steps, and branching logic based on conditions or rules.
In UiPath Maestro™, sequence flows are not just visual links—they orchestrate how work moves between agents, robots, and humans. When testing or executing a process, sequence flows guide the runtime engine on which task to activate next and under what conditions.
Sequence flows are used to:
- Connect all executable elements (tasks, gateways, events).
- Control branching after decision points.
- Specify default or fallback paths.
- Attach conditional logic to determine routing at runtime.
What are sequence flows?
linkA sequence flow in BPMN shows the order in which flow elements—such as tasks, events, and gateways—are executed in a process. In Maestro, sequence flows represent the control logic that drives agentic behavior, transitions between steps, and branching logic based on conditions or rules.
In UiPath Maestro™, sequence flows are not just visual links—they orchestrate how work moves between agents, robots, and humans. When testing or executing a process, sequence flows guide the runtime engine on which task to activate next and under what conditions.
Sequence flows are used to:
- Connect all executable elements (tasks, gateways, events).
- Control branching after decision points.
- Specify default or fallback paths.
- Attach conditional logic to determine routing at runtime.
Types of sequence flows
linkMaestro supports the following types of sequence flows:
Type | Description |
---|---|
Unconditional | A flow with no conditions—always followed if reached. |
Conditional | Contains an expression that must evaluate to true for the flow to be taken (typically after a gateway). |
Default flow | The fallback flow from a gateway if no other conditions are met. Default flows are marked with a slash. |
Conditional expressions
linkConditional sequence flows support simple or complex logic based on:
-
Input variables
-
Rule results (DMN)
-
Runtime values passed through the process
For example, after an exclusive gateway:
- Flow A:
amount > 10000
amount > 10000 - Flow B (default): No condition
Best practices in Maestro
link- Connect every element with sequence flows—floating tasks or gateways break execution.
- Label conditional flows for clarity during testing or handoff.
- Use default flows with exclusive gateways to ensure predictable behavior.
- Modularize complex logic using sub-processes and keep branching shallow when possible.
Summary
linkSequence flows are the backbone of process logic in Maestro. They control how tasks are routed, when agents act, and what conditions trigger each path. Proper use of sequence flows makes your process predictable, testable, and easier to monitor in production.