7.1.9 The order of branch rule set in the application rule set stack is different than that of the user ruleset list
It seems that the order of branch rule set appears differently in the user ruleset list than in the application ruleset stack. Branch rule sets are put right above their base rule set in the user ruleset list.
My understanding (from v6) was that the rules in branch rule sets always being searched first, regardless the base rule set of branch rule set, however the run-time behavior suggests that rules are searched in the order of user ruleset list. Is this a change in v 7 or am I misunderstanding the branch ruleset location from the beginning?
Thanks for pointing me to the pega help document that describes the rule set list in detail.
I have one more follow up questions here.
Although user rule set list is used at run-time rule resolution, it seems the rule set list shows on the application rule-set stack is still being used at design time validation.
I was trying to call a When-Rule in the branch rule set, from another When-Rule in the FWUTAPP rule-set, which appears above the branch rule-set in the user rule set list at run time and, below the branch rule set in the application rule set stack at design time. (have a look at the screenshot in my first post)
When I click "Save", I got below error message. Except the rule set order in the application rule set stack, I couldn't think of any other reason for this strange error message.
A branched ruleset is automatically set to the same validation mode as the non-branched ruleset. An ABV-branched ruleset can access all rulesets in the application, including other rulesets in the same branch, as well as any other branches included in the same application definition.
All branches within a given application definition, therefore, can refer to each other. On the other hand, rules in non-branched rulesets cannot reference rules in any branch.