[Bug] [Master] Fix complementListDate will throw IndexOutOfBoundsException (#14361)
This commit is contained in:
parent
906353bbaf
commit
5cbe170e43
|
|
@ -672,6 +672,11 @@ public class WorkflowExecuteRunnable implements Callable<WorkflowSubmitStatus> {
|
|||
|
||||
Date scheduleDate = processInstance.getScheduleTime();
|
||||
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);
|
||||
} else if (processInstance.getState().isFinished()) {
|
||||
endProcess();
|
||||
|
|
|
|||
Loading…
Reference in New Issue