Loop Until

Logic

📘

Availability

This workflow action is available on our Enterprise plan for Incident Management. Please contact our Sales Team to upgrade to an account with this action.

Description

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

Instructions

  1. If you have not done so already, please follow our instructions to Create an Incident Workflow.
  2. When you are prompted to add actions , select this action.
  3. Enter the following Inputs and then click Save. Continue following instructions to Publish the Workflow. When the action runs, you will see the Outputs listed below.

Inputs

📘

Field References

Fields with the {+} icon accept Field References, which can be useful for referencing incident data or outputs created in prior workflow steps. To add Field References, click {+}, or enter {{, and select relevant fields. Please see our Field References article for more information.


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