Wait Task
The WAIT task is a no-op task that will remain IN_PROGRESS
until after a certain duration or timestamp, at which point it will be marked as COMPLETED
.
Configuration
The WAIT
task is configured using either duration
or until
in inputParameters
.
inputParameters
name | type | description |
---|---|---|
duration | String | Duration to wait for |
until | String | Timestamp to wait until |
Wait For time duration
Format duration as XhYmZs
, using the duration
key.
Wait until specific date/time
Specify the timestamp using one of the formats, using the until
key.
yyyy-MM-dd HH:mm
yyyy-MM-dd HH:mm z
yyyy-MM-dd
External Triggers
The task endpoint POST {{ api_prefix }}/tasks
can be used to update the status of a task to COMPLETED prior to the configured timeout. This is
same technique as prescribed for the HUMAN task.
For cases where no timeout is necessary it is recommended that you use the HUMAN task directly.