You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/data-factory/how-to-create-schedule-trigger.md
+26-18Lines changed: 26 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,38 +26,46 @@ The following sections provide steps to create a schedule trigger in different w
26
26
You can create a **schedule trigger** to schedule a pipeline to run periodically (hourly, daily, etc.).
27
27
28
28
> [!NOTE]
29
-
> For a complete walkthrough of creating a pipeline and a schedule trigger, associating the trigger with the pipeline, and running and monitoring the pipeline, see [Quickstart: create a data factory using Data Factory UI](quickstart-create-data-factory-portal.md).
29
+
> For a complete walkthrough of creating a pipeline and a schedule trigger, which associates the trigger with the pipeline, and runs and monitors the pipeline, see [Quickstart: create a data factory using Data Factory UI](quickstart-create-data-factory-portal.md).
30
30
31
-
1. Switch to the **Edit** tab.
31
+
1. Switch to the **Edit** tab, shown with a pencil symbol.
32
32
33
33

34
-
1. Click **Trigger** on the menu, and click **New/Edit**.
34
+
35
+
1. Select **Trigger** on the menu, then select **New/Edit**.
2. In the **Add Triggers** page, click **Choose trigger...**, and click **New**.
38
+
39
+
1. On the **Add Triggers** page, select **Choose trigger...**, then select **+New**.
38
40
39
41

40
-
3. In the **New Trigger** page, do the following steps:
42
+
43
+
1. On the **New Trigger** page, do the following steps:
41
44
42
45
1. Confirm that **Schedule** is selected for **Type**.
43
-
2. Specify the start datetime of the trigger for **Start Date (UTC)**. It's set to the current datetime by default.
44
-
3. Specify **Recurrence** for the trigger. Select one of the values from the drop-down list (Every minute, Hourly, Daily, Weekly, and Monthly). Enter the multiplier in the text box. For example, if you want the trigger to run once for every 15 minutes, you select **Every Minute**, and enter **15** in the text box.
45
-
4. For the **End** field, if you do not want to specify an end datetime for the trigger, select **No End**. To specify an end date time, select **On Date**, and specify end datetime, and click**Apply**. There is a cost associated with each pipeline run. If you are testing, you may want to ensure that the pipeline is triggered only a couple of times. However, ensure that there is enough time for the pipeline to run between the publish time and the end time. The trigger comes into effect only after you publish the solution to Data Factory, not when you save the trigger in the UI.
46
+
1. Specify the start datetime of the trigger for **Start Date (UTC)**. It's set to the current datetime by default.
47
+
1. Specify **Recurrence** for the trigger. Select one of the values from the drop-down list (Every minute, Hourly, Daily, Weekly, and Monthly). Enter the multiplier in the text box. For example, if you want the trigger to run once for every 15 minutes, you select **Every Minute**, and enter **15** in the text box.
48
+
1. For the **End** field, if you do not want to specify an end datetime for the trigger, select **No End**. To specify an end date time, select **On Date**, and specify end datetime, then select**OK**. There is a cost associated with each pipeline run. If you are testing, you may want to ensure that the pipeline is triggered only a couple of times. However, ensure that there is enough time for the pipeline to run between the publish time and the end time. The trigger comes into effect only after you publish the solution to Data Factory, not when you save the trigger in the UI.
4. In the **New Trigger** window, check the **Activated** option, and click **Next**. You can use this checkbox to deactivate the trigger later.
51
+
52
+
1. In the **New Trigger** window, select **Yes** in the **Activated** option, then select **OK**. You can use this checkbox to deactivate the trigger later.
49
53
50
54

51
-
5. In the **New Trigger** page, review the warning message, and click **Finish**.
55
+
56
+
1. In the **New Trigger** window, review the warning message, then select **OK**.
6. Click **Publish** to publish changes to Data Factory. Until you publish changes to Data Factory, the trigger does not start triggering the pipeline runs.
59
+
60
+
1. Select **Publish all** to publish the changes to Data Factory. Until you publish the changes to Data Factory, the trigger doesn't start triggering the pipeline runs.
8. Switch to the **Monitor** tab on the left. Click **Refresh** to refresh the list. You see the pipeline runs triggered by the scheduled trigger. Notice the values in the **Triggered By** column. If you use **Trigger Now** option, you see the manual trigger run in the list.
63
+
64
+
1. Switch to the **Pipeline runs** tab on the left, then select **Refresh** to refresh the list. You will see the pipeline runs triggered by the scheduled trigger. Notice the values in the **Triggered By** column. If you use the **Trigger Now** option, you will see the manual trigger run in the list.
@@ -107,31 +115,31 @@ This section shows you how to use Azure PowerShell to create, start, and monitor
107
115
- The trigger is associated with the **Adfv2QuickStartPipeline** pipeline. To associate multiple pipelines with a trigger, add more **pipelineReference** sections.
108
116
- The pipeline in the Quickstart takes two **parameters** values: **inputPath** and **outputPath**. Therefore, you pass values for these parameters from the trigger.
109
117
110
-
2. Create a trigger by using the **Set-AzDataFactoryV2Trigger** cmdlet:
118
+
1. Create a trigger by using the **Set-AzDataFactoryV2Trigger** cmdlet:
6. Get the trigger runs in Azure PowerShell by using the **Get-AzDataFactoryV2TriggerRun** cmdlet. To get the information about the trigger runs, execute the following command periodically. Update the **TriggerRunStartedAfter** and **TriggerRunStartedBefore** values to match the values in your trigger definition:
142
+
1. Get the trigger runs in Azure PowerShell by using the **Get-AzDataFactoryV2TriggerRun** cmdlet. To get the information about the trigger runs, execute the following command periodically. Update the **TriggerRunStartedAfter** and **TriggerRunStartedBefore** values to match the values in your trigger definition:
0 commit comments