RuleSets provide security and version control, and the ability to deploy your application to a different Process Commander

environment. A RuleSet must be created before building an application. The term RuleSet, as well as referring to the name instance i.e. the name of the RuleSet, sometimes informally refers to the contents (the rules) of that RuleSet. RuleSets in PRPC consist of 2 rule types:
y y

RuleSet Name (Rule-RuleSet-Name). The name can be a maximum of 64 mixed case characters. Spaces are not allowed. RuleSet Version (Rule-RuleSet-Version). The version has 3 categories: Major, Minor and Patch. For example 01-01-01 means Major Version 01, Minor Version 01 and Patch Version 01.

Top

RuleSet Naming Conventions¶
y y y y y y

Use names that are short and catchy and clearly describe the RuleSet, avoiding obscure acronyms. Uniquely identify your company and the business purpose in the name. Do not use Pega or Pega- as a prefix for your RuleSet names as they are restricted. Use single word names with significant letters in uppercase. For example MycoLoan is better than mycoloan. Avoid using special characters such as dashes, underscores, plus signs or quotes. For a sandbox ruleset use a name that contains Test or Sandbox.

Top

Standard Rulesets in PRPC¶
PRPC comes with standard RuleSets. By using the Rules By Type Explorer one can view a list of RuleSets in the system. The table below lists the standard RuleSets in PRPC.

RuleSet Name CheckInCandidates PegaAppDefinition Pega-Procom

Specification Empty initially, it supports the Rule check-in approval process and is used only by developers. This RuleSet is not locked. Optional RuleSet. This is used for Direct Capture Of Objectives. This is the base RuleSet. Includes workflow support and portal facilities.

(Optional) Internal Pega Rules engine. My team used increments of 5 at the start of each iteration. an organization might employ the following processes: (1) a tracking number is electronically assigned. always offer that customer a rebate on future purchases. PegaRULES Process Commander manages complex work using both practice rules (rules that automate work) and process rules (rules that route and assign work).Pega-IntSvcs PegaWAI Pega-WB Pega-Rules Supports interfaces including connectors and services. Process rules are managed by business analysts or operation . ‡ Process Rules ² Define the procedural steps or flow regarding how humans and systems complete work. Java generation and rule resolution. Over my last few years in PRPC development. and of the application it belongs with. but are managed primarily by business staff.´ or ³When a preferred customer registers a product complaint. and (3) once approved or rejected. and patch version. For example. minor version. automated decision making. defines six digits in three groups that characterize the evolution and development of a rule instance. For example. and rich human and system interaction. in addition to system rules. (2) a cost center manager receives an electronic assignment to approve or reject the shipment cost. it must be approved by Finance. then you need to have additional strategies in place to make sure rule resolution at run time can pick the correct version of the rule for execution. Process Commander provides these three major categories of business rules to achieve multi-step parallel processing. apply New York state taxes. If you have folks who commit and release rulesets parallel to the development team. when shipping costs exceed $2000. The three segments are known as the major version. Basic engine operations.´ Practice rules are created by both business and IT staff. ‡ Practice Rules ² Represent business guidelines or policies that define and drive a business. A RuleSet version is an instance of the Rule-RuleSet-Version rule type. If the request is approved.´ or ³When a purchase order for a personal computer exceeds $2. bug fix and release. the sender can then track the shipment through the delivery portion of the flow via the tracking number. an automated correspondence is sent to the requester to relay the decision. Please share your experiences and strategies around RuleSet Version. activities. Different Enterprise Rules Used in Pega RULES Unlike other BPM products. then each inbetween version was used as a bug fix.000. With over 70 built-in specialized rules. The version number in the form NN-NN-NN. Supports accessibility. I've seen each application team use its own strategy to version rulesets for development. ³When shipping products to New York.

stored and transported from one system to another. At run time. and eliminate the need for the application to track changes to data and reapply editing criteria. Through these rules categories. Constraint rules ensure that values meet predefined criteria. Through a single rule form. Practice Rules: Five commonly-used types of practice rules in PegaRULES Process Commander are described below. 5) Activity Rule ± A practice rule that returns a command or a calculated figure based on given variables. Process Commander will alert the user with an automated error message that a constraint has been violated. ³Allow only dollar amounts in this field. Process Commander does not require users to program lines of code to create custom automated responses or actions. Process Rules: Four commonly-used types of process rules in PegaRULES Process Commander are described below. a when condition evaluates a simple comparison of related values of properties. 1) Decision Tree Rule ± A practice rule that conducts fact-based inferencing (forward chaining). 2) Dimensional Decision Rule ± A practice rule that returns an answer or variable based on a single or multiple set of ³when´ conditions. self-service models.´ System rules are created and managed by system architects. PegaRULES Process Commander provides robust work management capabilities for solving complex business issues such as supply chain management.´ or ³Fetch a Web Service from the supplier¶s intranet. The use of forms to create "if-then" types of logic significantly reduces errors and management challenges generally associated with lines of nested if-then code. Process Commander safeguards an enterprise from failing to act on critical business operations when particular circumstances arise. For example. ‡ System Rules ² Dictate how data is presented. . These capabilities enable organizations to build ³smart BPM´ applications that generate increased return on investment. Process Commander provides the ability to create a complex decision flow of unrelated data and returns the appropriate response based on given facts. expert systems. For example. 4) Declarative Constraint Rule ± A practice rule used to define conditions or limits on designated data entry fields.managers. transaction-centric processing. if the maximum value of an entry field is $20 and the user inserts $30. Unlike other BPM products. Process Commander compares and contrasts multiple variables. 3) Declarative Expression Rule ± A practice rule used when the value of a numeric field needs to be computed during application run time. and real-time order fulfillment. Expression rules ensure that the value of a property is updated automatically when any of its dependent properties change ± eliminating the need for business users to track changes and perform recalculations.´ or ³Convert nine-digit zip codes into five-digit zip codes. and initiates an appropriate action based on the results.

3) Work Delegation Rule ± A process rule that engages and enables Process Commander to access entities outside the system (i. to pooled workbaskets. non-registered users such as suppliers.1) Flow Rule ± A process rule that manages. enabling organizations to leverage and maximize the existing IT infrastructure. and dynamically communicates with the PegaRULES Enterprise Rules Engine where all rules are saved and executed at run time. Process Commander not only highlights and reports on delinquent work. The link is a one-time secure ³key´ to access the system. to indicate the expected or targeted turnaround time for the assignment (or time-to-resolve for the work object). Microsoft Visio serves as the graphical front end to Process Commander¶s Rulebase. but triggers escalation rules to ensure that work is completed as promised. known as goals and deadlines. as well as automating correspondence.e. By placing either out-of-the-box or customized Microsoft SmartShapes on a Visio worksheet. When a service level time is reached before an assignment is completed. COM. business managers can easily link activities together to create.. as well as enterprise databases ± eliminating the need to acquire third-party integration software. Unlike other systems. a report can be generated to display all related rule instances ± dramatically 3) Transformation Rule ± A system rule that automates data mapping and parsing between disparate systems. Process Commander sends an embedded assignment through an e-mail message that contains a URL link to a work object within a flow. With Declarative Indexing. 2) Declarative Indexing ± A system rule that defines and stores relationship data between objects in the PegaRULES database.´ changing the title of the field to ³Postal Code´ would require a programmer to find all rules that correlate to this title in order to make the change. These rules enable the assignment of work to individuals. 1) Integration Rule ± A system rule that streamlines interfacing between two or more systems. Each service level defines one or two time intervals. monitors and automates work as it is assigned throughout a flow. System Rules: Three commonly-used types of system rules in PegaRULES Process Commander are described below. without the need of client-side software. customers and partners). Other assignment-related rules enable goals and deadlines to be set for assignments. This capability extends the ability to perform work in Process Commander to all constituents throughout the extended enterprise. These rules promote reuse of data across the enterprise. 2) Assignment Rule ± Process Commander includes numerous built-in rules associated with managing the assignment of work ± both within and outside the enterprise. Process Commander provides pre-configured rules for CORBA. automatic processing occurs (such as escalation). . view and update both the workflow diagram and its underlying processing logic. where multiple rule instances exist with a data field entitled ³Zip Code. and to occasional users. 4) Service Level Agreement (SLA) Rule ± A process rule that monitors and ensures that work is completed in a timely manner. For example. MQ. This rule enables Process Commander to send work assignments to users who require only infrequent access to the application. SOAP and Microsoft Dot NET.

and Pega-RULES). all the versions will be available to the user. 4. 3. The above said is the process of giving access to a group. Data-Admin-Requestor Data-Admin-Organization Data-Admin-OrgUnit Data-Admin-AccessGroup In these instances. Pega-IntSvcs. all the lower versions will be available to the user and no major version will be available to him. Pega-WB. Without defining the ruleset here. 2. If a ruleset is entered along with the version information. . based on the Ruleset version.How Someone gets Access to Pega: Instances of the following provide users with access to rulesets and versions. 1. After authentication. Rule Resolution gets the ruleset for the particular user based on the order specified above. If no version detail is entered. 2. 1. no one can access the particular ruleset. Data-Admin-OrgUnit and then finally to Data-Admin-AccessGroup and gets all the rulesets and versions defined on them respectively. login activity goes to Data-Admin-Organization. Login activity starts with the Data-Admin-Requestor instance for the browser requestor type and includes standard rulesets (Pega-Procom. the versions will be available for the user.