书接上回
Activiti流程接口中台
接口实现
一、任务指派(委托)
/task/instance/{taskId}/reassign
查询 activiti 相关表
本方法使用的全部是 activiti 自带的API
1. 请求参数
{"assigneeId": "000001", "tenantId": "abcd"
}
2. 返回参数
{"code": 0,"message": "操作成功","time": "2023-08-09 16:44:34","request": {"tenantId": "abcd","assigneeId": "000001"}
}
3. 核心代码
- controller层
@ApiOperation(value = "指定任务接收人 委派")@RequestMapping(value = "/instance/{taskId}/reassign", method = RequestMethod.POST, produces = "application/json")public Result<TaskDelegateInfoRequest, Void> instanceReassign(@PathVariable("ta