|
|
@ -672,6 +672,11 @@ public class WorkflowExecuteRunnable implements Callable<WorkflowSubmitStatus> { |
|
|
|
|
|
|
|
|
|
|
|
Date scheduleDate = processInstance.getScheduleTime(); |
|
|
|
Date scheduleDate = processInstance.getScheduleTime(); |
|
|
|
if (scheduleDate == null) { |
|
|
|
if (scheduleDate == null) { |
|
|
|
|
|
|
|
if (CollectionUtils.isEmpty(complementListDate)) { |
|
|
|
|
|
|
|
log.info("complementListDate is empty, process complement end. process id:{}", processInstance.getId()); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return true; |
|
|
|
|
|
|
|
} |
|
|
|
scheduleDate = complementListDate.get(0); |
|
|
|
scheduleDate = complementListDate.get(0); |
|
|
|
} else if (processInstance.getState().isFinished()) { |
|
|
|
} else if (processInstance.getState().isFinished()) { |
|
|
|
endProcess(); |
|
|
|
endProcess(); |
|
|
|