Skip to content

Commit

Permalink
add partial status support
Browse files Browse the repository at this point in the history
  • Loading branch information
ulixius9 committed Sep 26, 2024
1 parent 840f06c commit 9a53b48
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,10 @@ public void jobWasExecuted(
if (jobException == null
&& !(runRecord.getStatus() == AppRunRecord.Status.FAILED
|| runRecord.getStatus() == AppRunRecord.Status.ACTIVE_ERROR)) {
runRecord.withStatus(AppRunRecord.Status.SUCCESS);
runRecord.withStatus(
runRecord.getStatus() == AppRunRecord.Status.PARTIAL_SUCCESS
? AppRunRecord.Status.PARTIAL_SUCCESS
: AppRunRecord.Status.SUCCESS);
SuccessContext context = new SuccessContext();
if (runRecord.getSuccessContext() != null) {
context = runRecord.getSuccessContext();
Expand Down

0 comments on commit 9a53b48

Please sign in to comment.