protected Event getExecutableEvent(SynchronizedWorkflowInstances instance, Situation situation)
throws WorkflowException, ParameterException {
String workflowEvent = getEventName();
Event event = null;
Event[] events = instance.getExecutableEvents(situation);
if (log.isDebugEnabled()) {
log.debug("Workflow event name: [" + workflowEvent + "]");
log.debug("Resolved executable events.");