public static String getTargetTransition(final RequestContext requestContext) {
        return requestContext.getFlashScope().get(CasWebflowConstants.ATTRIBUTE_TARGET_TRANSITION, String.class);
    }
Gets target state.

@param requestContext the request context
@return the target state
core/cas-server-core-web-api/src/main/java/org/apereo/cas/web/support/WebUtils.java