Fully updates the edges of a task flow.
You can call this operation to perform a full update. For incremental updates, see AddTaskFlowEdges, UpdateTaskFlowEdges, and DeleteTaskFlowEdgesByMultiCondition.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | UpdateTaskFlowRelations | The operation that you want to perform. Set the value to UpdateTaskFlowRelations. |
| Tid | Long | No | 3*** | 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. |
| DagId | Long | Yes | 15*** | The ID of the task flow. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to query the task flow ID. |
| Edges | Array | No | The list of task flow edges to be updated. |
|
| Id | Long | No | 24*** | The ID of the task flow edge. |
| NodeEnd | Long | No | 44*** | The ID of the end node on the edge. |
| NodeFrom | Long | No | 44*** | The ID of the start node on the edge. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | 15D9E71C-405B-57D7-BE6E-707C2C7A8E0B | The ID of the request. You can use the ID to locate logs and troubleshoot issues. |
| ErrorCode | String | UnknownError | The error code returned if the request failed. |
| ErrorMessage | String | UnknownError | The error message returned if the request failed. |
| Success | Boolean | true | Indicates whether the request was successful. Valid values:
|
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/?Action=UpdateTaskFlowRelations
&DagId=15***
&Common request parameters
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<UpdateTaskFlowRelationsResponse>
<RequestId>15D9E71C-405B-57D7-BE6E-707C2C7A8E0B</RequestId>
<Success>true</Success>
</UpdateTaskFlowRelationsResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "15D9E71C-405B-57D7-BE6E-707C2C7A8E0B",
"Success" : true
}
Error codes
For a list of error codes, visit the API Error Center.