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.


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.


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.

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

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

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

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