A library rule is a container for a set of related function rules (Rule-Utility-Function rule type). Create a library rule to hold custom functions for your application, which can supplant and extend standard functions.
A library rule is the first key part of a function rule.
Each reference to a function rule (a call or invocation) identifies the library to which the function rule belongs. You can reference function rules in expressions and in Java code. Expressions are widely used in many rule types to compute property values.
Your system contains several standard libraries and hundreds of standard functions. For example, the standard library rule named DateTime (in the Pega-RULES ruleset) contains several standard functions for date and time format conversions.
Use the Records Explorer to list all library rules in your system.
Library rules belong to the Technical category. A library rule is an instance of the Rule-Utility-Library rule type.
About Expressions
Activities, libraries, and functions — Concepts and terms |
|
Standard Libraries |