|
@@ -823,7 +823,7 @@ public class WorkflowExecuteThread {
|
|
|
public void checkSerialProcess(ProcessDefinition processDefinition) {
|
|
|
int nextInstanceId = processInstance.getNextProcessInstanceId();
|
|
|
if (nextInstanceId == 0) {
|
|
|
- ProcessInstance nextProcessInstance = this.processService.loadNextProcess4Serial(processInstance.getProcessDefinition().getCode(), ExecutionStatus.SERIAL_WAIT.getCode());
|
|
|
+ ProcessInstance nextProcessInstance = this.processService.loadNextProcess4Serial(processInstance.getProcessDefinition().getCode(), ExecutionStatus.SERIAL_WAIT.getCode(), processInstance.getId());
|
|
|
if (nextProcessInstance == null) {
|
|
|
return;
|
|
|
}
|