diff --git a/jbpm-flow/src/main/java/org/jbpm/process/instance/command/UpdateTimerCommand.java b/jbpm-flow/src/main/java/org/jbpm/process/instance/command/UpdateTimerCommand.java index 4b61a9391b..38734c7a63 100644 --- a/jbpm-flow/src/main/java/org/jbpm/process/instance/command/UpdateTimerCommand.java +++ b/jbpm-flow/src/main/java/org/jbpm/process/instance/command/UpdateTimerCommand.java @@ -224,7 +224,7 @@ protected long calculateDelay(long delay, TimerInstance timer) { protected TimerInstance rescheduleTimer(TimerInstance timer, TimerManager tm) { logger.debug("Found timer {} that is going to be canceled", timer); - tm.cancelTimer(timer.getProcessInstanceId(), timer.getTimerId()); + tm.cancelTimer(timer.getProcessInstanceId(), timer.getId()); logger.debug("Timer {} canceled successfully", timer); TimerInstance newTimer = new TimerInstance();