You are here: Reference > Rule types > About Library rules

About Library rules

  1. About
  2. New
  3. Packages
  4. Static Variables
  5. Specifications
  6. History
  7. More...

A library rule is a container for a set of related function rules (the Rule-Utility-Function rule type). Create a library rule to hold custom functions for your application, which can supplant and extend standard functions.

Notes:

Where referenced

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 DateTime (in the Pega-RULES ruleset) contains several standard functions for date and time format conversions.

Access

Use the Records Explorer to list all library rules in your system.

Category

Library rules belong to the Technical category. A library rule is an instance of the Rule-Utility-Library rule type.