ListWorkflowInstances
Retrieve and manage workflow instance lists in DataWorks MCP Server by specifying project ID, type, owner, and sorting criteria for efficient workflow monitoring and analysis.
Instructions
获取工作流实例列表
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| BizDate | No | 业务日期。一般是周期实例定时时间的前一天的0点0分0秒,格式为毫秒级时间戳,如1743350400000 | |
| Ids | No | 工作流实例ID列表,可根据工作流实例Id批量查询多个工作流实例信息 | |
| Name | No | 名称。支持模糊查询 | |
| Owner | No | 责任人的账号ID | |
| PageNumber | No | 页码,从1开始,默认为1 | |
| PageSize | No | 每页的条目数,默认为10 | |
| ProjectId | No | 项目ID | |
| SortBy | No | 排序字段列表,支持定时时间、开始时间等字段。格式为"排序字段+排序方式(Desc/Asc)"(Asc可以缺省)。排序字段的枚举值如下:- TriggerTime (Desc/Asc)- StartedTime (Desc/Asc)- FinishedTime (Desc/Asc)- CreateTime (Desc/Asc)- Id (Desc/Asc)默认值:Id Desc | |
| Type | No | 工作流实例的类型。- Normal:周期调度- Manual:手动任务- SmokeTest:测试- SupplementData:补数据- ManualWorkflow:手动工作流 | |
| WorkflowId | No | 所属工作流的ID |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"BizDate": {
"description": "业务日期。一般是周期实例定时时间的前一天的0点0分0秒,格式为毫秒级时间戳,如1743350400000"
},
"Ids": {
"description": "工作流实例ID列表,可根据工作流实例Id批量查询多个工作流实例信息",
"type": "array"
},
"Name": {
"description": "名称。支持模糊查询",
"type": "string"
},
"Owner": {
"description": "责任人的账号ID",
"type": "string"
},
"PageNumber": {
"description": "页码,从1开始,默认为1"
},
"PageSize": {
"description": "每页的条目数,默认为10"
},
"ProjectId": {
"description": "项目ID"
},
"SortBy": {
"description": "排序字段列表,支持定时时间、开始时间等字段。格式为\"排序字段+排序方式(Desc/Asc)\"(Asc可以缺省)。排序字段的枚举值如下:- TriggerTime (Desc/Asc)- StartedTime (Desc/Asc)- FinishedTime (Desc/Asc)- CreateTime (Desc/Asc)- Id (Desc/Asc)默认值:Id Desc",
"type": "string"
},
"Type": {
"description": "工作流实例的类型。- Normal:周期调度- Manual:手动任务- SmokeTest:测试- SupplementData:补数据- ManualWorkflow:手动工作流",
"type": "string"
},
"WorkflowId": {
"description": "所属工作流的ID"
}
},
"type": "object"
}