> ## Documentation Index
> Fetch the complete documentation index at: https://docs.fastgen.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Time Delay

**Pause workflow execution for a specific amount of time.**

<img src="https://mintcdn.com/organa/IAAgt4Qjpzo5KMmv/images/time-delay-flow-control-header.webp?fit=max&auto=format&n=IAAgt4Qjpzo5KMmv&q=85&s=61d1d67225a3cc7345421da3ae2eae62" alt="switch-flow-control-header" width="3240" height="1808" data-path="images/time-delay-flow-control-header.webp" />

## Overview

The "Time Delay" action block pauses the workflow until a certain time has passed. The workflow will then be in a `Running` state and you will be able to cancel the execution by using the `Stop Flow` button within the debug mode or the Logs page.

If the given time duration is negative, it will just continue executing.

### Example

<img width="350" height="350" src="https://mintcdn.com/organa/IAAgt4Qjpzo5KMmv/images/time-delay-example.webp?fit=max&auto=format&n=IAAgt4Qjpzo5KMmv&q=85&s=27438ba601a7dd996fb5aa0e8bc8e330" data-path="images/time-delay-example.webp" />

You are able to set any time delay between `Minutes` and `Years`.

### Output

```json theme={null}
{
    "resume_at": "2023-10-28T12:13:05Z", // the point in time when the execution will resume (time format: RFC3339)
    "Formatted": "Sat, 28 Oct 2023 12:13:05 UTC", // same as `resume_at` but in a more nicely formatted way (time format: RFC1123)
}
```
