Support Article
Unable to save Access group
SA-477
Summary
You observe errors, regarding pyUserRoles and pyPortals not being valid records, when attempting to save an access group after changing major version on the application ruleset.
Error Messages
pyUserRoles:Pega:SmartDisputeExceptionProcessingVP is not a Valid Record for use by this Rule.
Steps to Reproduce
Save the access group after changing the major version of the ruleset associated to the user roles and portals.
Root Cause
The root cause of this problem is a defect in customer application code/rules. The rules being referrenced are from a prior major revision and rule resolution doesn't cross major revision boundries.
Illustrated root cause: perform save-as on an invalid record reference to the new major release and observe specific rule error is removed - and as documented in https://pdn.pega.com/reuse-and-version-management/comparing-ruleset-pre-requisites-and-ruleset-lists)
Resolution
The explanation for this behavior is as follows:
AYour access group rule is trying to reference rules that exist in a prior major version of a ruleset. To bring forward rules to the next major version the recommended method is skimming. Process: (https://pdn.pega.com/reuse-and-version-management/how-to-skim-compress-merge-copy-and-delete-rulesets-with-the-ruleset-maintenance-wizard)
Published April 1, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.