Backfills data for a task flow.
Operation description
During a data backfill, task flows are run in sequence based on their dates. You can specify whether task flows are run in chronological or reverse chronological order. After the data backfill is complete, you can specify a date or date range, and a node range to run task flows.
Debugging
Authorization information
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
Tid | long | No | The ID of the tenant. Note
To view the ID of the tenant, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant.
| 3*** |
DagId | long | Yes | The ID of the task flow. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to query the task flow ID. | 15*** |
StartNodeIds | array | No | The number of nodes for which you want to backfill data. | |
long | No | The number of task nodes to be replenished. | 2 | |
FilterNodeIds | array | No | Filter condition, which specifies the list of node IDs in the task flow that do not need to supplement data. | |
long | No | The ID of the node that does not need to supplement data in the task flow. | 12*** | |
IsTriggerSubTree | boolean | No | Specifies whether to run descendant nodes. Default value: true. | true |
BackFillDate | string | No | The date for the data to be backfilled. This parameter is required if you specify a date for data backfill. | 2022-01-14 |
BackFillDateBegin | string | No | The start date of the date range for the data to be backfilled. This parameter is required if you specify a date range for data backfill. | 2022-01-14 |
BackFillDateEnd | string | No | The end date of the date range for the data to be backfilled. This parameter is required if you specify a date range for data backfill. | 2022-09-29 |
Interval | integer | No | The interval at which data backfill is performed. Unit: hours. Minimum value: 1. Default value: 24. | 24 |
Asc | boolean | No | The running sequence of task flows for data backfill. Valid values:
| 0 |
HistoryDagId | long | No | The ID of the historical task flow. | 16*** |
The BackFillDate parameter is required if you specify a date for data backfill.
The BackFillDateBegin and BackFillDateEnd parameters are required if you specify a date range for data backfill.
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "7FAD400F-7A5C-4193-8F9A-39D86C4F0231",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"DagInstanceId": 0,
"NodeId": 0
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2023-05-25 | The request parameters of the API has changed. The response structure of the API has changed | View Change Details |