Creates a backfill workflow.
Operation description
For more information about data backfill, see Backfill data.
This operation is supported in DataWorks Basic Edition or a higher edition.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dataworks:* |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectEnv |
string |
Yes |
The workspace environment. Valid values: PROD for the production environment and DEV for the development environment. Valid values:
|
PROD |
| StartBizDate |
string |
Yes |
The start business date for data backfill. Specify the time in the yyyy-MM-dd 00:00:00 format. |
2020-05-20 00:00:00 |
| Name |
string |
Yes |
The name of the workflow. |
xm_test |
| RootNodeId |
integer |
Yes |
The ID of the start node for data backfill. You can call the ListNodes operation to obtain the node ID. |
1234 |
| ExcludeNodeIds |
string |
No |
The IDs of the nodes that do not require data backfill. Dry-run instances are generated for the nodes in this list. After a dry-run instance is scheduled, it directly succeeds without executing the script content. |
1234,123465 |
| BizBeginTime |
string |
No |
The start time of the task. This parameter is required only for tasks scheduled by hour. Specify the time in the HH:mm:ss format. Valid values: 00:00:00 to 23:59:59. |
00:00:00 |
| BizEndTime |
string |
No |
The end time of the task. This parameter is required only for tasks scheduled by hour. Specify the time in the HH:mm:ss format. Valid values: 00:00:00 to 23:59:59. |
01:00:00 |
| Parallelism |
boolean |
Yes |
Specifies whether tasks for multiple business dates can run in parallel. |
false |
| EndBizDate |
string |
Yes |
The end business date for data backfill. Specify the time in the yyyy-MM-dd 00:00:00 format. |
2020-05-21 00:00:00 |
| NodeParams |
string |
No |
The node parameters configured as a JSON string. The key is the node ID, and the value is the actual value of the parameter. |
{"74324":"a=123 b=456"} |
| IncludeNodeIds |
string |
Yes |
The IDs of the nodes for data backfill. If you backfill data for multiple nodes, separate the node IDs with commas (,). You can call the ListNodes operation to obtain the node IDs. |
74324,74325 |
| StartFutureInstanceImmediately |
boolean |
No |
Specifies whether to immediately run instances whose scheduled time is later than the current time. If this parameter is set to true, these instances run immediately. Otherwise, they wait until their scheduled time. |
false |
| ConcurrentRuns |
integer |
No |
The number of tasks that can run in parallel. Valid values: 2 to 10. |
5 |
| AlertType |
string |
No |
The alert type. Valid values:
Valid values:
|
FAILURE |
| AlertNoticeType |
string |
No |
The alert notification method. Valid values:
Valid values:
|
SMS |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response entity. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| RequestId |
string |
The request ID. You can use the ID to locate logs and troubleshoot issues. |
>E6F0DBDD-5AD**** |
| ErrorMessage |
string |
The error message. |
The connection does not exist. |
| Success |
boolean |
Indicates whether the call was successful. |
true |
| ErrorCode |
string |
The error code. |
Invalid.Tenant.ConnectionNotExists |
| Data |
array |
The DAG ID returned for data backfill for a scheduled task. You can use the DAG ID to query the corresponding instances. |
|
|
integer |
The list of workflow IDs. |
111 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"RequestId": ">E6F0DBDD-5AD****",
"ErrorMessage": "The connection does not exist.",
"Success": true,
"ErrorCode": "Invalid.Tenant.ConnectionNotExists",
"Data": [
111
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.