Queries the edges of the directed acyclic graph (DAG) for a specified task flow based on multiple conditions.
This operation is used for multi-condition query. You can call this operation to query the edges of a specified task flow that meet all specified conditions.
Debugging
Request parameters
| Parameter | Type | Required | Example | Description |
|---|---|---|---|---|
| Action | String | Yes | ListTaskFlowEdgesByCondition | The operation that you want to perform. Set the value to ListTaskFlowEdgesByCondition. |
| 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. |
| Id | Long | No | 24*** | The ID of the task flow edge. |
| NodeFrom | Long | No | 44*** | The ID of the start node on the edge. |
| NodeEnd | Long | No | 44*** | The ID of the end node on the edge. |
Response parameters
| Parameter | Type | Example | Description |
|---|---|---|---|
| RequestId | String | D86249CD-422F-5ACF-85BA-9187C986AE0B | 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:
|
| Edges | Array of Edge | The list of task flow edges. |
|
| Edge | |||
| Id | Long | 24*** | The ID of the task flow edge. |
| NodeEnd | Long | 44*** | The ID of the end node on the edge. |
| NodeFrom | Long | 44*** | The ID of the start node on the edge. |
Examples
Sample requests
http(s)://dms-enterprise.aliyuncs.com/?Action=ListTaskFlowEdgesByCondition
&Common request parameters
Sample success responses
XML format
HTTP/1.1 200 OK
Content-Type:application/xml
<ListTaskFlowEdgesByConditionResponse>
<RequestId>D86249CD-422F-5ACF-85BA-9187C986AE0B</RequestId>
<Edges>
<Edge>
<NodeFrom>44***</NodeFrom>
<NodeEnd>44***</NodeEnd>
<Id>24***</Id>
</Edge>
</Edges>
<Success>true</Success>
</ListTaskFlowEdgesByConditionResponse>
JSON format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "D86249CD-422F-5ACF-85BA-9187C986AE0B",
"Edges" : {
"Edge" : [ {
"NodeFrom" : "44***",
"NodeEnd" : "44***",
"Id" : "24***"
} ]
},
"Success" : true
}
Error codes
For a list of error codes, visit the API Error Center.