工作流发起报错修复

This commit is contained in:
guoshengxiong 2025-01-14 14:26:24 +08:00
parent 3b0e172621
commit f437ad651b

View File

@ -142,7 +142,6 @@ public class ProcessInstanceServiceImpl implements ProcessInstanceService {
taskService.complete(rootTask.getId());
}
Authentication.setAuthenticatedUserId(null);
runtimeService.updateBusinessStatus(processInstance.getProcessInstanceId(), ProcessStatus.PRE_RUNNING.toString());
return processInstance.getProcessInstanceId();
}