Browse Source

update tenant in ui

pull/2/head
lenboo 5 years ago
parent
commit
b8a9ef55de
  1. 2
      escheduler-server/src/main/java/cn/escheduler/server/worker/runner/TaskScheduleThread.java

2
escheduler-server/src/main/java/cn/escheduler/server/worker/runner/TaskScheduleThread.java

@ -182,7 +182,7 @@ public class TaskScheduleThread implements Callable<Boolean> {
);
status = ExecutionStatus.FAILURE;
}else{
taskProps.setTenantCode(taskInstance.getProcessInstance().getTenantCode());
taskProps.setTenantCode(tenant.getTenantCode());
String queue = processDao.queryQueueByProcessInstanceId(processInstance.getId());
// set queue
if (StringUtils.isEmpty(queue)){

Loading…
Cancel
Save