Wait
Task in alpha phase
This Data Factory task is in phase. You can contact the Product-Live team at contact@product-live.com if you want more details and get an early access.
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.
Examples
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
json
{
"name": "waiting_task",
"taskReferenceName": "waiting_task",
"type": "WAIT",
"inputParameters": {
"until": "2025-12-25 09:00 CEST"
}
}1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Definition
WARNING
This task does not support the Data Factory global variables as an input parameter.
| Property | Type | Required | Description |
|---|---|---|---|
| The name (or type) of the task | |||
| The unique name of the task in your job. It is used to reference this task in the workflow. | |||
| The functional description of this task in your job. | |||
The type of the task. It must be WAIT. | |||
| the variables to set. The input parameters are a map of key/value pairs. | |||
| : | Default: falseWhen set to true, the report generation is skipped and thus the report is not available in the output parameters. | ||
| : | Default: info It defines the log level to be recorded in the report. error < warning < info < debug |
Inputs
| Property | Type | Description |
|---|---|---|
Wait for a specific duration. Format: XhYmZs, where X is the number of hours, Y is the number of minutes, and Z is the number of seconds. See accepted duration units below for every accepted spelling.Examples: 2 days 3 hours, 1 hour 30 minutes, 1 day 2 hours 30 minutes 10 secondsIf the provided parameter is not a valid duration, the task will end in error | ||
Wait until a specific date. Accepted format: yyyy-MM-dd HH:mm, yyyy-MM-dd HH:mm z, yyyy-MM-ddExamples: 2025-12-25 09:00 CEST, 2025-12-25 09:00 UTCIf the provided parameter is not a valid date, the task will end in error A date already in the past does not wait: the task completes immediately |
duration and until are mutually exclusive
Provide exactly one of them:
- Setting both makes the task end in error with "Both 'duration' and 'until' specified. Please provide only one input".
- Setting neither makes the task wait indefinitely - the job stays in progress until it is cancelled or hits its own timeout.
Accepted duration units
Each unit is optional, and they must appear in this order:
| Unit | Accepted spellings |
|---|---|
| Days | days, day, d |
| Hours | hours, hour, hrs, hr, h |
| Minutes | minutes, minute, mins, min, m |
| Seconds | seconds, second, secs, sec, s |
Spellings are case-insensitive, and the space between a number and its unit is optional - so 2h30m, 2 hours 30 minutes and 2H 30Min are all equivalent. Units given out of order are not accepted: 30m 2h is invalid and ends the task in error.
Outputs
This task does not have any output.