[Bug] [Master] Fix complementListDate will throw IndexOutOfBoundsException (#14361)
This commit is contained in:
parent
64e81c0e83
commit
a06f5ad7ad
|
|
@ -605,6 +605,11 @@ public class WorkflowExecuteRunnable implements Callable<WorkflowSubmitStatue> {
|
|||
|
||||
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