Creates directed edges for the existing task nodes of a task flow.
Operation description
When you add directed edges for a task node, take note of the following limits:
- The endpoints of the specified edge exist in the Directed Acyclic Graph (DAG) of the task flow specified by DagId.
- After a backward edge is added, the DAG does not contain loops.
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
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*** |
Edges | array<object> | Yes | The list of edges of the task flow. | |
object | Yes | |||
NodeEnd | long | Yes | The ID of the node where the end node of the edge is located. | 44*** |
NodeFrom | long | Yes | The ID of the node where the start node of the edge is located. | 44*** |
Response parameters
Examples
Sample success responses
JSON
format
{
"RequestId": "E5EE2B9E-2F95-57FA-B284-CB441CEE49D6",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"EdgeIds": {
"EdgeId": [
0
]
}
}
Error codes
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|
No change history