| title | Wait activity |
|---|---|
| description | The Wait activity for Data Factory pipelines in Microsoft Fabric waits a specified interval before continuing execution. |
| ms.reviewer | makromer |
| ms.topic | how-to |
| ms.custom | pipelines |
| ms.date | 11/15/2023 |
When you use a Wait activity in a pipeline, the pipeline waits for the specified period of time before continuing with execution of subsequent activities.
To get started, you must complete the following prerequisites:
[!INCLUDEbasic-prerequisites]
To use a Wait activity in a pipeline, complete the following steps:
-
Create a new pipeline in your workspace.
-
Search for Wait in the pipeline Activities pane, and select it to add it to the pipeline canvas.
:::image type="content" source="media/wait-activity/add-wait-activity-to-pipeline.png" alt-text="Screenshot of the Fabric UI with the Activities pane and Wait activity highlighted.":::
-
Select the new Wait activity on the canvas if it isn't already selected.
:::image type="content" source="media/wait-activity/wait-activity-general-settings.png" alt-text="Screenshot showing the General settings tab of the Wait activity.":::
Refer to the General settings guidance to configure the General settings tab.
Select the Settings tab of the Wait activity. Specify a number of seconds for execution to wait before continuing. You can directly enter a number, or use a dynamic expression to derive a value from any of the available functions and variables for expressions.
:::image type="content" source="media/wait-activity/wait-activity-settings.png" alt-text="Screenshot showing the Wait activity Settings tab.":::
This example will simply wait the specified period and terminate, although in a real-world setting, you would normally add other activities after or before the Wait activity to achieve a more productive purpose. When your pipeline is complete, you can save, run, or schedule it.
[!INCLUDEsave-run-schedule-pipeline]