Loop Until

Logic

Description

Loop Until is an action that executes a series of actions repeatedly until a condition is met.

Instructions

Inputs


NameDescription
ConditionAll of the following conditions must be met
Delay between loopsSpecify the delay between each loop. Delay begins after the last action completes.
Maximum loopsLimit the number of loops. If left blank, defaults to 20.
ActionsThe actions to repeatedly execute until the condition is met
  1. In the section All of the following conditions must be met, specify what conditions must be met for loop execution to halt.
  • Note: The Loop Until action will not automatically terminate when an incident is resolved. If you’d like to halt a loop at resolution, you should define a condition that specifies: Field = “Status”, Operator = “Matches”, Value = “Resolved”.
  1. In the section Delay between loops, specify how long to delay between each loop of the action. Duration format is XXd XXh XXm.
  • The minimum value is 5m and maximum value is 365d.
  1. In the section Maximum loops, specify the maximum number of times the loop should executed if the condition has not yet been met.
  • The minimum value is 1 and maximum value is 1000.
Loop until example

Loop until example

  1. When you are done adding conditions and specifying the delay and maximum values, click Save.
  2. Click Add Action in the condition to configure the actions that will execute until the condition(s) have been met. Please refer to each action's documentation (available in left menu or via search) for more information.

Outputs

NameDescription
ResultFinal status
Result SummaryDescription of the status
Condition SatisfiedWhether the loop was ended because the condition was evaluated as true
Loops CompletedHow many loops were completed before exiting
ErrorBrief description that is populated if the action failed