All Products
Search
Document Center

Data Management:CreateWorkFlowTemplate

Last Updated:Aug 14, 2026

Creates an approval template.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

Request parameters

Parameter

Type

Required

Description

Example

TemplateName

string

Yes

The name of the approval template.

TestTemplate

Comment

string

Yes

The description of the approval template.

For test use

NodeIdList

string

Yes

The IDs of approval nodes. Separate multiple node IDs with commas (,). You can call ListWorkflowNode to obtain node IDs.

1,2

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

34E01EDD-6A16-4CF0-9541-C644D1BE01AA

ErrorCode

string

The error code.

403

ErrorMessage

string

The error message.

UnknownError

Success

boolean

Indicates whether the request is successful. Valid values:

  • true: The request is successful.

  • false: The request fails.

true

Data

integer

The ID of the approval template.

1

Examples

Success response

JSON format

{
  "RequestId": "34E01EDD-6A16-4CF0-9541-C644D1BE01AA",
  "ErrorCode": "403",
  "ErrorMessage": "UnknownError",
  "Success": true,
  "Data": 1
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.