Browse Source

[Bug-12954] [Schedule] Fix that workflow-level configuration information does not take effect when timing triggers execution (#12955)

(cherry picked from commit 2f8f0952fb)
3.0.3-release
Kerwin 2 years ago committed by Jay Chung
parent
commit
a28e206166
  1. 1
      dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/quartz/ProcessScheduleJob.java

1
dolphinscheduler-service/src/main/java/org/apache/dolphinscheduler/service/quartz/ProcessScheduleJob.java

@ -91,6 +91,7 @@ public class ProcessScheduleJob extends QuartzJobBean {
command.setWarningGroupId(schedule.getWarningGroupId());
String workerGroup = StringUtils.isEmpty(schedule.getWorkerGroup()) ? Constants.DEFAULT_WORKER_GROUP : schedule.getWorkerGroup();
command.setWorkerGroup(workerGroup);
command.setEnvironmentCode(schedule.getEnvironmentCode());
command.setWarningType(schedule.getWarningType());
command.setProcessInstancePriority(schedule.getProcessInstancePriority());
command.setProcessDefinitionVersion(processDefinition.getVersion());

Loading…
Cancel
Save