diff --git a/escheduler-server/src/main/java/cn/escheduler/server/worker/runner/FetchTaskThread.java b/escheduler-server/src/main/java/cn/escheduler/server/worker/runner/FetchTaskThread.java index fb96763add..f505f817d8 100644 --- a/escheduler-server/src/main/java/cn/escheduler/server/worker/runner/FetchTaskThread.java +++ b/escheduler-server/src/main/java/cn/escheduler/server/worker/runner/FetchTaskThread.java @@ -244,7 +244,7 @@ public class FetchTaskThread implements Runnable{ private String getExecLocalPath(){ return FileUtils.getProcessExecDir(taskInstance.getProcessDefine().getProjectId(), taskInstance.getProcessDefine().getId(), - taskInstance.getProcessDefine().getId(), + taskInstance.getProcessInstance().getId(), taskInstance.getId()); } /**