Skip to main content Skip to docs navigation

State Guard

Configure guard rules that test statuses of previous steps. If the guard matches, the current step runs; otherwise the selected fallback is applied.

On this page
State Guard

State Guard - Available from the second Step onward because the first step has no

previous status to check. - Can reference any earlier step, not just the immediately previous one.

State Guard modal

Use the conditions grid to define how the current step should react to the results of previous steps. When the combined guard evaluates to true, the step runs. When it evaluates to false, a fallback option is applied.

Conditions

Define one or more rows that evaluate the status of earlier steps. Combine rows with logical operators AND and OR.

Columns:

  • OPR: Operator that combines this row with the previous one (AND or OR). Defaults to AND.
  • Previous Step: The earlier Step whose status you want to check.
  • Result: The status to compare against (DONE or SKIPPED).
  • Controls: Add or remove condition rows.

Status semantics:

  • A step is DONE when it completed successfully.
  • A step is SKIPPED when it was skipped because of its own conditions or flow control.

When you have multiple rows, the OPR controls how they are combined. Truth table examples:

Step 1 status resultOPRStep 2 status resultResult
trueORtruetrue
trueORfalsetrue
falseORtruetrue
falseORfalsefalse
trueANDtruetrue
falseANDfalsefalse
trueANDfalsefalse
falseANDfalsefalse

What should happen if the rule is not met?

If the combined guard evaluates to false, select one of the fallback options shown in the modal:

  • Stop Automation — end the workflow and do not execute further steps.
  • Skip This Step — move to the next step.
  • Refresh & Retry — reload the current page and continue according to the automation flow.
  • Go to Step — jump to a specific step in the list.

Behavior summary:

Conditions matched?Selected optionResult
trueProcess Step
falseStop AutomationStop Automation
falseSkip This StepSkip This Step
falseRefresh & RetryRefresh the page
falseGo to StepGo to specified step