Discussion

1
Replies
265
Views
johnp2 Member since 2019 6 posts
PEGA
Posted: May 18, 2019
Last activity: June 24, 2019
Closed

Rule Resolution Process & Rule Availability- Cheat Sheet

Rule resolution is the internal process by which Process Commander / Rules Engine decides at run-time which rule (of a set of candidate rules) to execute.

Below is the step by step process on how Rule resolution works to find the rule to execute :

  1. Choose rule instance with correct purpose or family (rule type, rule name )
  2. Discard rules with rules availability set to “Not Available” or “No” or “Draft”
  3. Remove rules not in user’s ruleset list (ruleset & version)
  4. Remove rules not in class ancestry
  5. Sort rules (circumstance property , circumstance date , Date-time , version) group by class & ruleset
  6. Discard rules(in Ruleset name & Major version) with rules availability set to “Withdrawn”
  7. Discard multiple Default rules (across all “apply’s to” class & rulesets )
  8. Display Error on rules with rules availability set to “Blocked”
  9. Display Error where current users has restricted access
  10. Finally, Select a Rule to execute

Below table explains, how Rule availability influences rule resolution :

Rule Availability

View

Copy or Save As

Edit

Execute

Comments

Available

Yes

Yes

Yes

Yes

Final

Yes

No

No

Yes

Not Available

Yes

Yes

Yes

No

Rule ignored , rules in next available version are considered

Withdrawn

Yes

Yes

Yes

No

Rules in same class and ruleset are ignored, rules in higher class , ruleset version are considered

Blocked

Yes

Yes

Yes

  1. No

Halts the rule resolution and displays error.

Hope this post helps you in understanding rule resolution process better.

Note: Please comment with edits needed , if any . Thanks!

Thanks & Regards,

Praveen John Kumar

Pega Academy
Moderation Team has archived post
Share this page LinkedIn