protected void createLogoutViewState(final Flow flow) {
        createEndViewState(flow, CasWebflowConstants.STATE_ID_REDIRECT_VIEW, createExternalRedirectViewFactory("flowScope.logoutRedirectUrl"));
        createEndViewState(flow, CasWebflowConstants.STATE_ID_POST_VIEW, CasWebflowConstants.VIEW_ID_POST_RESPONSE);

        val logoutView = createViewState(flow, CasWebflowConstants.STATE_ID_LOGOUT_VIEW, "logout/casLogoutView");
        logoutView.getEntryActionList().add(createEvaluateAction(CasWebflowConstants.ACTION_ID_LOGOUT_VIEW_SETUP));
        createTransitionForState(logoutView, CasWebflowConstants.TRANSITION_ID_PROCEED, "proceedFromLogout");
        createEndViewState(flow, "proceedFromLogout", CasWebflowConstants.VIEW_ID_DYNAMIC_HTML);
    }
This is {@link DefaultLogoutWebflowConfigurer}.

@author Misagh Moayyed
@since 5.3.0
core/cas-server-core-webflow-api/src/main/java/org/apereo/cas/web/flow/configurer/DefaultLogoutWebflowConfigurer.java