I have the following navigation-rule:
<navigation-rule>
    <from-view-id>/pages/*</from-view-id>
    <navigation-case>
        <from-outcome>test</from-outcome>
        <to-view-id>/pages/test/edit.xhtml</to-view-id>
    </navigation-case>
</navigation-rule>
TestMB:
public String test() {
    return "test?id=1";
}
and test.xhtml:
<h:commandLink action="#{testMB.test}">click</h:commandLink>
But it is not working if return "test?id=1";. I do not want to use return "/pages/test/edit.xhtml?id=1";, I want to use the abstract name test. 
 
     
    