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