Data Factory > wait β
TL;DR;
This task allows to delay the execution of the next task in a job for a specific amount of time or until a particular date.
Max execution time: N/A
TIP
The full documentation of the behavior of this task is detailed in the Learning Center.
Technical details β
Examples β
Wait for 2 days and 3 hours β
json
{
"name": "waiting_task",
"taskReferenceName": "waiting_task",
"type": "WAIT",
"inputParameters": {
"duration": "2 days 3 hours"
}
}1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Wait until 2022-12-25 09:00 CEST β
json
{
"name": "waiting_task",
"taskReferenceName": "waiting_task",
"type": "WAIT",
"inputParameters": {
"until": "2022-12-25 09:00 CEST"
}
}1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Inputs and Outputs β
Inputs β
| Property | Description |
|---|---|
duration | String The total duration of the wait task The following units are acepted: days, d, hrs, hours, h, minutes, mins, m, seconds, secs, sExamples: 2 days 3 hours, 1 hour 30 minutes, 1 day 2 hours 30 minutes 10 secondsIf the provided parameter is not a valid date, the task will end in error |
until | String The date and time until which the wait task will be ended The following formats are acepted: yyyy-MM-dd HH:mm, yyyy-MM-dd HH:mm z, yyyy-MM-ddExamples: 2022-12-25 09:00 CEST, 2022-12-25, 2022-12-25 09:00If a duration is set, the until parameter will be ignoredIf the provided parameter is not a valid date, the task will end in error |
Outputs β
This tasks has no outputs.