private void configureFlowStartState(final Flow flow) {
        val startState = getState(flow, CasWebflowConstants.STATE_ID_TERMINATE_SESSION, ActionState.class);
        LOGGER.trace("Setting the start state of the logout webflow identified by [{}] to [{}]", flow.getId(), startState.getId());
        flow.setStartState(startState);
    }
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