decision.handleCompletionEvent();
return decision.isDone();
}
boolean handleTimerStarted(HistoryEvent event) {
TimerStartedEventAttributes attributes = event.getTimerStartedEventAttributes();
DecisionStateMachine decision = getDecision(new DecisionId(DecisionTarget.TIMER, attributes.getTimerId()));
decision.handleInitiatedEvent(event);
return decision.isDone();
}