Reuse and Version Management
Build for maximum reusability to keep your versions clean.
Reuse and Version Management covers a range of standard Pega features and developer practices that support:
- using the right version of the right rule at the right time
- leveraging existing processes and components to achieve similar tasks in disparate places in the application, without having to write the same processes over and over
- simplifying and clarifying the organization of the application's code, to make the project easier to understand, navigate, support, and share
Rule resolution and availability
Rule resolution: When an activity (or property or other rule) is called during processing, rule resolution first searches for that rule in the class where it was called. If the rule is not present in that class, rule resolution then searches other classes in the hierarchy, based on specific procedures.
Rule availability: The “Availability” option on a rule allows you to prevent rules from being copied, or turn off rules which had been in use but are no longer applicable or have been replaced by a different rule.
Circumstances and other qualifiers usually represent facts about customers. These conditions or circumstance options can be a date, property, or template. They allow you to specify that different rules should be used for different situations. By specializing or circumstancing a business rule, you can create conditional variants of the rule that address more specific business cases.
Component and shared rulesets
A component is a set of rules which contain encapsulated functionality. Components hold a standalone process which can be embedded in multiple applications; they do not depend upon one application’s rules or functionality. Use a component when you have functionality that could be applied to more than one application, such as a credit score calculator.
Build and validate your skills
Find the training that works for you and invest in your success.
Get the help you need
Search support articles, community posts, and open support requests.
Watch the latest videos
Browse our growing video library and maximize your Pega investment.