Skip to content

Commit

Permalink
rollback the external system workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ffritze committed Nov 14, 2023
1 parent 45d66a4 commit 1d6d275
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ public WorkflowStepResult run(WorkflowContext context) {
return new Pending();
} else {
String responseBody = mtd.getResponseBodyAsString();
this.rollback(context, null);
return new Failure("Error communicating with server. Server response: " + responseBody + " (" + responseStatus + ").");
}

Expand Down

0 comments on commit 1d6d275

Please sign in to comment.