华为云用户手册

  • 请求参数 表1 请求Body参数 参数 是否必选 参数类型 描述 input 否 CreateFolderReqVO object 输入参数 表2 CreateFolderReqVO 参数 是否必选 参数类型 描述 containerId 否 String 容器ID containerName 否 String 容器名称 containerType 否 String 容器类型 domainId 否 String 域ID domainPath 否 String 域路径 folderDescription 否 String 文件夹描述 folderId 否 String 文件夹ID folderPath 否 String 文件夹路径 isInheritedParent 否 String 是否继承自父类 creator 否 String 文件夹创建者
  • 响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 code Integer 接口返回码 data Data object 接口响应数据 orderID String 请求跟踪流水号 表3 Data 参数 参数类型 描述 resultInfo ResultInfo object 结果 表4 ResultInfo 参数 参数类型 描述 successProcessInstanceIds Array of strings 成功的实例ID allSucceeded Boolean 是否都成功 failedProcessInfos Array of strings 失败的实例
  • 响应示例 状态码: 200 接口返参 { "code": 0, "data": { "resultInfo": { "successProcessInstanceIds": [ "d04d662f-02c9-11ef-8a3a-fa163eaf0a4f" ], "allSucceeded": true, "failedProcessInfos": [] } }, "orderID": "8b4426d92a744af9a18f69ab5e896364" }
  • URI POST /console/servicetask/api/localMethod/assessment_trilogy/revokeProcessInstance 示例接口地址:{域名(有文根需带文根)}/pdmcore/ipdcworkflowservice/console/servicetask/api/localMethod/assessment_trilogy/revokeProcessInstance
  • 响应消息体 该部分可选。响应消息体通常以结构化格式(如JSON或XML)返回,与响应消息头中Content-Type对应,传递除响应消息头之外的内容。 对于获取用户Token接口,返回如下消息体。为篇幅起见,这里只展示部分内容。 { "token": { "expires_at": "2019-02-13T06:52:13.855000Z", "methods": [ "password" ], "catalog": [ { "endpoints": [ { "region_id": "az-01", ...... 当接口调用出错时,会返回错误码及错误信息说明,错误响应的Body体格式如下所示。 { "error_msg": "The format of message is error", "error_code": "AS.0001" } 其中,error_code表示错误码,error_msg表示错误描述信息,具体请参见错误码。
  • 请求参数 表1 请求Body参数 参数 是否必选 参数类型 描述 input 是 Array of GetPermissionVo objects 入参body类型 isIgnore 是 Boolean 是否忽略无效用户 表2 GetPermissionVo 参数 是否必选 参数类型 描述 type 否 String 对象类型 number 否 String 数据对象编码 version 否 String 大版本 iteration 否 String 小版本 view 否 String 部件视图 userID 否 String 用户账号 groupName 否 String 群组名称 access 否 Array of strings 移除权限类型 accessOwner 否 String 合成权限类型+流程任务ID信息
  • 请求参数 表1 请求Body参数 参数 是否必选 参数类型 描述 input 否 Object 入参参数 pageInfo 否 PageInfo object 分页入参 表2 PageInfo 参数 是否必选 参数类型 描述 orderBy 否 String 排序字段 sort 否 String 升序/降序 curPage 否 Integer 当前查询页码 pageSize 否 Integer 每页查询条数 totalRows 否 Integer 总条数
  • 响应示例 { "msg": null, "code": 0, "data": [ { "processInstanceId": "bf04e6fb-06c8-11ef-9d67-fa163e227a9b", "processDefinitionName": "Interface_show", "processDefinitionNameCn": "接口showcase", "businessKey": "P10001721", "title": "Interface_show_2024-04-30T16:07:53.811+0800", "category": "http://bpmn.io/schema/bpmn", "createdByName": "xxx@ipdcenter203.huaweiapaas.com", "processInstanceStartTime": 1714464473978, "processInstanceEndTime": null, "state": "ACTIVE", "lifeCycleState": null, "taskList": [ { "processInstanceId": "bf04e6fb-06c8-11ef-9d67-fa163e227a9b", "taskId": "bf075807-06c8-11ef-9d67-fa163e227a9b", "taskDefinitionKey": "Activity_0c3pfp1", "taskDefinitionName": "用户任务", "handlers": "xxx@ipdcenter203.huaweiapaas.com", "userIds": "1008600000026143011", "groupIds": "", "ccuserIds": "", "ccUserNames": null, "startTime": 1714464473993, "endTime": null, "status": "doing", "createdBy": "1008600000026143011", "createName": null, "approvalUserName": null } ], "site": null }, { "processInstanceId": "1d2fe857-06b9-11ef-9d67-fa163e227a9b", "processDefinitionName": "New_EC", "processDefinitionNameCn": "新EC流程", "businessKey": "P10001720", "title": "Py_New_EC_2024-04-30T14:15:59.689+0800", "category": "http://bpmn.io/schema/bpmn", "createdByName": "xxx@ipdcenter203.huaweiapaas.com", "processInstanceStartTime": 1714457760018, "processInstanceEndTime": null, "state": "ACTIVE", "lifeCycleState": null, "taskList": [ { "processInstanceId": "1d2fe857-06b9-11ef-9d67-fa163e227a9b", "taskId": "2106ba08-06b9-11ef-9d67-fa163e227a9b", "taskDefinitionKey": "Activity_1pxq6vg", "taskDefinitionName": "项目经理审核", "handlers": "xxx@ipdcenter203.huaweiapaas.com", "userIds": "1008600000026143011", "groupIds": "", "ccuserIds": "", "ccUserNames": null, "startTime": 1714457766458, "endTime": null, "status": "doing", "createdBy": "1008600000026143011", "createName": null, "approvalUserName": null }, { "processInstanceId": "1d2fe857-06b9-11ef-9d67-fa163e227a9b", "taskId": "1d331cbc-06b9-11ef-9d67-fa163e227a9b", "taskDefinitionKey": "Activity_120d57p", "taskDefinitionName": "修改变更对象", "handlers": "xxx@ipdcenter203.huaweiapaas.com", "userIds": "1008600000026143011", "groupIds": "", "ccuserIds": "", "ccUserNames": null, "startTime": 1714457760038, "endTime": 1714457766435, "status": "finished", "createdBy": "1008600000026143011", "createName": null, "approvalUserName": "xxx@ipdcenter203.huaweiapaas.com" } ], "site": null } ], "pageInfo": { "totalRows": 1307, "curPage": 1, "pageSize": 2, "totalPages": 654 }, "orderID": "9769704e48794f4694460d642deaad05" }
  • 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 orderId String 请求跟踪流水号 msg String 接口响应信息 code Integer 接口返回码 data Array of HistoricProcessInstanceVO objects 接口响应数据,JSON对象或数组 pageInfo PageVo object 标准响应体分页信息 表4 HistoricProcessInstanceVO 参数 参数类型 描述 processInstanceId String 流程实例ID processDefinitionId String 流程定义ID(拼接字段:流程模板key+版本+流程实例ID) processDefinitionName String 流程模板ID processDefinitionNameCn String 流程模板名称 businessKey String 业务流水号 taskDefinitionKey String 任务节点流水号 taskDefinitionName String 任务节点名称 startTime String 开始时间 title String 流程标题 state String 流程实例运行状态 lifeCycleState String 生命周期状态 handlers String 处理人 userIds String 用户ID集合 lastUpdateDate String 最后更新时间 suspensionState String 流程暂停状态 processInstanceStartTime String 流程实例开始时间 processInstanceEndTime String 流程实例结束时间 createdBy String 创建人ID createdByName String 创建人账号 endTime String 结束时间 tenantId String 租户ID userId String 用户ID createStartTime String 创建开始时间 createEndTime String 创建结束时间 createTaskTime String 任务创建时间 completeStartTime String 审批结束的开始时间 category String 流程类型 completeEndTime String 审批结束的结束时间 transferSign String 代办标志:0代表全部我的代办,1代表可以转审的 taskId String 任务ID startUserId String 启动用户ID startUserName String 启动用户名字 taskUrl String 任务的URL filterResult Array of strings 定制返回结果 groupIdList Array of strings group ID集合 sequenceCount Integer 序列数 lastUpdateBy String 最后更新人 lastUpdateName String 最后更新人名称 operationState String 流程操作状态 site String 引擎站点标识 dueDate String 截止日期 表5 PageVo 参数 参数类型 描述 totalRows Integer 总共有多少条数据 curPage Integer 当前是第几页 pageSize Integer 一页有多少条数据 totalPages Integer 总共有多少页
  • 请求参数 表2 请求body,筛选条件 参数 是否必选 参数类型 描述 processInstanceStartTime 否 String 流程创建开始时间 processInstanceEndTime 否 String 流程创建结束时间 createStartTime 否 String 任务启动开始时间 createEndTime 否 String 任务启动结束时间 processDefinitionId 否 String 流程模板ID businessKeys 否 String 业务流水号,多个以逗号隔开 processDefinitionName 否 String 流程模板名称 processDefinitionNameCn 否 String 流程模板名称中文 processDefinitionNames 否 String 流程模板名称 taskDefinitionKey 否 String 任务定义编码 taskDefinitionName 否 String 任务定义名称 pageSize 否 Integer 每页的条数 curPage 否 Integer 当前页数 businessKey 否 String 业务流水号 i18n 否 Integer 国际化标识 title 否 String 流程标题 titleCn 否 String 流程标题中文 titles 否 Array of strings 流程标题列表 createdBy 否 String 创建人 category 否 String 流程类型 lastUpdateName 否 String 最后修改人 taskHandler 否 String 任务处理人 requestSource 否 String 请求源 startUserId 否 String 发起流程的用户 lifeCycleState 否 String 生命周期状态 sites 否 String 站点查询 state 否 String 状态 userId 否 String 用户
  • URI POST /services/workflow/queryTaskList/{pageSize}/{curPage} 示例接口地址:{域名(有文根需带文根)}/pdmcore/ipdcworkflowservice/services/workflow/queryTaskList/2/1 表1 路径参数 参数 是否必选 参数类型 描述 pageSize 是 String 分页大小 curPage 是 String 当前页数
  • 请求参数 表1 请求Body参数 参数 是否必选 参数类型 描述 orderId 否 String orderId clientId 否 String 客户ID userId 否 String 用户ID input 否 OpenDocPrimaryAttrReqVo object 输入 pageInfo 否 PageInfoReqVO object 分页信息 isDelaying 否 String 是否延迟 表2 OpenDocPrimaryAttrReqVo 参数 是否必选 参数类型 描述 containerList 否 OpenPrimaryAttrContainerVo object 容器清单 folderIdList 否 Array of strings 文件夹ID清单 表3 OpenPrimaryAttrContainerVo 参数 是否必选 参数类型 描述 containerType 否 String 存储容器类型 containerId 否 String 存储容器ID containerName 否 String 存储容器的名称 表4 PageInfoReqVO 参数 是否必选 参数类型 描述 curPage 否 String 当前查询页码 pageSize 否 String 每页查询条数30/50/100,最大100条 orderBy 否 String 排序字段,支持name和创建时间 sort 否 String 升序/降序,对应值asc/desc
  • 请求示例 { "taskId": "86733638-037c-11ef-8a3a-fa163eaf0a4f", "processInstanceId": "867272db-037c-11ef-8a3a-fa163eaf0a4f", "internalOperate": "", "variables": { "sequenceFlow": "Flow_1tshzet" }, "operation": "通过", "formList": [{ "data": { "conclusion": "Flow_1tshzet", "approlAllData": [], "routerIdAry": [{ "id": "Flow_1tshzet", "routerNameCn": "通过", "routerNameEn": "pass" }], "formApprolData": { "opinion": "wewew111122", "customOpinion": "" } }, "holderType": "task", "name": "routeInfo" }, { "name": "EcChangeTypeTemplate", "formDataId": "624968230686953472", "data": [{ "Version": "2", "EcChangeType": "1" }] }], "comment": "wewew11111", "attachmentList": [] }
  • 响应示例 状态码: 200 ok { "msg" : null, "code" : 0, "data" : [ { "processInstanceId" : "25e13259-d605-11ee-9cb2-7804e3968f51", "processDefinitionId" : "Test0228:2:7158d7797cb844c3b0433e8d45508b17", "processDefinitionName" : "Test0228", "processDefinitionNameCn" : "Test0228", "businessKey" : "P10000490", "taskDefinitionKey" : "Activity_05eonal", "taskDefinitionName" : "用户任务", "startTime" : 1709117409498, "title" : "Test0228_2024-02-28T14:46:46.701+0800", "state" : "用户任务", "lifeCycleState" : null, "handlers" : "u.hid_fje4j2nvnue3xwp", "userIds" : "1008600000065234815", "lastUpdateDate" : 1709117409498, "suspensionState" : "1", "processInstanceStartTime" : 1709102809386, "processInstanceEndTime" : null, "createdBy" : "hid_fje4j2nvnue3xwp", "createdByName" : "hid_fje4j2nvnue3xwp", "endTime" : null, "tenantId" : "definition_micro", "userId" : null, "createStartTime" : null, "createEndTime" : null, "createTaskTime" : 1709117409498, "completeStartTime" : null, "category" : "http://bpmn.io/schema/bpmn", "completeEndTime" : null, "transferSign" : null, "taskId" : "243b049e-d627-11ee-b2c3-7804e3968f51", "startUserId" : "1008600000065234815", "startUserName" : "hid_fje4j2nvnue3xwp", "taskUrl" : null, "groupIds" : "", "lookUpId" : null, "filterResult" : null, "groupIdList" : null, "sequenceCount" : 2, "lastUpdateBy" : "1008600000065234815", "lastUpdateName" : "hid_fje4j2nvnue3xwp", "operationState" : null, "site" : null, "dueDate" : null }, { "processInstanceId" : "7a6cc4d2-d620-11ee-b2c3-7804e3968f51", "processDefinitionId" : "Test0228_01:4:10f3deaebb1249e0be7037093a525951", "processDefinitionName" : "Test0228_01", "processDefinitionNameCn" : "Test0228_01", "businessKey" : "P10000494", "taskDefinitionKey" : "Activity_1k7n1lw", "taskDefinitionName" : "用户任务2", "startTime" : 1709114548032, "title" : "Test0228_01_2024-02-28T18:02:26.255+0800", "state" : "用户任务2", "lifeCycleState" : null, "handlers" : "u.hid_fje4j2nvnue3xwp", "userIds" : "1008600000065234815", "lastUpdateDate" : 1709114548032, "suspensionState" : "1", "processInstanceStartTime" : 1709114548125, "processInstanceEndTime" : null, "createdBy" : "hid_fje4j2nvnue3xwp", "createdByName" : "hid_fje4j2nvnue3xwp", "endTime" : null, "tenantId" : "definition_micro", "userId" : null, "createStartTime" : null, "createEndTime" : null, "createTaskTime" : 1709114548032, "completeStartTime" : null, "category" : "http://bpmn.io/schema/bpmn", "completeEndTime" : null, "transferSign" : null, "taskId" : "7aa9f4f4-d620-11ee-b2c3-7804e3968f51", "startUserId" : "1008600000065234815", "startUserName" : "hid_fje4j2nvnue3xwp", "taskUrl" : null, "groupIds" : "", "lookUpId" : null, "filterResult" : null, "groupIdList" : null, "sequenceCount" : 1, "lastUpdateBy" : "1008600000065234815", "lastUpdateName" : "hid_fje4j2nvnue3xwp", "operationState" : null, "site" : null, "dueDate" : null } ], "pageInfo" : { "totalRows" : 22, "curPage" : 1, "pageSize" : 2, "totalPages" : 11 }, "orderID" : "17c7c1e56da34810be46ef89369a6004" }
  • 响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 msg String 接口响应信息 code Integer 接口返回码 data Array of Data objects 接口响应数据 pageInfo PageInfo object 分页信息 orderID String 请求跟踪流水号 表3 Data 参数 参数类型 描述 processInstanceId String 流程实例ID processDefinitionId String 流程定义ID(拼接字段:流程模板key+版本+流程实例ID) processDefinitionName String 流程模板名称 processDefinitionNameCn String 流程模板名称 businessKey String 业务流水号 taskDefinitionKey String 任务节点流水号 taskDefinitionName String 任务节点名称 startTime String 开始时间 title String 流程标题 state String 流程实例运行状态 lifeCycleState String 生命周期状态 handlers String 处理人 userIds String 用户ID集合 lastUpdateDate String 最后更新时间 suspensionState String 流程暂停状态 processInstanceStartTime String 流程实例开始时间 processInstanceEndTime String 流程实例结束时间 createdBy String 创建人ID createdByName String 创建人账号 endTime String 结束时间 tenantId String 租户ID userId String 用户ID createStartTime String 创建开始时间 createEndTime String 创建结束时间 createTaskTime String 任务创建时间 completeStartTime String 审批结束的开始时间 category String 流程类型 completeEndTime String 审批结束的结束时间 transferSign String 代办标志:0代表全部我的代办,1代表可以转审的 taskId String 任务ID startUserId String 启动用户ID startUserName String 启动用户名字 taskUrl String 任务的URL filterResult Array of strings 定制返回结果 groupIdList Array of strings group ID集合 sequenceCount Integer 序列数 lastUpdateBy String 最后更新人 lastUpdateName String 最后更新人名称 operationState String 流程操作状态 site String 引擎站点标识 dueDate String 截止日期 表4 PageInfo 参数 参数类型 描述 totalRows Integer 总共行数 curPage Integer 当前页数 pageSize Integer 分页大小 totalPages Integer 总共页数
  • URI GET /services/workflow/mytasks/{pageSize}/{curPage} 示例接口地址:{域名(有文根需带文根)}/pdmcore/ipdcworkflowservice/services/workflow/mytasks/2/1 表1 路径参数 参数 是否必选 参数类型 描述 pageSize 是 String 分页大小 curPage 是 String 当前页数
  • 响应示例 { "reserve": null, "datas": [ { "id": "1", "templateContent": "{orgName}组织的{username}申请{applyName}应用的授权。", "templateName": "授权申请提醒", "messageType": "APPROVAL_NOTIFICATION" } ], "totalCount": 1, "error_code": "IPDC.01020000", "error_msg": "success" }
  • 响应参数 状态码: 200 表2 响应Body参数 参数 参数类型 描述 error_code String 返回码 error_msg String 返回码描述 datas Array of MessageTemplate 返回数据 totalCount Long 返回数据总条数 reserve String 扩展信息 表3 MessageTemplate 参数 参数类型 描述 id String 消息模板ID templateContent String 消息模板正文 templateName String 消息模板名称 messageType String 消息类型
  • 请求参数 表1 请求Body参数 参数 是否必选 参数类型 描述 input 否 Object 入参参数 pageInfo 否 PageInfo object 分页入参 表2 PageInfo 参数 是否必选 参数类型 描述 orderBy 否 String 排序字段 sort 否 String 升序/降序 curPage 否 Integer 当前查询页码 pageSize 否 Integer 每页查询条数 totalRows 否 Integer 总条数
  • 请求参数 表1 请求Body参数 参数 是否必选 参数类型 描述 orderID 否 String orderID clientID 否 String 客户ID userID 否 String 用户ID input 否 Array of CreateDocExtReqVo objects 输入 表2 CreateDocExtReqVo 参数 是否必选 参数类型 描述 docMark 否 String 序列 pdcpName 否 String 决策评审点名称 languageName 否 String 语言名称 securityName 否 String 密级名称
  • 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 data AsyncBatchCreateData object 创建结果 表4 AsyncBatchCreateData 参数 参数类型 描述 jobId String 异步任务ID idMappings Array of BatchGenerateDocNumberRespVo objects ID哈希表 表5 BatchGenerateDocNumberRespVo 参数 参数类型 描述 docNumber String 文档编码 docMark String 批量请求标识,同批中每项的唯一性标识,唯一即可
  • 请求参数 表1 请求Body参数 参数 是否必选 参数类型 描述 orderID 否 String 批次号,调用系统跟踪日志使用,唯一即可 clientID 否 String 接口调用方系统简称 userID 否 String 用户ID,用户账号 input 否 SearchDocNameReqVO object 查询文档名称请求入参 表2 SearchDocNameReqVO 参数 是否必选 参数类型 描述 name 是 String 文档名称
  • 响应示例 状态码: 200 带分页的标准响应体 { "msg" : null, "code" : 0, "data" : [ { "processInstanceId" : "04b6df66-e06b-11ee-a306-fa163e3e9603", "processDefinitionName" : "WXR2024031201", "processDefinitionNameCn" : "WXR2024031201", "businessKey" : "P10000538", "title" : "WXR2024031201_2024-03-12T20:21:13.868+0800", "category" : "http://bpmn.io/schema/bpmn", "createdByName" : "hid_ryk8erneykog7xq", "processInstanceStartTime" : 1710246074028, "processInstanceEndTime" : null, "state" : "ACTIVE", "lifeCycleState" : null, "taskList" : [ { "processInstanceId" : "04b6df66-e06b-11ee-a306-fa163e3e9603", "taskId" : "1104e5be-e06b-11ee-a306-fa163e3e9603", "taskDefinitionKey" : "Activity_1voprlj", "taskDefinitionName" : "用户任务", "handlers" : "u.hid_ryk8erneykog7xq", "userIds" : "1008600000046291663", "groupIds" : "", "ccuserIds" : "", "ccUserNames" : null, "startTime" : 1710246094672, "endTime" : null, "status" : "doing", "createdBy" : "1008600000046291663", "createName" : null, "approvalUserName" : null }, { "processInstanceId" : "04b6df66-e06b-11ee-a306-fa163e3e9603", "taskId" : "04b7f0e2-e06b-11ee-a306-fa163e3e9603", "taskDefinitionKey" : "Activity_0g0ayay", "taskDefinitionName" : "用户任务", "handlers" : "u.hid_ryk8erneykog7xq", "userIds" : "1008600000046291663", "groupIds" : "", "ccuserIds" : "", "ccUserNames" : null, "startTime" : 1710246074035, "endTime" : 1710246094662, "status" : "finished", "createdBy" : "1008600000046291663", "createName" : null, "approvalUserName" : "hid_ryk8erneykog7xq" } ], "site" : null } ], "pageInfo" : { "totalRows" : 1, "curPage" : 1, "pageSize" : 1, "totalPages" : 1 }, "orderID" : "83b252e6e6384be7b8374a46307781b8" }
  • 响应参数 状态码: 200 表3 响应Body参数 参数 参数类型 描述 orderId String 请求跟踪流水号 msg String 接口响应信息 code Integer 接口返回码 data Array of HistoricProcessInstanceVO objects 接口响应数据,JSON对象或数组 pageInfo PageVo object 标准响应体分页信息 表4 HistoricProcessInstanceVO 参数 参数类型 描述 processInstanceId String 流程实例ID processDefinitionId String 流程定义ID(拼接字段:流程模板key+版本+流程实例ID) processDefinitionName String 流程模板ID processDefinitionNameCn String 流程模板名称 businessKey String 业务流水号 taskDefinitionKey String 任务节点流水号 taskDefinitionName String 任务节点名称 startTime String 开始时间 title String 流程标题 state String 流程实例运行状态 lifeCycleState String 生命周期状态 handlers String 处理人 userIds String 用户ID集合 lastUpdateDate String 最后更新时间 suspensionState String 流程暂停状态 processInstanceStartTime String 流程实例开始时间 processInstanceEndTime String 流程实例结束时间 createdBy String 创建人ID createdByName String 创建人账号 endTime String 结束时间 tenantId String 租户ID userId String 用户ID createStartTime String 创建开始时间 createEndTime String 创建结束时间 createTaskTime String 任务创建时间 completeStartTime String 审批结束的开始时间 category String 流程类型 completeEndTime String 审批结束的结束时间 transferSign String 代办标志:0代表全部我的代办,1代表可以转审的 taskId String 任务ID startUserId String 启动用户ID startUserName String 启动用户名字 taskUrl String 任务的URL filterResult Array of strings 定制返回结果 groupIdList Array of strings group ID集合 sequenceCount Integer 序列数 lastUpdateBy String 最后更新人 lastUpdateName String 最后更新人名称 operationState String 流程操作状态 site String 引擎站点标识 dueDate String 截止日期 表5 PageVo 参数 参数类型 描述 totalRows Integer 总共有多少条数据 curPage Integer 当前是第几页 pageSize Integer 一页有多少条数据 totalPages Integer 总共有多少页
  • URI POST /services/workflow/queryProcessesInstanceList/{pageSize}/{curPage} 示例接口地址:{域名(有文根需带文根)}/pdmcore/ipdcworkflowservice/services/workflow/queryProcessesInstanceList/2/1 表1 路径参数 参数 是否必选 参数类型 描述 pageSize 是 String 分页大小 curPage 是 String 当前页数
  • 请求参数 表2 请求body参数,筛选条件 参数 是否必选 参数类型 描述 pageSize 否 Integer 每页的条数 curPage 否 Integer 当前页数 processSearchType 否 String 查询类型 approvalUserName 否 String 审批人 processInstanceId 否 String 流程实例ID processInstanceIds 否 Array of strings 流程实例ID集合 category 否 String 流程分类 title 否 String 流程名称 titleCn 否 String 流程标题中文 titles 否 Array of strings 流程标题列表 processDefinitionName 否 String 流程类型名称 processDefinitionNameCn 否 String 流程类型名称中文 processDefinitionNames 否 Array of strings 流程类型名称集合 businessKey 否 String 流程编码 businessKeys 否 Array of strings 流程编码集合 createdByName 否 String 流程的创建人 creatBy 否 String 流程的创建人短工号 state 否 String 流程实例状态 states 否 Array of strings 流程状态集合 startTimeStart 否 String 流程实例创建时间 startTimeEnd 否 String 流程实例创建时间 endTimeStart 否 String 流程实例结束时间 endTimeEnd 否 String 流程实例结束时间 taskStatus 否 String 任务状态 taskDefinitionKey 否 String 任务节点Key taskDefinitionKeys 否 Array of strings 任务节点Key集合 taskDefinitionName 否 String 任务名称 taskDefinitionNames 否 Array of strings 任务名称集合 handlers 否 Array of strings 处理人短工号集合 ccUserNames 否 Array of strings 当前任务抄送人 includeColumn 否 String 需要展示任务列表 i18n 否 Integer 国际化标识 lifeCycleState 否 String 生命周期状态 lifeCycleStates 否 Array of strings 生命周期状态集合 sites 否 Array of strings 引擎站点标识 unionQuery 否 String 查询标识
  • 请求示例 示例一: [ { "fromSysId": "0", "fromSysMessageId": "basic2234567415966011", "fromUserAccountId": "1008600000015687941", "sendTime": "2023-10-17 11:03:26", "messageType": "AUTHORIZATION_NOTIFICATION", "messageSubject": "消息主题06", "messageContent": "消息内容06", "messageRedirectUrl": "http://w3.huawei.com/next/indexa.html?locale=zh#path=home", "deliveryType": "USER", "receiver": ["1008600000055320663"] } ] 示例二: [ { "fromSysId": "0", "fromSysMessageId": "basic0templatemsgtest0001", "fromUserAccountId": "75fa53d9-072a-4edc-85e9-7074b0d3e836", "sendTime": "2023-10-17 11:03:26", "messageType": "AUTHORIZATION_NOTIFICATION", "messageSubject": "使用消息模板进行消息发送", "messageTemplateName": "授权申请提醒", "messageData": { "username": "用户1", "applyName": "基础服务" }, "messageContent": "", "messageRedirectUrl": "http://w3.huawei.com/next/indexa.html?locale=zh#path=home", "deliveryType": "USER", "receiver": [ "05209014da3a49faa68056102da7ba35" ], "tenantId": "9190086000001150600" } ]
  • 请求参数 表1 请求Body参数 参数 是否必选 参数类型 描述 messageRequestList 是 Array of MessageRequest 入参参数 表2 MessageRequest 参数 是否必选 参数类型 描述 fromSysId 否 String 来源系统ID(与fromSys二选一) fromSys 否 String 来源系统名称(与fromSysId二选一,此值需要在IPDCenter系统中有数据) fromSysMessageId 是 String 来源系统内部消息标识(此值由“来源系统”定义且唯一) fromUserAccountId 是 String 申请人账号ID sendTime 是 String 申请时间(yyyy-MM-dd HH:mm:ss) messageType 是 String 消息类型: APPROVAL_NOTIFICATION审批通知 AUTHORIZATION_NOTIFICATION授权提醒 SYSTEM_NOTIFICATION系统通知 messageSubject 否 String 消息主题(来源系统定义,如果未定义默认与messageTemplateName一致) messageTemplateName 否 String 消息模板名称(调用查询消息模板信息接口获取) messageData 否 JSONObject 消息数据(模板内容填充,与消息模板相关,如消息模板中有占位符{type},则此值中需存在名为type的key) messageContent 否 String 消息内容(和消息模板二选一) messageRedirectUrl 否 String 消息跳转地址 deliveryType 是 String 消息投递类型: USER指定用户消息 receiver 否 Array of String 消息接收者(MessageDeliveryType为USER时需要传User ID) tenantId 否 Long 租户ID
  • URI POST /console/servicetask/api/localMethod/navtree/getNavigateTree 示例接口地址:{域名(有文根需带文根)}/pdmcore/ipdcworkflowservice/console/servicetask/api /localMethod/navtree/getNavigateTree?processTemplate=Test0425&processInstanceId=867272db-037c-11ef-8a3a-fa163eaf0a4f&templateVersion=6&startNodeVisible=true 表1 Query参数 参数 是否必选 参数类型 描述 processTemplate 否 String 流程模板名称 processInstanceId 否 String 流程实例ID(可通过启动流程接口返回值里面获取processInstanceId) templateVersion 否 String 流程模板版本 startNodeVisible 否 boolean 默认true
  • 配置模板卡片的配置文件 打开文本编辑工具,新建一个文件。 您也可以在开发工具新建一个文件作为配置文件。 在文件中填写配置文件信息,配置文件的参数配置说明请参见生命周期数据卡片配置文件参数配置说明。 配置文件格式如下: { "label": "标签名称", "sourceEntityName": "Source", "labelField": "${labelField2}", "dataCardList": [ { "cardName": "xxx", "relationEntityName": "Relation", "targetEntityName": "Target", "completionStatusList": ["state1"] } ] } 将配置文件保存在本地,文件需要保存为json格式。
共100000条