wait>: Wait for a specific duration

wait> operator waits a specific duration in the workflow.

This operator provides a reliable way to introduce delays in workflows and works in both blocking and non-blocking modes while being available even in security-restricted environments.

Copy
Copied
+wait_10s:
  wait>: 10s

Options

  • wait> : DURATION

    Duration to wait.

  • poll_interval : DURATION

    If this option is set, Workflow server internally gets awake and checks at a specific interval if the duration has passed. If not set, Workflow server gets awake only when a specific duration passes. Note that this value is a reference value, and there is no guarantee that polling will occur at exactly this interval.

    Examples:

    Copy
    Copied
    poll_interval: 30s