public static void putActiveFlow(final RequestContext requestContext) {
        val id = requestContext.getActiveFlow().getId();
        requestContext.getFlashScope().put("activeFlowId", id);
        requestContext.getFlowScope().put("activeFlowId", id);
        requestContext.getConversationScope().put("activeFlowId", id);
    }
Put active flow id.

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