Pre-requisites Issues while saving the rule with Branch Ruleset
In my application there is a branch rulset version(SVCFW_Branch_GCPBranch) where some rules are there. I am saving a rule from lover version of Ruleset1 to higher version which have the pre-requisites of Ruleset2(FW ruleset).
Now the issue is while saving as it is throwing compile time errors saying.
"CountryCDMobile" exists, but may not be used by this rule due to the ruleset’s validation mode and/or your current application context. (found property AEXP-FW-SVCFW-Data-.CountryCDMobile in SVCFW Branch GCPBranch:01-01-01)
** PropertyDefNotFound AEXP-FW-SVCFW-Data-Phone CountryCDMobile.
1. The branch ruleset version i am referring SVCFW Branch GCPBranch is branched out of the base rule set Ruleset2(FW ruleset).
2. And this SVCFW Branch GCPBranch is there is Apllication Stack.
Not sure what might be the reason. Need help.
***Updated by moderator: Lochan to close post***
This post has been archived for educational purposes. Contents and links will no longer be updated. If you have the same/similar question, please write a new post.
Not sure which version of PRPC are you using.. But in case if you are using PRPC 7.1.7 or higher i would recommend switching your rulesets to ApplicationBasedValidation. Using it is simple, just open up the ruleset page and switch to using Application BasedValidation..
Anyways, back to this question,
I guess the issue is that Ruleset1 has 2 versions and each version has different ruleset prerequisites. Prerequisites or Ruleset1 determine which rulesets that rules in your Ruleset1 can see during design/edit time.
Looks like Ruleset1:01-01-01 prerequisites where somehow including the .CountryCDMobile property's ruleset where as Ruleset1:01-01-02(higher version) is not including this ruleset.
Make sure the prerequisites are consistent for both versions of this ruleset1 and you should be good here.