protected boolean isIncludeViewParams(UIOutcomeTarget outcomeTarget, NavigationCase navCase) {
        return outcomeTarget.isIncludeViewParams() || navCase.isIncludeViewParams();
    }
Find all parameters to include by looking at nested uiparams and params of navigation case
primefaces/src/main/java/org/primefaces/renderkit/OutcomeTargetRenderer.java