Wait States
The Wait state ("Type": "Wait"
) waits either a fixed number of seconds or
until some deadline is reached.
Wait states may contain either a number of seconds to wait, or a timestamp to act as the deadline.
Fields
The following fields are the valid parameters to a Wait state.
Seconds
-
A number of seconds to wait.
Timestamp
-
A deadline, after which the run should resume.
SecondsPath
-
A JSONPath expression indicating a source in the run's current data for the
Seconds
field. TimestampPath
-
A JSONPath expression indicating a source in the run's current data for the
Timestamp
field. Next
-
The string name of the next state.
End
-
If set to
true
, the run terminates with a success after reaching this state and waiting.
Either "End": true
or Next
must be set.
Exactly one of Seconds
, Timestamp
, SecondsPath
, and TimestampPath
must
be specified.