Skip to main content


         This documentation site is for previous versions. Visit our new documentation site for current releases.      
 

Library rules

Updated on August 16, 2022

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.

The following tabs are available on this form:

  • Check-out and Restore operations are not available for library rules, even for rulesets with the Use check-out? check box selected.
  • Library rules are always available. You cannot change the availability of a library rule to No/Draft Mode, Blocked, Withdrawn, or Final. (However, you can change the availability of functions in the library, and then recompile the library.)

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.

Have a question? Get answers now.

Visit the Support Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega.com is not optimized for Internet Explorer. For the optimal experience, please use:

Close Deprecation Notice
Contact us