secondsnumberHow long. Positive, 86 400 at most.
untilstringA date, instead of a duration.
One of the two is required. A duration longer than a day is refused with the reason: past that, what is wanted is a scheduled trigger.
{ id: "settle", type: "wait", config: { seconds: 120 } }{"id": "settle", "type": "wait", "config": {"seconds": 120}}What it is for
- Letting a certificate become active after a host is created.
- Giving an external service time to finish something a webhook announced.
- Spacing out calls to a service that rate-limits.
Output
{{steps.settle.output.waitedSeconds}}
{{steps.settle.output.waitedUntil}}"{{steps.settle.output.waitedSeconds}}"
"{{steps.settle.output.waitedUntil}}"It is not a poll
A wait does not check anything
It pauses. To wait for a condition, follow it with the step that checks and a condition that branches — a wait followed by a check is a poll; a wait alone is a guess.
It cannot be a loop body
Nor can a condition, a switch, a merge, a human step or another loop: those live in the graph. A loop repeats one step that does work.