diff --git a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java index 0a0b4876e4..b71a229ff5 100644 --- a/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java +++ b/dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/TaskInstance.java @@ -347,7 +347,8 @@ public class TaskInstance implements Serializable { return this.getState().isSuccess() || this.getState().isKill() - || (this.getState().isFailure() && !taskCanRetry()); + || (this.getState().isFailure() && !taskCanRetry()) + || this.getState().isForceSuccess(); } public boolean isSubProcess() {