Fix the complement function does not generate the next running instances in parallel mode (#14335)
(cherry picked from commit 75f4fa2881)
This commit is contained in:
parent
682e881ea7
commit
57f3c89dd2
|
|
@ -732,8 +732,9 @@ public class WorkflowExecuteRunnable implements Callable<WorkflowSubmitStatus> {
|
|||
command.setProcessInstanceId(0);
|
||||
command.setProcessDefinitionVersion(processInstance.getProcessDefinitionVersion());
|
||||
command.setTestFlag(processInstance.getTestFlag());
|
||||
int create = commandService.createCommand(command);
|
||||
processService.saveCommandTrigger(command.getId(), processInstance.getId());
|
||||
return commandService.createCommand(command);
|
||||
return create;
|
||||
}
|
||||
|
||||
private boolean needComplementProcess() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue