Loop Until
Logic
Description
Loop Until is an action that executes a series of actions repeatedly until a condition is met.
Instructions
Inputs
| Name | Description |
|---|---|
| Condition | All of the following conditions must be met |
| Delay between loops | Specify the delay between each loop. Delay begins after the last action completes. |
| Maximum loops | Limit the number of loops. If left blank, defaults to 20. |
| Actions | The actions to repeatedly execute until the condition is met |
- 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”.
- 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.
- 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
- When you are done adding conditions and specifying the delay and maximum values, click Save.
- 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
| Name | Description |
|---|---|
| Result | Final status |
| Result Summary | Description of the status |
| Condition Satisfied | Whether the loop was ended because the condition was evaluated as true |
| Loops Completed | How many loops were completed before exiting |
| Error | Brief description that is populated if the action failed |
Updated 7 days ago
