Skip to main content


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

Rule resolution exceptions

Updated on November 15, 2021

Understanding rule resolution ranking exceptions can help you troubleshoot unexpected rule resolution results.

Privately edited and branched rules

When privately edited or branced rules are matched, circumstance rules do not work because they are in a different ruleset. In the following example, line 1 is a privately edited rule and line 2 is a branched rule. If either is matched, the circumstance rules are ignored.

1. MyRule in myusername@ ***
2. MyRule in MyRuleset_branch_BranchName Base rule ***
3. MyRule in MyRuleset 01-01-05 Circumstance by Property: .pyLabel = Green 
4. MyRule in MyRuleset 01-01-05 Circumstance by Property: .pyLabel = Yellow 
5. MyRule in MyRuleset 01-01-05 Base rule 
6. MyRule in MyRuleset 01-01-04 
7. MyRule in MyRuleset 01-01-03 Circumstance by Property: .pyLabel = Yellow 
8. MyRule in MyRuleset 01-01-02 Circumstance by Property: .pyLabel = Green 
9. MyRule in MyRuleset 01-01-02 Circumstance by Property: .pyLabel = Red 
10. MyRule in MyRuleset 01-01-01 Circumstance by Property: .pyLabel = Green 
11. MyRule in MyRuleset 01-01-01

Circumstance rules outside of the matched ruleset

Circumstance rules are only honored if they are in the same ruleset as the matched non-circumstance rule. For example, if you have the following rule stack, and line 3 is the matched rule, only the circumstance rules for green and yellow are honored. All rules below line 3 are discarded.

1. MyRule in MyRuleset 01-01-05 Circumstance by Property: .pyLabel = Green 
2. MyRule in MyRuleset 01-01-05 Circumstance by Property: .pyLabel = Yellow 
3. MyRule in MyRuleset 01-01-05 Base rule 
4. MyRule in MyRuleset 01-01-04 
5. MyRule in MyRuleset 01-01-03 Circumstance by Property: .pyLabel = Yellow 
6. MyRule in MyRuleset 01-01-02 Circumstance by Property: .pyLabel = Green 
7. MyRule in MyRuleset 01-01-02 Circumstance by Property: .pyLabel = Red 
8. MyRule in MyRuleset 01-01-01 Circumstance by Property: .pyLabel = Green 
9. MyRule in MyRuleset 01-01-01

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