Thursday, November 17, 2011

Pega Tutorial, Important Concepts in Pega PRPC

Below are some of the useful points which should be remembered for PEGA

Overview of Rule Resolution in PEGA PRPC

Overview of Rule Resolution


Pegasystems’ patented Rules technology is the foundation of Process Commander BPM solutions, providing flexibility and agility. Rule resolution is the process used to identify which rules are applied to a specific business decision. At execution, Process Commander dynamically selects the right process or business rule depending on the business purpose, product, organization, RuleSet and version, date, time, customer-associated circumstance, and security for each rule required. Through dynamic rule selection, Process Commander provides flexibility that is otherwise impossible (except with the alternative of applying rules specified in code).

Thursday, September 22, 2011

Pattern Inheritance in Pega


Pattern inheritance follows the pattern of the names & dashes in the class name to define inheritance. For example, the class YourCo-CustService-Data-Lender might have the following ancestors in the class hierarchy:
YourCo-CustService-Data –
YourCo-CustService-Data
YourCo-CustService-
YourCo-CustService
YourCo-
YourCo
If pattern inheritance is being followed, then all Activities, Whens, Models, etc. that are defined on any of the above classes would be available to be applied to YourCo-CustService-Data-Lender (unless there is another more specific version of the instance defined on the YourCo-CustService-Data-Lender class itself).
Pattern inheritance is always checked first. Note that pattern inheritance will cause the system to search all the way through the class pattern hierarchy before checking directed inheritance.

Pega Concepts: Inheritance



PegaRULES models data by defining it in a class hierarchy, following an object-oriented paradigm (much like Java). As Java methods can be inherited from the Java class’s parents, Rules in PegaRULES such as Activities can be inherited from the defined class hierarchy. Thus, an instance of the class Work-Cover-GeneralTask will not only be able to use the activities, properties, etc. which are defined on that class, but also those defined on the class Work-Cover-, and the class Work-.


When a particular activity (or property or other such rule) is called during processing, the application will search for that rule in the class where it was called. If the rule is not present in that class, Process Commander will search other classes, based on specific procedures. This section describes the paradigm used to search the class hierarchy during rule resolution.


In PegaRULES, each class that is defined in the system may have one or two parents, depending upon the type of inheritance specified:
• pattern inheritance
• directed inheritance

PEGA Concepts: Class Inheritance and Rule Resolution


The Use class-based inheritance to arrive at the correct rule to execute checkbox defines how inheritance (through the class hierarchy) affects this rule. For this functionality, there are two main types of rules:

• those that can be defined as attributes or aspects of other classes
• those that are not aspects of other classes, but stand alone


There are some types of rules, like Activities, Models, Whens, Decision Tables, etc., which may be “applied to” or “defined on” other classes.

Friday, July 30, 2010

PEGA PRPC - Business Process Management (BPM)

Pega/PRPC is a popular rules engine and BPM tool from Pega systems that is gaining good market share among large corporations. Architects and developers build the Pega/PRPC instance while administrators and even select business analysts have the option of changing workflow rules during runtime. Infact, their motto itself is "Build for change". The goal is to "eliminate software coding" and "automate manual work" to the minimum and build complex systems at the enterprise level with features right out-of-the-box. That's how it works in the utopian world. But in the real world, you need good developer support. So the lesser the code, the closer you are to the goal of a true BPM tool. Software coding might be reduced drastically. But you still need people with a development background using inputs from Business Analysts to make changes or add functionality. Pega/PRPC is pretty expensive so they primarily target any corporation that can afford such a luxury.