Queries the details of task flows by page.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dms:ListTaskFlowsByPage |
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*** |
| ScenarioId |
integer |
No |
Filter condition, application scenario ID. |
12*** |
| DagIdList |
array |
No |
Filter condition, task flow ID list. |
|
|
integer |
No |
Filter condition, task flow ID. |
4512 |
|
| SearchKey |
string |
No |
The keyword that is used to search for task flow names. |
test node |
| PageIndex |
integer |
No |
The number of the page to return. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. |
20 |
The relationship between filter conditions is AND.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
The ID of the request. |
6CB28697-BFE2-5739-9228-3971990E982C |
| 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 |
| TaskFlowList |
object |
||
| TaskFlow |
array<object> |
The details of the returned task flows. |
|
|
object |
|||
| Id |
integer |
The ID of the task flow. |
7*** |
| DagName |
string |
The name of the task flow. |
poc_task_test |
| Description |
string |
The description of the task flow. |
test |
| CreatorId |
string |
The ID of the user who created the task flow. |
51**** |
| CreatorNickName |
string |
The username of the user who created the task flow. |
Creator_NickName |
| DagOwnerNickName |
string |
The username of the owner of the task flow. |
Owner_NickName |
| DeployId |
integer |
The ID of the last deployment record of the task flow. |
65*** |
| Status |
integer |
The status of the task flow. Valid values:
|
1 |
| LatestInstanceStatus |
integer |
The status of the last execution of the task flow. Valid values:
|
0 |
| LatestInstanceTime |
string |
The time when the last execution record was created. |
2022-04-13 |
| ScenarioId |
string |
The ID of the application scenario. |
1245 |
| CronSwitch |
boolean |
Whether to enable scheduled scheduling. |
false |
| CronStr |
string |
Scheduled Cron. |
0 0 1 * * ? * |
| ScheduleParam |
string |
Event scheduling configuration, JSON string format. |
{\"triggerType\":\"1\",\"specificTime\":'2022-11-15 11:59'} |
| TriggerType |
integer |
The trigger type. Valid values:
|
0 |
| CronType |
integer |
Scheduling cycle type. Valid values:
|
2 |
| CronBeginDate |
string |
The start time of scheduled scheduling. The task flow is not scheduled before this point in time. |
1970-01-01 |
| CronEndDate |
string |
The end time of scheduled scheduling. The task flow is not scheduled after this point in time. |
2023-01-01 |
| TimeZoneId |
string |
Time zone setting. Default value: East 8(Asia/Shanghai). |
Asia/Shanghai |
| DagOwnerId |
string |
The user ID of the task flow owner. |
12***89 |
| TotalCount |
integer |
The total number of entries returned. |
24 |
Examples
Success response
JSON format
{
"RequestId": "6CB28697-BFE2-5739-9228-3971990E982C",
"ErrorCode": "UnknownError",
"ErrorMessage": "UnknownError",
"Success": true,
"TaskFlowList": {
"TaskFlow": [
{
"Id": 0,
"DagName": "poc_task_test",
"Description": "test",
"CreatorId": "51****",
"CreatorNickName": "Creator_NickName",
"DagOwnerNickName": "Owner_NickName",
"DeployId": 0,
"Status": 1,
"LatestInstanceStatus": 0,
"LatestInstanceTime": "2022-04-13",
"ScenarioId": "1245",
"CronSwitch": false,
"CronStr": "0 0 1 * * ? *",
"ScheduleParam": "{\\\"triggerType\\\":\\\"1\\\",\\\"specificTime\\\":'2022-11-15 11:59'}",
"TriggerType": 0,
"CronType": 2,
"CronBeginDate": "1970-01-01",
"CronEndDate": "2023-01-01",
"TimeZoneId": "Asia/Shanghai",
"DagOwnerId": "12***89"
}
]
},
"TotalCount": 24
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.