From dde5cb21037e04a10a1ddf602228796452bf5a62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E8=81=AA?= <389401879@qq.com> Date: Thu, 26 Sep 2019 10:27:04 +0800 Subject: [PATCH] [BUG][#888]repair the imported workflow timer is online and ineffective (#890) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (导入工作流定时器状态为上线,不起效果) --- .../cn/escheduler/api/service/ProcessDefinitionService.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/escheduler-api/src/main/java/cn/escheduler/api/service/ProcessDefinitionService.java b/escheduler-api/src/main/java/cn/escheduler/api/service/ProcessDefinitionService.java index 45d0b46e791d..813e4b13fb9a 100644 --- a/escheduler-api/src/main/java/cn/escheduler/api/service/ProcessDefinitionService.java +++ b/escheduler-api/src/main/java/cn/escheduler/api/service/ProcessDefinitionService.java @@ -570,7 +570,7 @@ public void exportProcessDefinitionById(User loginUser, String projectName, Inte row.put("scheduleEndTime", schedule.getEndTime()); row.put("scheduleCrontab", schedule.getCrontab()); row.put("scheduleFailureStrategy", schedule.getFailureStrategy()); - row.put("scheduleReleaseState", schedule.getReleaseState()); + row.put("scheduleReleaseState", ReleaseState.OFFLINE); row.put("scheduleProcessInstancePriority", schedule.getProcessInstancePriority()); if(schedule.getId() == -1){ row.put("scheduleWorkerGroupId", -1);