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

(cherry picked from commit 2f8f0952fb)
This commit is contained in:
Kerwin 2022-11-22 15:35:29 +08:00 committed by Jay Chung
parent 589221d4f7
commit a28e206166
1 changed files with 1 additions and 0 deletions

View File

@ -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());