Queries approval nodes.
Operation description
Only users whose system role is administrator or DBA can call this operation.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListWorkFlowNodes |
list |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| Tid |
integer |
No |
The ID of the tenant. Note
: To view the ID of the tenant, log on to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see Manage DMS tenants. |
-1 |
| SearchName |
string |
No |
The name that is used to search for approval nodes. |
admin |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
CFD8FE00-36D9-4C1B-940D-65A7B73D9066 |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| WorkflowNodes |
object |
||
| WorkflowNode |
array<object> |
The details of approval nodes. |
|
|
array<object> |
|||
| Comment |
string |
The description of the approval template. |
test |
| CreateUserNickName |
string |
The name of the user who creates the approval node. |
test |
| NodeType |
string |
The type of the approval node. Valid values:
|
SYS |
| NodeName |
string |
The name of the approval node. |
test |
| AuditUsers |
object |
||
| AuditUser |
array<object> |
The details about approvers. |
|
|
object |
|||
| RealName |
string |
The real name of the approver. |
test |
| UserId |
integer |
The ID of the approver. The ID is different from the ID of the Alibaba Cloud account of the approver. |
123 |
| NickName |
string |
The nickname of the approver. |
test |
| CreateUserId |
integer |
The ID of the creator. This ID is different from the ID of the Alibaba Cloud account of the creator. |
123 |
| NodeId |
integer |
The ID of the approval node. |
123 |
| Success |
boolean |
Indicates whether the request is successful. |
true |
Examples
Success response
JSON format
{
"RequestId": "CFD8FE00-36D9-4C1B-940D-65A7B73D9066",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"WorkflowNodes": {
"WorkflowNode": [
{
"Comment": "test",
"CreateUserNickName": "test",
"NodeType": "SYS",
"NodeName": "test",
"AuditUsers": {
"AuditUser": [
{
"RealName": "test",
"UserId": 123,
"NickName": "test"
}
]
},
"CreateUserId": 123,
"NodeId": 123
}
]
},
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.