Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

This content has been archived and is no longer being updated.

Links may not function; however, this content may be relevant to outdated versions of the product.

Changes to Circumstance

Updated on October 7, 2014

Transcript

From PRPC 5.2, changes have been made to how circumstance rules are ranked during rule resolution. Prior to PRPC version 5.2, a rule in a higher RuleSet version would rank higher than one in a lower RuleSet version regardless of circumstance.

For example, if we had a Rule “X” existing in RuleSet: 01-01-01, and we had three instances of that rule:

  1. Unqualified Circumstance property
  2. MembershipLevel equal to gold
  3. MembershipLevel equal to silver

If we were to copy the unqualified version of the rule from RuleSet:01-01-01 to RuleSet:01-01-02, both the circumstanced versions would in effect be hidden from Rule Resolution, forcing you to copy them to version 01-01-02, even if no changes were made.

As of PRPC 5.2, all rules with circumstances rank ahead of unqualified rules even if the unqualified rule is in a higher RuleSet version. Note - this only pertains to rules with the same RuleSet name and the same class; otherwise, standard rule resolution applies.

Another related change is the introduction of the base rule flag. The base rule flag can only be applied to non-circumstanced rule instances. The base rule flag prevents any circumstanced instance in the same class and RuleSet below a RuleSet version from being found by rule resolution. In essence, the base rule flag allows PRPC to behave similar to how it behaved before version 5.2.

Tags

Pega Platform 7.1.1 - 7.4 Low-Code App Development Financial Services Healthcare and Life Sciences Insurance Communications and Media Government Healthcare and Life Sciences Consumer Services

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us