You are here: Reference > Standard rules > Library rules

Standard libraries

The Pega 7 Platformcontains several standard library rules. Each belongs to one of the four standard RuleSets that define PegaRULES.

Use the Records Explorer to view a complete list of the standard and custom libraries in your system and the functions in each library available to you.

Most standard rules belong to a locked RuleSet version. However, you can update standard library rules — those library rules that have PegaRULES, Pega-ProCom, Pega-WB or Pega-IntSvcs as the first key part. Use extreme care when altering these libraries, because correct operation of the generated libraries is vital. As a precaution, print out or make a copy of the original version before changing the standard rule. Your changes may be overridden when a new version of PRPC is installed.

Libraries named MapFrom or MapTo (in any RuleSet) have special uses. These libraries can contain functions that extend the capabilities of data mapping on service and connector forms. Consult Integrating with External Systems 5.2 for more information on custom data mapping functions. (The standard MapTo library contains functions supporting Parse Delimited rules.)

This list does not include libraries in the Pega-WB RuleSet. Except as instructed by Pegasystems Global Support, avoid use of functions in the Pega-WB libraries, as they are subject to change from product release to product release.

RuleSet

Library

Purpose

Pega-RULES BusinessCalendar Business Day calculations.
Pega-ProCom ContextURL URLs for external access through Directed Web Access
Pega-RULES DateTime Date and time conversions and calculations
Pega-RULES DBSchemaUtils Database schema support
Pega-RULES DecisionTree Supports decision tree evaluation.
Pega-IntSvcs Default Miscellaneous. Being phased out in favor of more specific libraries.
Pega-ProCom Default Miscellaneous. Being phased out in favor of more specific libraries.
Pega-RULES Default Miscellaneous. Being phased out in favor of more specific libraries.
Pega-ProCom Flow Functions used in flow processing
Pega-RULES ListView Support list view processing
Pega-RULES Map Supports map value evaluation
Pega-IntSvcs MapTo Data mapping and data conversion functions, for Parse Delimited rules
Pega-RULES Math A collection of arithmetic functions
Pega-RULES Page Clipboard page manipulation functions
Pega-ProCom Routing

Assignment routing functions

For example, the getSubstitute() function identifies a substitute operator for an operator who is not available.

Pega-RULES Sort Sort functions
Pega-RULES String A collection of string functions

About Library rules
Standard rules index