Question
Infosys
IN
Last activity: 11 Sep 2017 8:01 EDT
Functionality with Class Inheritance
Hi All,
I have created One Class as "DemoClass" with This Class as "is a class group", now I didn't check the "Find by name first (Pattern) checkbox" and saved the rule. Now my doubt is when I checked the "Pattern Only" in Explorer Inheritance in Explorer Area it showing the directed class as well May I know the functionality of background process??
-
Like (0)
-
Share this page Facebook Twitter LinkedIn Email Copying... Copied!
Accepted Solution
Pegasystems Inc.
US
Rule Inheritance is a very broad topic in Pega which is futher discussed in the Senior System Architect course. You can also get more information here: https://docs-previous.pega.com/how-class-inheritance-works.
Pega 7 supports reuse and sharing of rules through a range of features that affect rule resolution. One of these features is Pega's use of Pattern and Directed inheritance.
Basically, the algorithm will search for rules needed to execute by pattern first, once that pattern is exhausted, the search then seeks rule records by Directed Inheritance specified in the class rule itself.
If DemoClass "find by pattern first" is deselected, then direct inheratace is applied from that point in the search and the naming convention would be secondary.
The algorithm is going to find all "potential" candidate. following an order, and execute only that rule form if DemoClass is not set to "find by pattern first", then the rule resolution algorithm will search the direct pattern parent specified in the DemoClass rule record.
When we want to used Pega Standard functionalities we will inherit Pega Classes using direct inheritance.
Rule Inheritance is a very broad topic in Pega which is futher discussed in the Senior System Architect course. You can also get more information here: https://docs-previous.pega.com/how-class-inheritance-works.
Pega 7 supports reuse and sharing of rules through a range of features that affect rule resolution. One of these features is Pega's use of Pattern and Directed inheritance.
Basically, the algorithm will search for rules needed to execute by pattern first, once that pattern is exhausted, the search then seeks rule records by Directed Inheritance specified in the class rule itself.
If DemoClass "find by pattern first" is deselected, then direct inheratace is applied from that point in the search and the naming convention would be secondary.
The algorithm is going to find all "potential" candidate. following an order, and execute only that rule form if DemoClass is not set to "find by pattern first", then the rule resolution algorithm will search the direct pattern parent specified in the DemoClass rule record.
When we want to used Pega Standard functionalities we will inherit Pega Classes using direct inheritance.
Directed inheritance is useful when you want to adopt behaviors that are not available through the pattern chain. Typically, you do this to inherit from the base product, a framework layer, or division layer of the application.
When we want to use our application specific functionalities we will go for pattern inheritance.
Any time you need to specialize common classes, that are reused throughout your application or environment, and you want to subclass them in your own class structure, you'll use directed inheritance.
There is a great ongoing conversation about Pega Inheritance in the Pega Support Community here: https://pdn.pega.com/community/pega-product-support?search=inheritance&sort=relevance
Pegasystems Inc.
US
Hello,
Thanks for your question. Which Pega Academy course are you currently working on?
Infosys
IN
Hi MaryritaStyer,
I modified my question and placed the course.
Could you suggest me now??
Regards,
Srikanth
-
Gabrielle Jülicher
Accepted Solution
Pegasystems Inc.
US
Rule Inheritance is a very broad topic in Pega which is futher discussed in the Senior System Architect course. You can also get more information here: https://docs-previous.pega.com/how-class-inheritance-works.
Pega 7 supports reuse and sharing of rules through a range of features that affect rule resolution. One of these features is Pega's use of Pattern and Directed inheritance.
Basically, the algorithm will search for rules needed to execute by pattern first, once that pattern is exhausted, the search then seeks rule records by Directed Inheritance specified in the class rule itself.
If DemoClass "find by pattern first" is deselected, then direct inheratace is applied from that point in the search and the naming convention would be secondary.
The algorithm is going to find all "potential" candidate. following an order, and execute only that rule form if DemoClass is not set to "find by pattern first", then the rule resolution algorithm will search the direct pattern parent specified in the DemoClass rule record.
When we want to used Pega Standard functionalities we will inherit Pega Classes using direct inheritance.
Rule Inheritance is a very broad topic in Pega which is futher discussed in the Senior System Architect course. You can also get more information here: https://docs-previous.pega.com/how-class-inheritance-works.
Pega 7 supports reuse and sharing of rules through a range of features that affect rule resolution. One of these features is Pega's use of Pattern and Directed inheritance.
Basically, the algorithm will search for rules needed to execute by pattern first, once that pattern is exhausted, the search then seeks rule records by Directed Inheritance specified in the class rule itself.
If DemoClass "find by pattern first" is deselected, then direct inheratace is applied from that point in the search and the naming convention would be secondary.
The algorithm is going to find all "potential" candidate. following an order, and execute only that rule form if DemoClass is not set to "find by pattern first", then the rule resolution algorithm will search the direct pattern parent specified in the DemoClass rule record.
When we want to used Pega Standard functionalities we will inherit Pega Classes using direct inheritance.
Directed inheritance is useful when you want to adopt behaviors that are not available through the pattern chain. Typically, you do this to inherit from the base product, a framework layer, or division layer of the application.
When we want to use our application specific functionalities we will go for pattern inheritance.
Any time you need to specialize common classes, that are reused throughout your application or environment, and you want to subclass them in your own class structure, you'll use directed inheritance.
There is a great ongoing conversation about Pega Inheritance in the Pega Support Community here: https://pdn.pega.com/community/pega-product-support?search=inheritance&sort=relevance
Infosys
IN
Hi LLOYB,
Thanks for your Valuable infomation.
Regards,
Srikanth