Map<String, String> params = context.getExternalContext().getRequestParameterMap();
String clientId = wizard.getClientId(context);
String stepToGo = params.get(clientId + "_stepToGo");
String currentStep = wizard.getStep();
FlowEvent event = new FlowEvent(wizard, currentStep, stepToGo);
event.setPhaseId(PhaseId.INVOKE_APPLICATION);
wizard.queueEvent(event);
}
}