Posted: 30 Sep 2015 0:22 EDT Last activity: 26 Jan 2016 16:57 EST
Getting prerequisite issue when referring a rule in Branch rule set in base rule set and both rulesets have Application mode val
The Application mode validation for Branch rule sets is not working as expected. I am not able to refer a rule which is in Branch rule set into a rule which is in Base rule set eventhough they both have rule sets have Application Mode validation.
I have created a Branch rule set "OnBoardingFW_Branch_ConfigTeam" in an application "PCA" and that application has a rule set called "PCA". Now i am not able refer rules in Branch rule set "OnBoardingFW_Branch_ConfigTeam" into the rules which are in "PCA". Getting Prerequisite issue.
"BranchTesting" exists, but may not be used by this rule due to the ruleset’s validation mode and/or your current application context. (found property WC-PC-PO-PCA-Work.BranchTesting in Admin@WC:01-01-01)
The error is not helpful but this sounds like expected behavior.
Branch rules are not visible from base rulesets at design time. This sandboxes the branch rules until they have been merged. You do not want to have base rulesets dependant on in-flight features.
You can have multiple rulesets in a branch and reference other rules defined in the branch. You can also have multiple branches and reference rules in other branches. You just can't reference a new rule defined in a branch from a base ruleset.
Thanks Dennis. I understand what you are saying and the application mode validation is working fine between the branch rule sets as well. The reason that i try to refer Branch rule set rules in Base rule set:
I tried to create the Case type rule in Branch rule set but i got the prerequisite error. Please see the attached screen shot. So i have created the case type rule in base rule set. Now i have a flow action in branch rule set which i want to refer in the case type rule which is created in base rule set. Thats where i try to refer Branch rule in Base rule.
In Pega 7.1.6, i have created a new branch application on a base application. And i have created branch rule sets associated with the base rulesets and kept them in the branch application. But when i try to Save as any rule. I'm unable to see the branch rule sets in the Rule set drop down.
Could anyone please suggest what can be done to resolve this.