流程任务列表
简述:
- 【流程任务】列表(分页条件查询)数据
请求URL:
- http://ip:port/ibps/business/v3/bpm/task/query
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
请求参数示例:
{
"parameters": [],
"requestPage": {
"pageNo": 1,
"limit": 20
},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"dataResult": [{
"pk": "",
"name": "发起人填写",
"ip": null,
"createBy": null,
"createTime": "2020-02-25 14:16:36",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "681867142668222465",
"subject": "管理员在2020-02-25 14:15:03发起子流程并行不直接结束",
"procInstId": "681867141829361664",
"taskId": "681867142668222465",
"execId": "681867141795807232",
"nodeId": "UserTask_09qxbcz",
"procDefId": "655117127337902080",
"procDefKey": "Process_0svo0ps_UserTask_0ky8mm1_Process_0hwv6vc",
"procDefName": "启动直接会签并行",
"status": "NORMAL",
"priority": 50,
"dueTime": null,
"suspendState": 1,
"parentId": null,
"bpmnInstId": "681867141795807232",
"bpmnDefId": "655117127560200192",
"typeId": "654756730873315328",
"lockState": 0,
"lockUser": "0",
"allowShfit": "N",
"authorizeRight": {
"authType": "task",
"defKey": null,
"managementEdit": "N",
"managementDel": "N",
"managementStart": "N",
"managementSet": "N",
"managementInternational": "N",
"managementClean": "N",
"managementGuideEdit": "N",
"instanceDel": "N",
"instanceLog": "N",
"rightContent": "{}",
"rightJsonObj": {}
},
"partyTypeName": "流程测试01,流程测试02,流程测试负责人",
"identityList": [{
"id": "655072460911149056",
"name": null,
"email": null,
"mobile": null,
"wcAccount": null,
"type": "employee",
"groupType": null,
"extractType": null,
"relType": null
}, {
"id": "655072634219790336",
"name": null,
"email": null,
"mobile": null,
"wcAccount": null,
"type": "employee",
"groupType": null,
"extractType": null,
"relType": null
}, {
"id": "655072778055057408",
"name": null,
"email": null,
"mobile": null,
"wcAccount": null,
"type": "employee",
"groupType": null,
"extractType": null,
"relType": null
}],
"skipResult": null,
"ownerName": "流程测试01,流程测试02,流程测试负责人",
"remindTimes": 0,
"ownerId": null,
"identityEmpty": false
}],
"pageResult": {
"limit": 20,
"page": 1,
"totalCount": 201,
"totalPages": 11
}
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
dataResult | List< BpmTaskPo > | 流程任务列表数据 |
pageResult | Object | 分页数据 |
根据id获取对象信息
简述:
- 根据id获取对象信息
请求URL:
- http://ip:port/ibps/business/v3/bpm/task/get
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | String | 是 | 主键id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/task/get?id=681867142668222465
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"pk": "",
"name": "发起人填写",
"ip": null,
"createBy": null,
"createTime": "2020-02-25 14:16:36",
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "681867142668222465",
"subject": "管理员在2020-02-25 14:15:03发起子流程并行不直接结束",
"procInstId": "681867141829361664",
"taskId": "681867142668222465",
"execId": "681867141795807232",
"nodeId": "UserTask_09qxbcz",
"procDefId": "655117127337902080",
"procDefKey": "Process_0svo0ps_UserTask_0ky8mm1_Process_0hwv6vc",
"procDefName": "启动直接会签并行",
"status": "NORMAL",
"priority": 50,
"dueTime": null,
"suspendState": 1,
"parentId": null,
"bpmnInstId": "681867141795807232",
"bpmnDefId": "655117127560200192",
"typeId": "654756730873315328",
"lockState": 0,
"lockUser": "0",
"allowShfit": "Y",
"authorizeRight": null,
"partyTypeName": null,
"identityList": null,
"skipResult": null,
"ownerName": null,
"remindTimes": 0,
"ownerId": null,
"identityEmpty": false
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | BpmTaskPo | 流程任务对象 |
保存
简述:
- 保存流程任务
请求URL:
- http://ip:port/ibps/business/v3/bpm/task/save
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
id | String | 否 | 主键id | ||
name | String | 是 | 任务名称 | ||
subject | String | 是 | 待办事项标题 | ||
procInstId | String | 是 | 关联 - 流程实例ID | ||
taskId | String | 是 | 关联的任务ID | ||
execId | String | 是 | 关联 - 节点执行ID | ||
nodeId | String | 是 | 关联 - 任务节点ID | ||
procDefId | String | 是 | 关联 - 流程定义ID | ||
procDefKey | String | 是 | 关联 - 流程业务主键 | ||
procDefName | String | 是 | 关联 - 流程名称 | ||
status | String | 否 | 任务状态 | ||
priority | String | 否 | 任务优先级 | ||
createTime | Date | 否 | 任务创建时间 | ||
dueTime | Date | 否 | 任务到期时间 | ||
suspendState | Integer | 否 | 是否挂起(1正常,2挂起) | ||
parentId | String | 否 | 父任务ID | ||
bpmnInstId | String | 否 | BPMN流程实例ID | ||
bpmnDefId | String | 否 | BPMN流程定义ID | ||
typeId | String | 否 | 分类ID | ||
lockState | Integer | 否 | 是否锁定(0正常,1锁定) | ||
lockUser | String | 否 | 0 | 任务执行人ID |
请求参数示例:
暂无例子
返回示例:
{
"state": 200,
"request": null,
"message": "保存流程任务成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
删除
简述:
- 批量删除流程任务
请求URL:
- http://ip:port/ibps/business/v3/bpm/task/remove
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- POST
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
ids | String | 是 | 主键id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/task/remove?ids=654357778126602240,638399136323862528
返回示例:
{
"state": 200,
"request": null,
"message": "删除流程任务成功",
"cause": "",
"variables": {},
"data": null
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
管理员处理任务页面所需信息
简述:
- 管理员处理任务页面所需信息
请求URL:
- http://ip:port/ibps/business/v3/bpm/task/doNext
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
taskId | String | 是 | 主键id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/task/doNext?taskId=681867142668222465
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"suspendState": "1",
"lockUser": "",
"actionEntry": "approval",
"taskId": "681867142668222465"
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Map<String,Object> | 任务相关信息 |
用户跳转到任务处理页面
简述:
- 用户跳转到任务处理页面
请求URL:
- http://ip:port/ibps/business/v3/bpm/task/toStart
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
taskId | String | 是 | 主键id |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/task/toStart?taskId=681867142668222465
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"suspendState": "1",
"lockUser": "",
"actionEntry": "dealt",
"taskId": "681867142668222465"
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Map<String,Object> | 任务相关信息 |
获取任务的详情
简述:
- 获取任务的详情
请求URL:
- http://ip:port/ibps/business/v3/bpm/task/getFormData
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
taskId | String | 是 | 主键id | ||
actionEntry | String | 否 | 动作集合 | approval/other |
- Body:
暂无
请求参数示例:
http://192.168.3.230:15100/ibps/business/v3/bpm/task/getFormData?taskId=681867142668222465
返回示例:
{
"state": 200,
"request": null,
"message": "",
"cause": "",
"variables": {},
"data": {
"boData": "{\"zuoZhe\":\"李四\",\"createBy\":\"1\",\"createTime\":\"2020-02-25 14:15:04\",\"updateBy\":\"1\",\"ip\":\"192.168.3.210\",\"tenantId\":\"\",\"updateTime\":\"2020-02-25 14:16:31\",\"biaoTi\":\"测试子流程设置执行人\",\"id\":\"681866759921205248\",\"neiRong\":\"测试子流程\",\"jingFei\":\"200\"}",
"buttons": [
{
"name": "锁定",
"alias": "lock",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": null,
"aliasName": null
},
{
"name": "同意",
"alias": "agree",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": null,
"aliasName": null
},
{
"name": "反对",
"alias": "oppose",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": null,
"aliasName": null
},
{
"name": "驳回",
"alias": "reject",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": null,
"aliasName": null
},
{
"name": "驳回发起人",
"alias": "rejectToStart",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": null,
"aliasName": null
},
{
"name": "驳回上一步",
"alias": "rejectToPrevious",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": null,
"aliasName": null
},
{
"name": "审批历史",
"alias": "approvalHistory",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": null,
"aliasName": null
},
{
"name": "流程图",
"alias": "flowImage",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": null,
"aliasName": null
},
{
"name": "打印",
"alias": "print",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": null,
"aliasName": null
},
{
"name": "终止流程",
"alias": "endProcess",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": null,
"aliasName": null
},
{
"name": "挂起",
"alias": "suspendProcess",
"code": null,
"beforeScript": null,
"afterScript": null,
"supportScript": null,
"aliasName": null
}
],
"permissions": "{\"tables\":{},\"opinions\":{},\"fields\":{}}",
"attributes": {
"formOpinionSetting": {},
"isHideOpinion": false,
"isHiddenDelegate": true,
"opinionList": [
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1582611305000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "681866762462953472",
"procDefId": "Process_0svo0ps:1:654783121702518784",
"supInstId": null,
"procInstId": "681866758260260864",
"taskKey": "startNode",
"taskId": null,
"taskName": "发起节点",
"token": null,
"qualfieds": "[{\"id\":\"1\",\"type\":\"employee\"}]",
"auditor": "1",
"opinion": "提交",
"status": "submit",
"assignTime": null,
"completeTime": 1582611305000,
"durMs": 0,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "1",
"executor": "1"
}
],
"userImg": "/file/getImage?attachmentId=666949997832437760",
"statusName": "提交",
"auditorName": "管理员",
"subject": null,
"batch": null,
"nodeColor": "#4283fd",
"callSub": false
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1582611308000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "681866780737536000",
"procDefId": "Process_0svo0ps:1:654783121702518784",
"supInstId": "0",
"procInstId": "681866758260260864",
"taskKey": "UserTask_0gfyf79",
"taskId": "681866775242997761",
"taskName": "审核",
"token": null,
"qualfieds": "[{id:\"655073306109542400\",type:\"employee\"}]",
"auditor": "1",
"opinion": "测试同意!",
"status": "agree",
"assignTime": null,
"completeTime": 1582611392000,
"durMs": 83689,
"interpose": 1,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "655073306109542400",
"executor": "655073306109542400"
}
],
"userImg": "/file/getImage?attachmentId=666949997832437760",
"statusName": "同意",
"auditorName": "管理员",
"subject": null,
"batch": null,
"nodeColor": "#04B913",
"callSub": false
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1582611392000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "681867128013324288",
"procDefId": "Process_0svo0ps:1:654783121702518784",
"supInstId": null,
"procInstId": "681866758260260864",
"taskKey": "UserTask_0ky8mm1",
"taskId": null,
"taskName": "会签子流程",
"token": null,
"qualfieds": "[{\"id\":\"1\",\"type\":\"employee\"}]",
"auditor": "1",
"opinion": "外部子流程",
"status": "callSubProc",
"assignTime": null,
"completeTime": 1582611392000,
"durMs": 0,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "1",
"executor": "1"
}
],
"userImg": "/file/getImage?attachmentId=666949997832437760",
"statusName": "外部子流程",
"auditorName": "管理员",
"subject": null,
"batch": null,
"nodeColor": "#033651",
"callSub": true
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1582611393000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "681867134795513856",
"procDefId": "655117127560200192",
"supInstId": "681866758260260864",
"procInstId": "681867133981818880",
"taskKey": "startNode",
"taskId": null,
"taskName": "发起节点",
"token": null,
"qualfieds": "[{\"id\":\"1\",\"type\":\"employee\"}]",
"auditor": "1",
"opinion": "提交",
"status": "submit",
"assignTime": null,
"completeTime": 1582611393000,
"durMs": 0,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "1",
"executor": "1"
}
],
"userImg": "/file/getImage?attachmentId=666949997832437760",
"statusName": "提交",
"auditorName": "管理员",
"subject": null,
"batch": null,
"nodeColor": "#4283fd",
"callSub": false
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1582611393000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "681867137807024128",
"procDefId": "655117127560200192",
"supInstId": "681866758260260864",
"procInstId": "681867133981818880",
"taskKey": "UserTask_09qxbcz",
"taskId": "681867134845845505",
"taskName": "发起人填写",
"token": null,
"qualfieds": "[{\"type\":\"employee\",\"executId\":\"655072460911149056\",\"executor\":\"流程测试01\"},{\"type\":\"employee\",\"executId\":\"655072634219790336\",\"executor\":\"流程测试02\"},{\"type\":\"employee\",\"executId\":\"655072778055057408\",\"executor\":\"流程测试负责人\"}]",
"auditor": null,
"opinion": "",
"status": "pending",
"assignTime": null,
"completeTime": null,
"durMs": null,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "655072460911149056",
"executor": "流程测试01"
},
{
"type": "employee",
"executId": "655072634219790336",
"executor": "流程测试02"
},
{
"type": "employee",
"executId": "655072778055057408",
"executor": "流程测试负责人"
}
],
"userImg": null,
"statusName": "待审批",
"auditorName": null,
"subject": null,
"batch": null,
"nodeColor": "#e21100",
"callSub": false
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1582611394000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "681867138817851392",
"procDefId": "655117127560200192",
"supInstId": "681866758260260864",
"procInstId": "681867137974796288",
"taskKey": "startNode",
"taskId": null,
"taskName": "发起节点",
"token": null,
"qualfieds": "[{\"id\":\"1\",\"type\":\"employee\"}]",
"auditor": "1",
"opinion": "提交",
"status": "submit",
"assignTime": null,
"completeTime": 1582611394000,
"durMs": 0,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "1",
"executor": "1"
}
],
"userImg": "/file/getImage?attachmentId=666949997832437760",
"statusName": "提交",
"auditorName": "管理员",
"subject": null,
"batch": null,
"nodeColor": "#4283fd",
"callSub": false
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1582611394000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "681867141653200896",
"procDefId": "655117127560200192",
"supInstId": "681866758260260864",
"procInstId": "681867137974796288",
"taskKey": "UserTask_09qxbcz",
"taskId": "681867138868183041",
"taskName": "发起人填写",
"token": null,
"qualfieds": "[{\"type\":\"employee\",\"executId\":\"655072460911149056\",\"executor\":\"流程测试01\"},{\"type\":\"employee\",\"executId\":\"655072634219790336\",\"executor\":\"流程测试02\"},{\"type\":\"employee\",\"executId\":\"655072778055057408\",\"executor\":\"流程测试负责人\"}]",
"auditor": null,
"opinion": "",
"status": "pending",
"assignTime": null,
"completeTime": null,
"durMs": null,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "655072460911149056",
"executor": "流程测试01"
},
{
"type": "employee",
"executId": "655072634219790336",
"executor": "流程测试02"
},
{
"type": "employee",
"executId": "655072778055057408",
"executor": "流程测试负责人"
}
],
"userImg": null,
"statusName": "待审批",
"auditorName": null,
"subject": null,
"batch": null,
"nodeColor": "#e21100",
"callSub": false
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1582611395000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "681867142617890816",
"procDefId": "655117127560200192",
"supInstId": "681866758260260864",
"procInstId": "681867141829361664",
"taskKey": "startNode",
"taskId": null,
"taskName": "发起节点",
"token": null,
"qualfieds": "[{\"id\":\"1\",\"type\":\"employee\"}]",
"auditor": "1",
"opinion": "提交",
"status": "submit",
"assignTime": null,
"completeTime": 1582611395000,
"durMs": 0,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "1",
"executor": "1"
}
],
"userImg": "/file/getImage?attachmentId=666949997832437760",
"statusName": "提交",
"auditorName": "管理员",
"subject": null,
"batch": null,
"nodeColor": "#4283fd",
"callSub": false
},
{
"pk": "",
"name": null,
"ip": null,
"createBy": null,
"createTime": 1582611395000,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"id": "681867145545515008",
"procDefId": "655117127560200192",
"supInstId": "681866758260260864",
"procInstId": "681867141829361664",
"taskKey": "UserTask_09qxbcz",
"taskId": "681867142668222465",
"taskName": "发起人填写",
"token": null,
"qualfieds": "[{\"type\":\"employee\",\"executId\":\"655072460911149056\",\"executor\":\"流程测试01\"},{\"type\":\"employee\",\"executId\":\"655072634219790336\",\"executor\":\"流程测试02\"},{\"type\":\"employee\",\"executId\":\"655072778055057408\",\"executor\":\"流程测试负责人\"}]",
"auditor": null,
"opinion": "",
"status": "pending",
"assignTime": null,
"completeTime": null,
"durMs": null,
"interpose": null,
"qualifiedExecutor": [
{
"type": "employee",
"executId": "655072460911149056",
"executor": "流程测试01"
},
{
"type": "employee",
"executId": "655072634219790336",
"executor": "流程测试02"
},
{
"type": "employee",
"executId": "655072778055057408",
"executor": "流程测试负责人"
}
],
"userImg": null,
"statusName": "待审批",
"auditorName": null,
"subject": null,
"batch": null,
"nodeColor": "#e21100",
"callSub": false
}
],
"isHidePath": true,
"formOpinion": {},
"isCommonJumpType": true,
"nodeId": "UserTask_09qxbcz",
"isEnd": false,
"proInstId": "681867141829361664"
},
"formModel": {
"pk": "",
"name": "",
"ip": null,
"createBy": null,
"createTime": null,
"updateBy": null,
"updateTime": null,
"tenantId": null,
"dataStatus": null,
"dbtype": null,
"nodeId": null,
"parentFlowKey": "local_",
"type": "INNER",
"formValue": "jdbd",
"editUrl": "",
"editFormRights": null,
"mobileValue": "",
"mobileUrl": "",
"mobileFormRights": null,
"mobileName": "",
"id": "654765562928300032",
"key": "jdbd",
"version": 0,
"mobileVersion": null,
"formData": "{\"id\":\"654765562928300032\",\"name\":\"简单表单\",\"desc\":\"\",\"key\":\"jdbd\",\"typeId\":\"654758420078919680\",\"mode\":\"bo\",\"attrs\":{\"inline\":false,\"labelPosition\":\"right\",\"labelWidth\":100,\"labelWidthUnit\":\"px\",\"size\":\"small\",\"statusIcon\":false,\"descPosition\":\"inline\",\"verifys\":[],\"script\":\"\",\"read_style\":\"text\",\"colon\":false},\"typeName\":\"流程相关表单\",\"busId\":\"654765464966135808\",\"code\":\"jdbd\",\"fields\":[{\"id\":\"654765713017274368\",\"name\":\"id\",\"label\":\"主键\",\"desc\":\"\",\"field_type\":\"hidden\",\"field_options\":{\"is_pk\":true,\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"id\"},{\"id\":\"654765713017274369\",\"name\":\"biaoTi\",\"label\":\"标题\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":true,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"biaoTi\"},{\"id\":\"654765713017274370\",\"name\":\"zuoZhe\",\"label\":\"作者\",\"desc\":\"\",\"field_type\":\"text\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"zuoZhe\"},{\"id\":\"654765713017274371\",\"name\":\"jingFei\",\"label\":\"经费\",\"desc\":\"\",\"field_type\":\"number\",\"field_options\":{\"default_value_type\":\"fixed\",\"placeholder\":\"请输入\",\"required\":false,\"is_min\":false,\"is_max\":false,\"hide_rights\":false,\"read_rights\":false,\"is_label_width\":false,\"label_width\":100,\"label_width_unit\":\"px\"},\"field_name\":\"jingFei\"},{\"id\":\"654765713017274372\",\"name\":\"neiRong\",\"label\":\"内容\",\"desc\":\"\",\"field_type\":\"textarea\",\"field_options\":{\"default_value_type\":\"fixed\",\"required\":false,\"placeholder\":\"请输入\",\"mobile\":true},\"field_name\":\"neiRong\"}]}",
"templateId": "",
"templateName": null,
"formSource": "flow"
},
"version": 0
}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data.buttons | List< Button > | 按钮信息 |
data.formModel | IFormModel | 表单 |
data.boData | String | bo数据 |
data.version | Integer | 版本号 |
data.permissions | String | 表单权限 |
data.attributes | Map<String, Object> | 表单内容相关信息 |
处理任务(批量)
简述:
- 处理任务(批量)(已废弃,请使用对应的agree、oppose等方法)
请求URL:
- http://ip:port/ibps/business/v3/bpm/task/completeBatch
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
动态参数包含以下:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
| :—–: | :—–: | :—–: | :—–: | :—– | :—– |
| taskIds | String | 是 | | 任务ID |
| actionName | String | 是 | | 动作别名 |
| opinion | String | 是 | | 审批意见 |
| data | String | 是 | | 表单数据 |
| nodeUsers | String | 是 | | 下节点人员 |
| directHandlerSign | String | 是 | | 会签处理模式 | true/false
| backHandMode | String | 是 | | 退回模式 |
请求参数示例:
{
"parameters": [{
"taskIds": "626866373389189120,626866373389189120",
"opinion": "test"
}],
"requestPage": {},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "任务办理成功",
"cause": "",
"variables": {},
"data": {}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
异步处理任务(批量)
简述:
- 异步处理任务(批量)(已废弃,请使用对应的agree、oppose等方法)
请求URL:
- http://ip:port/ibps/business/v3/bpm/task/completeBatch
- URL中的ip需要替换为自己网关ip
- URL中的port需要替换为自己网关端口
请求方式:
- GET
请求参数:
- Headers:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
X-Authorization-access_token | String | 是 | 系统令牌 |
- Query:
暂无
- Body:
名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
---|---|---|---|---|---|
request | APIRequest[1] | 是 | 动态查询请求对象 |
动态参数包含以下:
| 名称 | 类型 | 是否必须 | 默认值 | 备注 | 其他信息 |
| :—–: | :—–: | :—–: | :—–: | :—– | :—– |
| taskIds | String | 是 | | 任务ID |
| actionName | String | 是 | | 动作别名 |
| opinion | String | 是 | | 审批意见 |
| data | String | 是 | | 表单数据 |
| nodeUsers | String | 是 | | 下节点人员 |
| directHandlerSign | String | 是 | | 会签处理模式 | true/false
| backHandMode | String | 是 | | 退回模式 |
请求参数示例:
{
"parameters": [{
"taskIds": "626866373389189120,626866373389189120",
"opinion": "test"
}],
"requestPage": {},
"sorts": []
}
返回示例:
{
"state": 200,
"request": null,
"message": "任务提交成功",
"cause": "",
"variables": {},
"data": {}
}
返回参数说明:
名称 | 类型 | 备注 |
---|---|---|
data | Void |
备注
- [1] : APIRequest为动态查询请求对象,详情请移步全局请求格式