Ways of modifying Pega rules
Pega's low-code platform works on object-oriented principles. Rules can inherit behavior and extend or override behavior. However, when modifying any rule in Pega, it should always be done in a way that preserves its updatability.
The safest way to ensure that a rule remains updatable is to configure the rule within the configuration parameters defined by the author, or to extend the rule according to the extension points defined by the author.
There are three ways to modify a Pega rule:
- Customization
- Extension
- Configuration
Customizing a Pega rule
Customizing means directly modifying one or more Pega rules, rather than extending or configuring them.
Extending a Pega rule
Extending a rule means overriding a rule in an inherited class (for example, by adding fields, changing the UI, and so on).
Extension points must be explicitly defined by the author for updates to be supported.
Configuring a Pega rule
Configuring a rule means using the rule's pre-defined configuration settings to configure its behavior.
Configuration is always governed and defined by the author.
Check your knowledge with the following interaction:
This Topic is available in the following Module:
Want to help us improve this content?