Updates a node in a task flow by calling the UpdateTaskContent operation.
Operation description
This operation can be used to update node content.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:UpdateTaskContent |
update |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The tenant ID. Note
You can move the pointer over the profile picture in the upper-right corner and view the tenant ID. For more information, see View tenant information. |
3*** |
| NodeId |
string |
Yes |
The ID of the task node. You can call the GetTaskInstanceRelation operation to query this parameter. |
43**** |
| NodeContent |
string |
No |
The updated node content. |
{ "dbId":12****, "sql":"select * from test_table", "dbType":"lindorm_sql" } |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. You can use the ID to locate logs and troubleshoot issues. |
39557312-28D5-528F-9554-80C0700EB489 |
| ErrorCode |
string |
The error code. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
Examples
Success response
JSON format
{
"RequestId": "39557312-28D5-528F-9554-80C0700EB489",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.