What is the ruleset stack in Pega?
Ruleset list or stack is assembled by Pega when the user logs into the application and ruleset stack are used during the rule resolution process. Rule resolution will be looking into the ruleset stack in a specific order so the order is important. Top Ruleset takes the highest precedence.
How Pega will assemble the Ruleset stack?
- OneHelp,OneHelpInt - application ruleset for application configuration.
- PH, PHInt - organizational ruleset contains reusable organizational assets, such as data structures.
Let's take the above application OneHelp is built on the OHFW framework application which is built on UIKit and UIKit is built on the PegaRULES application. Once the user logs into the OneHelp application we will see how Pega assemble the Ruleset stack for the operator. First, PegaRULES ruleset stack is added and on top of PegaRULES list UIKit ruleset stack, on top of UIKit OHFW ruleset stack and on top of OHFW list OneHelp application ruleset list, finally it will add if any personal ruleset (if we are allowed for the rule check out) with the name of the Operator.
Below is the ruleset stack for the operator ohadmin when the operator logs into the application OneHelp.
Application Ruleset stack in Pega
We can view the Ruleset stack for the current application at Configure->Application->Structure->Ruleset stack
If my rule in
ReplyDeleteonehelp:01-01-01
PH:01-01-02
which rule it will rule in priority wise
First it will pick from OneHelp if the rule is not available in that then it will go to PH
DeletePlease go through Rule resolution process for more details..
Deletehttps://www.pegahelp.com/2020/07/rule-resolution-process-in-pega.html
Nice article on Ruleset stack.
ReplyDeleteHere have a query in Application ruleset stack, after OneHelp and OneHelpInt directly Ph and PhInt are coming that are organization lever ruleset. Why does pega add organization level ruleset in application ruleset stack? Please explain.
Organization ruleset is intended to store the company wide data structures or integrations. Lets assume Amazon is a company and customerID is a property which can be used across organization. So we can create these properties in organization ruleset which can be accessed by other applications as well.
ReplyDeleteOrganization ruleset is intended to store the company wide data structures or integrations. Lets assume Amazon is a company and customerID is a property which can be used across organization. So we can create these properties in organization ruleset which can be accessed by other applications as well.
ReplyDelete