feat(REQ-5965) - 更新变量
This commit is contained in:
parent
525c73b478
commit
9cce7f96af
@ -51,7 +51,7 @@ public class CustomOverrideProcessVariablesCmd extends AbstractCommand<Void> imp
|
||||
RuntimeService runtimeService = processEngineConfiguration.getRuntimeService();
|
||||
|
||||
ProcessInstance processInstance = runtimeService.createProcessInstanceQuery().processInstanceId(processInstanceId).singleResult();
|
||||
if (Objects.nonNull(processInstance)) {
|
||||
if (Objects.isNull(processInstance)) {
|
||||
throw new WorkflowEngineException(PROCESS_INSTANCE_NOT_EXISTS);
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user