Add Wait State

Learn about using the Wait state in a workflow.

The Wait state is used to introduce a delay in the execution of a workflow for a specified amount of time. It can be useful for scenarios where we need to wait for a certain process to complete or for specific conditions to be met. In our sweets-making process, we'll use the Wait state to simulate the time it takes for the mixing of ingredients to be completed.

Using the Wait state in ingredient mixing state

We'll introduce a Wait state after the Map ...