Breaking News

Thank You for visiting us, This website changed to www.TechNaandi.com , please go here we will update more concepts for you as soon as possible

What Is Inheritance in PEGA || Explain About Pattern Inheritance & Directed Inheritance In PEGA

Introduction

Inheritance allows your application to reuse rules that have already been created for other classes or applications. By reusing a rule through inheritance, rather than creating the same rule again, you can reduce the development and testing time without changing the application quality.PEGA provides 2 methods for inheriting rules as follows

  • 1.Pattern Inheritance
  • 2.Direct Inheritance
  • 1.Pattern Inheritance

    Pattern Inheritance describes the business relationship between classes.Pattern ingeritance allows your application to share rules with other applications throught an organization.The following image descibes the asic form of pattern inheriatnce in PEGA.

    1.Rules for a specific type of case are stored at the lowest level of the hierarchy. Rules at this level only effect a single type of case, such as IT service tickets or onboarding requests.

    2.The next level is the Class Group.The class group contains all of the case types in an Application. Rulesets at this level affect all the case types in the class group

    3.The layer above the class group is the Division layer. The division layer contains the work, data and integration classes for the division.

    4.Above the division, the layer is the Organization Layer. The organization layer contains all the classes for applications across an entire business or other organization. The organization layer often contains data and integration classes that can be applied across the entire organization.

    2.Directed Inheritance

    Directed Inheritance describes the functional relationship between classes.Directed inheritance allows your application to reus the rules from classes in other applications and standard rules provides provides with the pega platform

    Note:Directed inheritance is only option that allows an application class to inherit rules defined for standard pega classes,such as Work- or Data-class.

    Reusing Rules Through Inheritance

    When attempting the reuse rules through inheritance, Pega first searches through the parent class indicated by pattern inheritance. If unsuccessful, Pega then searches the parent class indicated by directed inheritance as the basis for another pattern inheritance search. This process repeats until Pega reaches the last class in the Pega hierarchy, called ultimate base class or @baseclass.If rule cant be fount after searching @baseclass, Pega returns an error.

    Post a Comment

    3 Comments