Wait task

Use a Wait task when execution must pause before the next route, such as checking an asynchronous API again after allowing time for its work to finish.

wait-configuration.png

Choose exactly one configuration: fixed duration in seconds, duration expression, fixed timestamp, or timestamp expression. When it runs, the workflow waits until that duration or time. Ensure expressions return a valid value and the selected time will not already be past.

For example, use Wait to pause until a scheduled review window. Do not use it to wait for a person to respond. Use a Page-backed Simple task for work a person must complete.

Field

Required

Default Value

Description

Wait for duration in seconds

Exactly one wait field

N/A

Sets a fixed number of seconds to pause before the next route. The minimum is 30 seconds.

Wait for duration in seconds with expression

Exactly one wait field

N/A

Evaluates an expression to a whole number of at least 30 seconds. Use it when the duration depends on data available on this path.

Wait until an absolute time

Exactly one wait field

N/A

Sets the exact time at which execution continues.

Wait until an absolute time with expression

Exactly one wait field

N/A

Evaluates an expression to the time at which execution continues. Use it when the target time depends on current workflow data.

Example: delay a follow-up

For a task named Wait before follow-up, start with {"requestId":"REQ-104","delaySeconds":60}. Map both fields from workflow input into the task's Input Parameters. Fill only Wait for duration in seconds with expression, using ${delaySeconds}; leave the other three options blank. The workflow continues after at least that delay, subject to normal scheduling and any pause.

With these explicit Input Parameters, the Wait task passes that mapped object onward. It does not create a new approval decision. The next Email can use ${requestId} from that input. Use a whole-number duration of at least 30 seconds, or one future timestamp when a fixed time is needed. If an expression resolves to text instead of a number, correct the source data rather than increasing retries. Include the delay in the workflow's overall timeout. For a person's response, use Simple instead of polling with Wait.

Example

Choose exactly one: seconds (whole number at least 30), secondsExpression (one complete expression returning such a number), timestamp (future UTC date-time), or timestampExpression (one complete expression returning a future timestamp). Other timing fields remain absent/null/blank as appropriate. No retry block belongs to Wait.

Configure the example using its visible controls:

Select Wait Task and open Configuration. For this fixed five-minute pause, enter 300 in Wait for duration in seconds and leave the other three timing choices blank. Input and output below demonstrate the data passed through the pause.

example-wait-task.png

Input

Captured task data after Input Parameters mapping:

{
  "requestId": "REQ-104"
}

Output

Captured task input is returned unchanged after the delay. Values and Map item context are captured before waiting; they are not recalculated when the timer finishes. No result wrapper is added.

Raw task output:

{
  "requestId": "REQ-104"
}

When something goes wrong: Return a number, not numeric text, for duration expressions; use a future timestamp for an absolute wait. Missing or wrongly typed values fail instead of silently skipping the wait.

A following task can map this value: ${['Wait before retry'].output.requestId}.