|
|
@ -453,7 +453,7 @@ public class ExecutorService extends BaseService{ |
|
|
|
TaskDependType nodeDep, FailureStrategy failureStrategy, |
|
|
|
TaskDependType nodeDep, FailureStrategy failureStrategy, |
|
|
|
String startNodeList, String schedule, WarningType warningType, |
|
|
|
String startNodeList, String schedule, WarningType warningType, |
|
|
|
int excutorId, int warningGroupId, |
|
|
|
int excutorId, int warningGroupId, |
|
|
|
RunMode runMode,Priority processInstancePriority, int workerGroupId) throws ParseException { |
|
|
|
RunMode runMode,Priority processInstancePriority, int workerGroupId){ |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
/** |
|
|
|
* instantiate command schedule instance |
|
|
|
* instantiate command schedule instance |
|
|
@ -496,6 +496,7 @@ public class ExecutorService extends BaseService{ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// determine whether to complement
|
|
|
|
if(commandType == CommandType.COMPLEMENT_DATA){ |
|
|
|
if(commandType == CommandType.COMPLEMENT_DATA){ |
|
|
|
runMode = (runMode == null) ? RunMode.RUN_MODE_SERIAL : runMode; |
|
|
|
runMode = (runMode == null) ? RunMode.RUN_MODE_SERIAL : runMode; |
|
|
|
if(null != start && null != end && start.before(end)){ |
|
|
|
if(null != start && null != end && start.before(end)){ |
|
|
@ -540,7 +541,7 @@ public class ExecutorService extends BaseService{ |
|
|
|
processDefineId, schedule); |
|
|
|
processDefineId, schedule); |
|
|
|
} |
|
|
|
} |
|
|
|
}else{ |
|
|
|
}else{ |
|
|
|
command.setCommandParam(JSONUtils.toJson(cmdParam)); |
|
|
|
|
|
|
|
return processService.createCommand(command); |
|
|
|
return processService.createCommand(command); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|