public interface WorkflowEngine
| 限定符和类型 | 方法和说明 |
|---|---|
Integer |
cancelProcess(String processDefName,
String businessId,
String operator)
取消审核
|
Integer |
executeTask(ExecuteTaskDto executeTaskDto)
执行任务
|
void |
initProcess()
初始化流程定义
|
void |
initProcess(ProcessDefConfig processDefConfig)
初始化流程定义
|
ProcessInstanceService |
processInstanceService()
获取流程实例service
|
Integer |
rejectTask(String processDefName,
String businessId,
String operator,
String reason)
驳回任务
|
Integer |
rejectToPreNode(String processDefName,
String businessId,
String operator,
String reason)
驳回到上个节点
|
Integer |
startProcessAndExecuteFirstTask(ProcessStartDto processStartDto,
boolean cancel)
通过流程定义名称启动流程, 并执行第一个任务
|
Integer |
startProcessByName(ProcessStartDto processStartDto,
boolean cancel)
通过流程定义名称启动流程
|
void initProcess(ProcessDefConfig processDefConfig)
processDefConfig - 流程定义void initProcess()
Integer startProcessByName(ProcessStartDto processStartDto, boolean cancel)
processStartDto - 流程启动参数cancel - 是否取消Integer startProcessAndExecuteFirstTask(ProcessStartDto processStartDto, boolean cancel)
processStartDto - 流程启动参数Integer executeTask(ExecuteTaskDto executeTaskDto)
executeTaskDto - 执行任务参数Integer rejectTask(String processDefName, String businessId, String operator, String reason)
processDefName - 流程定义名称businessId - 业务idoperator - 任务受理人reason - 原因Integer rejectToPreNode(String processDefName, String businessId, String operator, String reason)
processDefName - 流程定义名称businessId - 业务idoperator - 任务受理人reason - 原因Integer cancelProcess(String processDefName, String businessId, String operator)
processDefName - 流程定义名称businessId - 业务idoperator - 取消人ProcessInstanceService processInstanceService()
Copyright © 2021-Now–2023. All rights reserved.