Conditional Step Execution
Overview
Section titled “Overview”Workflow steps normally execute in the defined order for the workflow. However, it is often useful to have certain steps only execute if predefined conditions are met. By using the step conditions capability you can control execution based on the following options:
- Variable values
- Table has rows or is empty
- A document or folder exists in Document
- A document or folder is missing in Document
- Table query result
- Date and time conditions are met
For variables or table query result comparisons you can use the following comparisons:
- Equal
- Does not equal
- Contains
- Does not contain
- Starts with
- Ends with
- Greater than
- Less than
- Greater than or equal
- Less than or equal
What is also important to note is that you can have multiple conditions that must be met in order for the step to execute. This provides a powerful tool for controlling exactly when a step should execute.
Adding and Controlling Conditions
Section titled “Adding and Controlling Conditions”To activate and add conditions on a step:
- Find the step you want to add a condition on
- Click the Edit Step Details (pencil) icon
- Scroll to the Condition Checks section, at the bottom of the General tab
- Check the Check Conditions Before Running checkbox to enable the dialog and add conditions.
- In the Condition Checks section on the left, select the “+” to add a New Condition
- Add a condition from the tabbed section on the right
- Repeat steps 5,6 as needed to add all your conditions
Seeing Conditions on the Visual Canvas
Section titled “Seeing Conditions on the Visual Canvas”A step’s conditions are visible from the Visual Canvas without opening the step. The connector that leads into a conditional step is dashed, and carries a small shield at its arrowhead. The dash is what you read when you are zoomed out far enough that the shield is too small to pick out.
Click the shield to open the step with its Condition Checks already scrolled into view — you can also right-click the connector and choose Edit Conditions…, which does the same thing. The shield on the step’s own tile, at the bottom-left, still marks the step as conditional as it always has.
Two cases show no shield on an arrow, by design:
- A step with no incoming connector. A step gated on a date or a variable can sit at the start of a workflow with nothing leading into it. There is no arrow to mark, so only the tile shield appears.
- A step inside a collapsed group. Its tile is folded into the group’s, and the arrow anchors on the group rather than the step, so marking it would attribute the condition to the wrong thing.
A step with several incoming connectors gets one shield, not one per arrow.
What the shield says it checks
Section titled “What the shield says it checks”The shield’s tooltip lists what the step actually checks, rather than only telling you that it checks something:
Table Row Count (sales_2026) > 0 where region = 'EU'Day of Week = Monday (UTC+2)Project Variable (run_mode) = "full"Up to three checks are listed, followed by a count of the rest — …and 2 more checks — so the list stays readable on a step with many conditions. The same summary appears on the step’s own tile shield, which is the only one a step with no incoming connector has.
Selecting the step puts the same list in the Conditions section of the Inspector panel, which is the easier place to read a long one.
A few things to expect from the wording:
- Day and month checks read as names, not the numbers stored against them — Day of Week = Monday, not Day of Week = 3.
- The timezone appears only when it is not UTC, as in (UTC+2) above.
- A filter on a table check is shown after
where, shortened if it is long. - An aggregated comparison says so — Query Value (aggregated sales_2026.amount) >= 100 compares a total across the table, where Query Value (sales_2026.amount) >= 100 compares a single row’s value.
- A document check shows the path but not the account. Two conditions checking the same path in different Document accounts read identically; open the step to tell them apart.
- A table picked from the tree browser shows its name when the workflow reads or writes that table somewhere. If it does not, the check is listed without the table name rather than with an internal identifier.
What the gate would cost you
Section titled “What the gate would cost you”Hover the shield without clicking it, and the canvas outlines the conditional step and everything downstream of it in a dashed highlight — the steps that would not run if that condition blocked. Nothing changes; move the pointer away and the highlight clears. Steps upstream are never highlighted: they run either way.
This is the same preview a disabled group’s disabled chip gives you, with one difference in wording that matters. A disabled group really is off, so its chip says how many steps will skip. A condition is only evaluated when the run reaches it, so the shield says how many steps would not run if the condition blocks. It may well let everything through.
What the shield says about the last run
Section titled “What the shield says about the last run”The shield also reports what happened on the most recent run, so you can trace a finished flow and see where it stopped:
| Shield | Meaning |
|---|---|
| Plain shield | The step is conditional. Either it has not run yet, or it is running now. |
| Shield with a + | The step ran on the last run. |
| Shield with a − | The step did not run on the last run. |
The three are told apart by their shape, not by colour, and the shield’s tooltip spells the state out in words. It updates live while a workflow is running, so you do not need to reload the canvas to watch a run reach a gate.
Managing Conditions
Section titled “Managing Conditions”You can add as many conditions as necessary in the Condition Checks section. As you add them, it is a good idea to give them a useful name so you can find the conditions easily in the future.
Once you add a condition, select it on the left and the condition evaluation criteria will be editable on the right.
To rename a condition, select it and edit the Name field at the top of the Configuration panel on the right — or double-click the condition in the list. You can also right-click a condition for Rename and Delete; Delete is also available from the “−” button above the list.
Variable Conditions
Section titled “Variable Conditions”When checking variable conditions, the Value Check Parameters section must be completed so a comparison can be made.
In the Variable or Table Field fill in the variable name. Select a comparison type and enter a comparison value.
Basic Table Conditions
Section titled “Basic Table Conditions”If the condition is checking whether a table has rows or is empty, you will also need to define the table in the Table Data Selection tab.
Advanced Table Conditions
Section titled “Advanced Table Conditions”When using Advanced Table conditions, the Value Check Parameters section must be completed so a comparison can be made.
In the Variable or Table Field fill in the field name from the table selection. Select a comparison type and enter a comparison value.
In the Table Data Selection tab, select the table and complete the data mapping section with at least the field referenced for the condition comparison.
Document Path Conditions
Section titled “Document Path Conditions”If the condition is checking whether a document or folder exists, this requires picking the Document account and specifying the document path to check in the Document Path tab.
Date and Time Conditions
Section titled “Date and Time Conditions”For Date or Time selections you can add multiple conditions if a combination of conditions is necessary. For example, if you only wanted a step to run on Mondays at 2:05am, you would create three conditions:
- Day of the week condition set to Monday (1)
- Hour of the day set to 2
- Minute of the hour set to 5
Timezone Offset
Section titled “Timezone Offset”Each Date and Time condition carries its own Timezone Offset, listed as a whole-hour offset named after a representative zone — for example Eastern Time (US & Canada) (UTC -5) or Asia/Tokyo (UTC +9). The times you enter are compared against the clock in that zone.
A new condition starts on the offset your browser reports, so in most cases you can leave it alone. Set it deliberately when the schedule belongs to somewhere other than where you are — a close that runs on the finance team’s clock, say. Only whole hours are available, so a half-hour zone such as India (UTC +5:30) has to be rounded to the nearest whole hour.
A condition saved before this setting took effect keeps evaluating against UTC until you pick a zone for it, so existing conditions carry on behaving exactly as they did.
Financial Close Workday
Section titled “Financial Close Workday”For Use Financial Close Workday, the count starts at 0 for the 1st of the month — as the hint beside the field says. So a close that happens on the 5th day of the month is 4, not 5.
Setting Conditions With an AI Assistant
Section titled “Setting Conditions With an AI Assistant”An AI assistant connected to your workspace can add and change a step’s conditions for you, whether it is creating the step or editing one you already have. Every condition type described earlier is available to it except Check Financial Close Workday: an assistant can write that one, but it never matches, so the assistant warns you instead of letting it pass unnoticed. Set that one on the Conditions tab yourself.
Three things work differently from editing conditions by hand:
- The whole list is replaced each time. Ask for one condition to be added or changed and the assistant sends the full list, so any condition it leaves out is removed. If you are not certain it has them all, ask it to list the step’s current conditions before it writes.
- A condition that cannot be evaluated is refused. A condition that does not say what it checks is rejected instead of saved, and the step keeps the conditions it already had. Fix the request and ask again.
- An incomplete condition is saved, with a warning. A condition missing the value to compare against, or conditions added without Check Conditions Before Running ticked, are stored and reported back as a warning. Open the Conditions tab and finish them, or the step does not behave as you asked.
An assistant can also set the step’s lock, its visibility in the Manager and Explorer views, its retry settings, and the step to go to on error.