Classes and Class Hierarchy
Classes and Class Hierarchy
LESSON
TGB TGB
TGB-HR HR Sales
Work classes
• Work classes contain all case types in an application. In a
Pega Platform application, all case types in an application are
associated with a work class.
• While integration and data classes can occur at any level of
the class hierarchy, work classes are generally the most
specific of the three classes.
Application classes
• The application layer contains the required work, integration,
and data classes for a single application and allows for
sharing common rules among these classes.
Organization classes
• The organization layer contains all the classes for applications
across an entire business or organization. The organization
layer often contains data and integration classes that can be
applied across the entire organization.
Base classes
• Pega Platform provides base classes. These classes contain
rules that provide basic functionality for case processing. For
example, the Pega Platform provides data elements that
record who created a case and the time needed to complete
an assignment.
milies
lass
sary. Pegasystems 2020 Classroom Training Materials 23
Case wide action
Pattern Inheritance (Change primary driver)
• The consumer division offers family Reus
coverage and requires a specific •
primary driver be assigned to each
vehicle. Management has observed •
that families sometimes change
primary drivers due to licensing •Case
changes among the younger family (Cha
members.
•
• A case-wide action to Change
primary driver in the ABCIns-
Consumer-PolicyProcessing-
Work class enables users of all
•
child case types of that class to
adjust the primary driver if
necessary.
rved
Work-
Work-Cover-
Step 1
• An auto insurance claim
case, described by
the InsCorp-Claims-Work-
AutoClaim class,
references the case ID
data element.
Work-
Work-Cover-
Step 2
• The data element is not
found in the InsCorp-
Claims-Work-
AutoClaim class , so Pega
Platform searches
through the parent
classes by using pattern Work-
inheritance.
Work-Cover-
Step 3
• The data element is not
found through pattern
inheritance, so Pega
Platform searches the
parent class specified by
directed
inheritance, InsApp-FW- Work-
Claims-Work-Claim.
• This class belongs to the
generic policy
administration Work-Cover-
application.
Step 4
• The data element is not
found in the InsApp-FW-
Claims-Work-Claim class,
so Pega Platform
searches its parent
classes by using pattern
inheritance. Work-
Work-Cover-
Step 5
• The data element is not
found through pattern
inheritance, so Pega
Platform searches the
parent class specified by
directed
inheritance, Work-Cover-. Work-
This class belongs to the
Pega Platform.
Work-Cover-
Step 6
• The data element is not
found in the Work-Cover-
class, so Pega Platform
searches its parent
classes by using pattern
inheritance.
Work-
Work-Cover-
Step 7
• The data element is not
found in the Work class,
so Pega Platform
searches the ultimate
base class specified by
directed
inheritance, @baseclass. Work-
Step 1
• An auto insurance claim
case, described by
the InsCorp-Claims-Work-
AutoClaim class,
references the case ID
data element.
Work-
Work-Cover-