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/solution-template-copy-new-files-last-modified-date.md
+11-11Lines changed: 11 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -27,8 +27,8 @@ The template defines six parameters:
27
27
-*Directory_Source* is the subfolder path where you can read the files from the source store. You need to replace the default value with your own subfolder path.
28
28
-*FolderPath_Destination* is the folder path where you want to copy files to the destination store. You need to replace the default value with your own folder path.
29
29
-*Directory_Destination* is the subfolder path where you want to copy files to the destination store. You need to replace the default value with your own subfolder path.
30
-
-*LastModified_From* is used to select the files whose LastModifiedDate attribute is after or equal to this datetime value. In order to select the new files only, which has not been copied last time, this datetime value can be the time when the pipeline was triggered last time. You can replace the default value '2019-02-01T00:00:00Z' to your expected LastModifiedDate in UTC timezone.
31
-
-*LastModified_To* is used to select the files whose LastModifiedDate attribute is before this datetime value. In order to select the new files only, which has not been copied last time, this datetime value can be the present time. You can replace the default value '2019-02-01T00:00:00Z' to your expected LastModifiedDate in UTC timezone.
30
+
-*LastModified_From* is used to select the files whose LastModifiedDate attribute is after or equal to this datetime value. In order to select the new files only, which hasn't been copied last time, this datetime value can be the time when the pipeline was triggered last time. You can replace the default value '2019-02-01T00:00:00Z' to your expected LastModifiedDate in UTC timezone.
31
+
-*LastModified_To* is used to select the files whose LastModifiedDate attribute is before this datetime value. In order to select the new files only, which weren't copied in prior runs, this datetime value can be the present time. You can replace the default value '2019-02-01T00:00:00Z' to your expected LastModifiedDate in UTC timezone.
32
32
33
33
## How to use this solution template
34
34
@@ -52,23 +52,23 @@ The template defines six parameters:
52
52
53
53
:::image type="content" source="media/solution-template-copy-new-files-last-modified-date/copy-new-files-last-modified-date-4.png" alt-text="Use this template":::
54
54
55
-
1. You will see the pipeline available in the panel, as shown in the following example:
55
+
1. You see the pipeline available in the panel, as shown in the following example:
56
56
57
57
:::image type="content" source="media/solution-template-copy-new-files-last-modified-date/copy-new-files-last-modified-date-5.png" alt-text="Show the pipeline":::
58
58
59
-
1. Select **Debug**, write the value for the **Parameters** and select **Finish**. In the picture below, we set the parameters as following.
59
+
1. Select **Debug**, write the value for the **Parameters**, and select **Finish**. In the picture that follows, we set the parameters as following.
60
60
-**FolderPath_Source** = sourcefolder
61
61
-**Directory_Source** = subfolder
62
62
-**FolderPath_Destination** = destinationfolder
63
63
-**Directory_Destination** = subfolder
64
64
-**LastModified_From** = 2019-02-01T00:00:00Z
65
65
-**LastModified_To** = 2019-03-01T00:00:00Z
66
66
67
-
The example is indicating that the files, which have been last modified within the timespan (**2019-02-01T00:00:00Z** to **2019-03-01T00:00:00Z**) will be copied from the source path **sourcefolder/subfolder** to the destination path **destinationfolder/subfolder**. You can replace these with your own parameters.
67
+
The example is indicating that the files, which were last modified within the timespan (**2019-02-01T00:00:00Z** to **2019-03-01T00:00:00Z**) will be copied from the source path **sourcefolder/subfolder** to the destination path **destinationfolder/subfolder**. You can replace these times or folders with your own parameters.
68
68
69
69
:::image type="content" source="media/solution-template-copy-new-files-last-modified-date/copy-new-files-last-modified-date-6.png" alt-text="Run the pipeline":::
70
70
71
-
1. Review the result. You will see only the files last modified within the configured timespan has been copied to the destination store.
71
+
1. Review the result. You see only the files last modified within the configured timespan are copied to the destination store.
72
72
73
73
:::image type="content" source="media/solution-template-copy-new-files-last-modified-date/copy-new-files-last-modified-date-7.png" alt-text="Review the result":::
74
74
@@ -87,20 +87,20 @@ The template defines six parameters:
87
87
-**Directory_Source** = **subfolder**. You can replace with your subfolder in source data store.
88
88
-**FolderPath_Destination** = **destinationfolder**. You can replace with your folder in destination data store.
89
89
-**Directory_Destination** = **subfolder**. You can replace with your subfolder in destination data store.
90
-
-**LastModified_From** = **\@trigger().outputs.windowStartTime**. It is a system variable from the trigger determining the time when the pipeline was triggered last time.
91
-
-**LastModified_To** = **\@trigger().outputs.windowEndTime**. It is a system variable from the trigger determining the time when the pipeline is triggered this time.
90
+
-**LastModified_From** = **\@trigger().outputs.windowStartTime**. It's a system variable from the trigger determining the time when the pipeline was triggered last time.
91
+
-**LastModified_To** = **\@trigger().outputs.windowEndTime**. It's a system variable from the trigger determining the time when the pipeline is triggered this time.
1. Create new files in your source folder of data source store. You are now waiting for the pipeline to be triggered automatically and only the new files will be copied to the destination store.
99
+
1. Create new files in your source folder of data source store. You're now waiting for the pipeline to be triggered automatically and only the new files are copied to the destination store.
100
100
101
-
1. Select **Monitor** tab in the left navigation panel, and wait for about 15 minutes if the recurrence of trigger has been set to every 15 minutes.
101
+
1. Select **Monitor** tab in the left navigation panel, and wait for about 15 minutes if the recurrence of trigger was set to every 15 minutes.
102
102
103
-
1. Review the result. You will see your pipeline will be triggered automatically every 15 minutes, and only the new or changed files from source store will be copied to the destination store in each pipeline run.
103
+
1. Review the result. You see your pipeline is triggered automatically every 15 minutes, and only the new or changed files from source store are copied to the destination store in each pipeline run.
104
104
105
105
:::image type="content" source="media/solution-template-copy-new-files-last-modified-date/copy-new-files-last-modified-date-15.png" alt-text="Screenshot that shows the results that return when the pipeline is triggered.":::
0 commit comments