return createTimerBeans(timerEntities);
}
@Override
public void deleteTimer(String actorRef, String processInstanceId) {
TimerEntity timerEntity = timerRepository.findByActorRefAndProcessInstanceId(actorRef, processInstanceId);
// only try to delete timer entity existing timers
// this method needs to safely call the delete method for non existing nodes,
// because a 'cycle timer start event' will try to delete a trigger that has not been saved to db
if (timerEntity != null) {
timerRepository.delete(timerEntity);