Skip to main content

How to control flow execution order with Run rules

The order that flows run in doesn’t always matter, but when it does — for example, when you want to run quick sanity checks before longer or more complex flows — you can set that sequence with Run Rules.Each Run Rule defines one before set and one after set of flows. You can choose which flows belong in each set — either pick them by name or include them using their groups or tags.
1
From the Runs tab, click Rules (under Scheduled).
2
You’ll see a list of existing rules for your workspace.
3
Click Create Rule to open a drawer where you will define the rule.
4
Click Create Rule to define which flows, groups, or tags should run before and after the others.
5
Click the Fail workflows if any priors fail toggle to automatically skip downstream flows when an earlier flow fails. This option is enabled by default.
Use Fail workflows if any priors fail when failures in an earlier set of tests (for example, sanity tests) make later tests likely to fail for the same reason. Skipping those later tests reduces noise, shortens run time, and keeps the failure list focused on the root cause.
Only active flows execute in a run. Drafts are ignored even if they’re part of a rule.
Create as many rules as you need. For example, if you want flows to run A → B → C, create two rules:
  • Run A before B
  • Run B before C
The UI prevents most circular setups, but it’s still good practice to double-check your before/after sets.

How to manage run rules

To see all the rules you have created:

1
Open the Runs tab and click Rules from the lower left.

To edit a run rule:

1
Click the icon to the right of the rule, then click Edit. A drawer opens where you can edit your rule.
Last modified on March 26, 2026