Support Article
Error on using Rulesets Refactor option to copy or merge ruleset
SA-74996
Summary
Error occurs on using the Rulesets Refactor option to copy or merge rulesets.
Error Messages
The following Classes in the Source RuleSet(s) have RuleSet Restrictions and cannot be copied to the Target. You must update the Classes shown below to incorporate the new RuleSet and its dependences before continuing.
Classes That Restrict Rulesets
Class name
Steps to Reproduce
- Add the Rulesets Refactor option to a class
- Use the Refactor-Rulesets-Merge option to merge rules that include rules applied to that class to a ruleset that is not mentioned in the class ruleset restrictions
- Deselect the classes from the list of data instances
Root Cause
This is as per Pega Product design.
Resolution
Here’s the explanation for the reported behavior:The target ruleset was not added as part of 'RuleSet Restrictions' before attempting themerge.
As 'RuleSet Restrictions' restricts from adding a class assigned to any other ruleset not mentioned as part of the list, it fails.
Published May 21, 2019 - 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.