Managing Configuration Data in Pega Rules

Identifying and incorporating configuration data into a rule base is one of the design best practices in PRPC development. PRPC has several out of the box features where users can create and manage configuration data with less effort and minimum steps.Configuration data in PRPC can be classified into three different domains mainly based on the actor who configures. The key to good design is identifying the best feature, for a given requirement with the actor in mind.Following table lists down all three actors and supported PRPC features with examples.ActorPRPC FeatureEnvironment ExamplesBusiness UserData TableDecision rules that support rule delegation e.g. Map Value ProductionLimit Approval values for ManagersSystem AdministratorDynamic System SettingsData TableAll environmentsWeb service end point URLs on each environmentWeb Service Security user credentials on each environmentPerformance alert settingsDeveloperDynamic System SettingsData TransformMap ValueData TableHierarchy Develo…

Pega Rules Process Commander Extension Points

Extension points are one of the important constructs that designers of PRPC have baked into the product. As the name says it lets you to extend core functionalities of PRPC in a control manner as envisioned by the original designer of a particular module.As a beginner when you first found out about extension points you were very exited and used this new found pattern to crack a problem with ease. After that for most of us the natural question was where else has Pega used this pattern while building the product. You do a PDN search and find a list of activities, but the real question is, is that it, have they documented everything in PDN, I do not think so.So this attempt is to capture documented and undocumented Extension Points into one centralized place with the help of PRPC community.If you are willing to contribute please use the following Google form to submit extension points where they will be added to a public Google spreadsheet.Loading...To access the form directly please vis…

Search PDN directly from Google Chrome

I think most of you know that we can add custom search engines to chrome and associate them with a keyword. By doing that we can directly invoke search from address bar itself. We can do the same for Pega Developer Network search.Right Click Address bar --> Edit Search Engines –> Configure ‘Other search engines’ section with following URLs.PDN default search -
PDN forum search - you want to search type the specific keyword space your search term in address bar and hit Enter.

Beauty of Higher Order Functions

If you are familiar with JavaScript you must have come across the usage of Higher Order Functions. Simply put higher order functions can accept functions as parameters or can return function as a result. When you understand the basics, it's joy to work with them. Due to the elegant design of PRPC runtime, we can easily simulate higher order functions using activities. Following activity is a good example of such a scenario.Code-Pega-List.ProcessSelectionSo next time when you find a problem see if you can solve it using higher order functions. If properly used your code will be more modular and look very professional.

Clipboard Page Analyzer

Have you seen a colored clipboard like this before, probably not right, please read to find out how and more importantly why it looks as it is.

Importance of Sandbox ruleset

One of the major problems that Pega projects face with time is build up of test rules within the official business rulesets. If not properly managed these rules could end up in the production environment which is not an ideal situation to have. But can we really stop creating test rules, for me the answer is no, because creating test rules is also an integral part of the iterative development process. So how can we maintain a clean development environment while also allowing the creation of test rules.The answer is the Sandbox ruleset. By creating a separate ruleset only for test rules it is possible to have a clean development environment while allowing the creation of test rules in development process.Following are the steps that have to be followedCreate a sandbox ruleset and versionUpdate ruleset restrictions in classes to include the sandbox rulesetCreate a separate sandbox application rule and include the sandbox ruleset and put your main application as the Built on ApplicationC…

Creating custom rules in PRPC

You can find the first part of this post from hereWhat do you think one of the frequently asked question in PDN forum, any guesses?, it's about Excel integration with PRPC, but ironically by the time of this writing PRPC still does not support a rule based approach to the problem of Excel integration. So are we in a dead-end, frankly not. Due to the elegant design of PRPC, we can create our own custom rule to accomplish the task.
Welcome to the second post of the series "Creating custom rules in PRPC", as I pointed out in the first post, in this post I am planning to systematically lay down the steps that need to be taken in order to create a custom rule.
Word of caution: Most of the things I am writing here are, what I called observable knowledge, meaning - understanding how something works literally by observing the system and in case of PRPC reading the rules in the system without going through a formal How-To documentation, reason being we do not have such docum…