[Fix-13976][dao] task complete contain force success state (#14611)

Co-authored-by: eye <eye.gu@aloudata.com>
Co-authored-by: xiangzihao <460888207@qq.com>
(cherry picked from commit 50cc65b118)
This commit is contained in:
eye-gu 2023-07-21 11:50:29 +08:00 committed by Jay Chung
parent 50054411c3
commit 19ddae177e
1 changed files with 2 additions and 1 deletions

View File

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