mirror of
https://github.com/dromara/RuoYi-Vue-Plus.git
synced 2025-09-29 22:56:40 +08:00
还原代码
This commit is contained in:
parent
9ff82940ac
commit
bf692f2b26
@ -27,9 +27,4 @@ public interface FlowConstant {
|
||||
*/
|
||||
String PENDING = "PENDING";
|
||||
|
||||
/**
|
||||
* 流程启动者
|
||||
*/
|
||||
String INITIATOR = "initiator";
|
||||
|
||||
}
|
||||
|
@ -72,11 +72,10 @@ public class ActTaskServiceImpl implements IActTaskService {
|
||||
map.put("taskId", taskResult.get(0).getId());
|
||||
return map;
|
||||
}
|
||||
// 设置启动人
|
||||
Authentication.setAuthenticatedUserId(String.valueOf(LoginHelper.getUserId()));
|
||||
// 启动流程实例(提交申请)
|
||||
Map<String, Object> variables = startProcessBo.getVariables();
|
||||
// 设置启动人
|
||||
variables.put(FlowConstant.INITIATOR, String.valueOf(LoginHelper.getUserId()));
|
||||
// 启动跳过表达式
|
||||
variables.put("_FLOWABLE_SKIP_EXPRESSION_ENABLED", true);
|
||||
ProcessInstance pi = runtimeService.startProcessInstanceByKeyAndTenantId(startProcessBo.getProcessKey(), startProcessBo.getBusinessKey(), variables, TenantHelper.getTenantId());
|
||||
|
Loading…
Reference in New Issue
Block a user