Skip to content

Latest commit

 

History

History
51 lines (30 loc) · 2.32 KB

File metadata and controls

51 lines (30 loc) · 2.32 KB
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

Use the Wait activity to control execution flow

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.

Prerequisites

To get started, you must complete the following prerequisites:

[!INCLUDEbasic-prerequisites]

Add a Wait activity to a pipeline with UI

To use a Wait activity in a pipeline, complete the following steps:

Create the activity

  1. Create a new pipeline in your workspace.

  2. 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.":::

  3. 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.

Wait activity settings

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.":::

Save and run or schedule the pipeline

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]

Related content