Skip to content

Commit

Permalink
KOGITO-9659: Workflow timeout not working using external Job Service …
Browse files Browse the repository at this point in the history
…(management-addon) (#3163)
  • Loading branch information
wmedvede authored Aug 4, 2023
1 parent 5828d30 commit d838ba2
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -638,6 +638,9 @@ public void signalEvent(String type, Object event) {
}
if (timer.getId().equals(cancelTimerId)) {
logger.debug("Cancelling process instance id {} because timer {} expires ", getStringId(), cancelTimerId);
// The cancelTimer is being executed, so this id is not valid anymore. Avoid an invalid job canceling
// for it as part of the process aborting sequence.
this.cancelTimerId = null;
setState(KogitoProcessInstance.STATE_ABORTED);
return;
}
Expand Down

0 comments on commit d838ba2

Please sign in to comment.