You are on page 1of 4

What is Rule in Pega?

Rules are the building blocks of applications


A Rule type is a concrete class derived from the Rule- base
class.
A Rule is a named object that defines the behavior of part of
an application
A Rule is a single instance of a class derived from the Ruleclass
Example: Rule-Obj-Property is a Rule Type and a Property
named User Name is Rule

What is 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

What is Process?
Process is represented as Flow in PRPC
Process or Flow defines:
How work items are created
How they progress through one or more flow executions
How they become resolved (completed)

Example: Loan lending process

What is 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

What is 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.
What is Inheritance in Pega:
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: Example

CM
oy
C
m
o
m
e
r
c
i
a
l
L
i
n
e
s

What is Ruleset in Pega?


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 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

You might also like