Support Article
Unable to branch a ruleset which has an underscore in the name
SA-52118
Summary
Unable to branch a ruleset name which ends with two characters following an underscore (..._XX).
Error Messages
Not Applicable.
Steps to Reproduce
- Log in to the application
- Create ruleset name like AB_CD_EF
- Create a branch and attempt to select this ruleset
Root Cause
An issue in the custom application code or rules.
The ruleset name pattern (AB_CD_EF) matches with the language-specific rulesets which should not be branched.
Resolution
Here’s the explanation for the reported behavior:The IsALocaleRuleSet function identifies a ruleset as language-specific if it fits the pattern of base_xx_yyy_yyy . . .. The base can be any length, the 'xx' is the language and is exactly 2 character, and the 'yyy' is optional language variants which must be at least 3 characters but can occur over and over.
For more information, see the below article:
https://community1.pega.com/sites/pdn.pega.com/files/help_v731/procomhelpmain.htm#rule-/rule-ruleset-/rule-ruleset-name/new.htm
Published August 1, 2018 - 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.