public static String getActiveFlow(final RequestContext requestContext) {
        return (String) requestContext.getFlashScope().get("activeFlowId",
            requestContext.getFlowScope().get("activeFlowId",
                requestContext.getConversationScope().get("activeFlowId")));
    }
Gets active flow.

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