You are on page 1of 13

Pega PRPC - Basic Concepts

Pega PRPC 7 Training

6/16/2014
1

Copyright 2014 Tata Consultancy Services Limited

Agenda
Rule
Case
Class
Rule Resolution
Inheritance
Ruleset
Process
Application

Application
Application is organized as a hierarchy of classes based on the scope of their
reusability

Rule

Rules are the building blocks of applications


ARule typeis a concrete class derived from theRule-base class.
ARuleis a named object that defines the behavior of part of an application
A Rule is a single instance of a class derived from the Rule- class

Example: Rule-Obj-Propertyis a Rule Type and a Property named User Name is Rule

Case

A business transaction that is initiated, processed, and resolved


A case typically consists of assignments, processes, business policies, and
potentially other cases
A case is a instance of a concrete class (Case Type) derived from Work-Cover- class

Example: Purchase request

Process
Process is represented as Flow in PRPC
Process or Flow defines:
Howwork itemsare created
How they progress through one or more flow executions
How they become resolved (completed)
Example: Loan lending process

Class
Class is a container of Rules like Properties, Sections, Flow actions, Data
Transform and many other rules
Many Rules apply to a specific class, and potentially to subclasses of that Class
Classes can be Abstract or Concrete
Abstract Class is only a container of rules and data and cannot be persisted in
database
Concrete Class contain rules and data and it can be instantiated and persisted in
database
Concrete Classes may inherit from an Abstract Class
Class Hierarchy is a hierarchy for storing Rules and Data in PRPC
7

Rule Resolution
Rule resolution is internal search algorithm that the system uses to find the best or
most appropriate rule
This algorithm uses many factors like Rule Name, Applies To Class, Rule set etc.,
Example: A property named FullAddress is present in Person Class and Location
Class. While capturing a persons address information, system will use FullAddress
property from Person Class.

Inheritance
Inheritance defines the association between classes
Parent Class
Sub-Class/Class
Pega provides two types of Inheritance Pattern and Directed
Directed Inheritance is defined by User
Pattern Inheritance is enforced by the System based on Class Name

Class Hierarchy
MyCo

Commercial Lines

Auto

Personal Lines

Property

Auto

Home

Policy Admin

Policy Admin

Policy Admin

Policy Admin

Claims Processing

Claims Processing

Claims Processing

Claims Processing

10

Ruleset
Ruleset is a container of rules
All rule type must belongs to a Ruleset.
Purpose of ruleset as container is different
Access Control
Migration
Versioning
Ruleset is a bigger container than a class
Contains related classes and rules
Ruleset
Class A

Class B

Rule 1 Rule 2

Rule 3 Rule 4

11

Ruleset Name & Ruleset Version


Ruleset has 2 parts Ruleset Name & Ruleset Version
Ruleset Name
Maximum 64 characters
Ex. PolicyAdmin
Ruleset Version
Has 3 parts separated by a hyphen Major, Minor & Patch
Ex. 01-05-07

12

Thank You

IT Services
Business Solutions
Consulting

You might also like