Queries the constants for a task flow.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListTaskFlowConstants |
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, go to the Data Management (DMS) console and move the pointer over the profile picture in the upper-right corner. For more information, see View information about the current tenant. |
3*** |
| DagId |
integer |
Yes |
The task flow ID. You can call the ListTaskFlow or ListLhTaskFlowAndScenario operation to obtain the ID. |
3**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The request ID. You can use it to locate logs and troubleshoot issues. |
028BF827-3801-5869-8548-F4A039256304 |
| ErrorCode |
string |
The error code returned if the request failed. |
UnknownError |
| ErrorMessage |
string |
The error message returned if the request failed. |
UnknownError |
| Success |
boolean |
Indicates whether the request was successful. Valid values:
|
true |
| DagConstants |
object |
||
| DagConstant |
array<object> |
A list of constant key-value pairs for the task flow. |
|
|
object |
|||
| Key |
string |
The constant key. |
example |
| Value |
string |
The constant value. |
0 |
Examples
Success response
JSON format
{
"RequestId": "028BF827-3801-5869-8548-F4A039256304",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"DagConstants": {
"DagConstant": [
{
"Key": "example",
"Value": "0"
}
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.