All Products
Search
Document Center

Data Management:ListWorkFlowNodes

Last Updated:Oct 21, 2024

Queries approval nodes.

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 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
SearchNamestringNo

The name that is used to search for approval nodes.

admin

Response parameters

ParameterTypeDescriptionExample
object
RequestIdstring

The ID of the request.

CFD8FE00-36D9-4C1B-940D-65A7B73D9066
ErrorCodestring

The error code returned if the request failed.

UnknownError
ErrorMessagestring

The error message returned if the request failed.

UnknownError
WorkflowNodesarray<object>

The details of approval nodes.

WorkflowNodeobject
Commentstring

The description of the approval template.

test
CreateUserNickNamestring

The name of the user who creates the approval node.

test
NodeTypestring

The type of the approval node. Valid values:

  • SYS: The approval node is predefined by the system.
  • USER_LIST: The approval node is created by a user.
SYS
NodeNamestring

The name of the approval node.

test
AuditUsersarray<object>

The details about approvers.

AuditUserobject
RealNamestring

The real name of the approver.

test
UserIdlong

The ID of the approver. The ID is different from the ID of the Alibaba Cloud account of the approver.

123
NickNamestring

The nickname of the approver.

test
CreateUserIdlong

The ID of the creator. This ID is different from the ID of the Alibaba Cloud account of the creator.

123
NodeIdlong

The ID of the approval node.

123
Successboolean

Indicates whether the request is successful.

true

Examples

Sample success responses

JSONformat

{
  "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

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

Change history

Change timeSummary of changesOperation
No change history