All Products
Search
Document Center

Data Management:UpdateTaskFlowEdges

Last Updated:Oct 21, 2024

Updates the start node and end node of multiple edges at a time for a task flow.

Operation description

The edges can be updated only when the following conditions are met:

  1. The specified edge exists in the directed acyclic graph (DAG) of the task flow specified by DagId.
  2. The specified edge nodes exist in the DAG of the task flow specified by DagId.
  3. After the update, rings do not exist in the DAG.

Debugging

You can run this interface directly in OpenAPI Explorer, saving you the trouble of calculating signatures. After running successfully, OpenAPI Explorer can automatically generate SDK code samples.

Authorization information

There is currently no authorization information disclosed in the API.

Request parameters

ParameterTypeRequiredDescriptionExample
TidlongNo

The tenant ID.

Note To view the tenant ID, move the pointer over the profile picture in the upper-right corner of the Data Management (DMS) console. For more information, see Manage DMS tenants.
3***
DagIdlongYes

The task flow ID. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to query the task flow ID.

15***
Edgesarray<object>Yes

The list of updated task flow edges.

objectYes
IdlongYes

The ID of the task flow edge.

24***
NodeEndlongYes

The ID of the end node of the edge.

44***
NodeFromlongYes

The ID of the start node of the edge.

44***

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The request ID.

93FC1AE1-EC54-52B1-B146-650180FB82E8
ErrorCodestring

The error code.

UnknownError
ErrorMessagestring

The error message returned if the request failed.

UnknownError
Successboolean

Indicates whether the request was successful. Valid values:

  • true
  • false
true

Examples

Sample success responses

JSONformat

{
  "RequestId": "93FC1AE1-EC54-52B1-B146-650180FB82E8",
  "ErrorCode": "UnknownError",
  "ErrorMessage": "UnknownError",
  "Success": true
}

Error codes

For a list of error codes, visit the Service error codes.

Change history

Change timeSummary of changesOperation
No change history