You are here: Reference > Standard rules > Function rules > Overriding a standard function

Overriding a standard function

To override a standard function:

  1. Create a library in your application ruleset with the same name as the standard library that contains the function.
  2. Use Save As to copy the standard function into your library, retaining the function name.
  3. Update the function Java code as desired, being careful to consider the effect of your changes on existing calls to the function.

Caution: Do not reference or override any function or library in the Pega-WBruleset; they are reserved. The names and capabilities of these functions are subject to change.