diff --git a/jbpm-flow/src/main/java/org/jbpm/process/core/timer/impl/GlobalTimerService.java b/jbpm-flow/src/main/java/org/jbpm/process/core/timer/impl/GlobalTimerService.java index 2c013940f3..d8ccb574de 100644 --- a/jbpm-flow/src/main/java/org/jbpm/process/core/timer/impl/GlobalTimerService.java +++ b/jbpm-flow/src/main/java/org/jbpm/process/core/timer/impl/GlobalTimerService.java @@ -161,8 +161,11 @@ public boolean removeJob(JobHandle jobHandle) { return unregisterJobHandle(jobHandle); } else { logger.debug("No match for job handle {} within handles of session {}", jobHandle, sessionId); - return false; + // even if we don't have this we need to trigger the deletion as we could be in cluster env and not + // having the info in here + return unregisterJobHandle(jobHandle); } + } private GlobalJobHandle registerJobHandle (Job job, JobContext ctx, Trigger trigger) {