Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

The Utility function form pega rules failed to execute



After upgrade of Utility function form, Pega rules failed to execute and not able to create work object.

Error Messages

Caused by: Problem invoking function: pega_rules_utilities.lookup--(String,String,String,St2c086e23263e7513a698846b7b67a739, com.pegarules.generated.lookup_071017_H6mYtssPkK6kFfGwdFSTjQ
at com.pega.pegarules.generation.internal.library.LibraryMetadataCache.getFunctionInstance(

Steps to Reproduce

Go to rule utility function and compile the function or refer the function in the rules to get the error.

Root Cause

1. Manually compile “lookup function” in utilities library by clicking “Test function compilation” to observe the error “cacheLookup cannot be resolved to a variable”.
2. Verify the “Static Variables” section in Utilities library which is part of Pega-Rules and found that this static variable is not present.
However, for the same Out-of-the-box (OOTB) rule the static variable is present in working environment.


Perform the following local-change steps:
  1. Import the “RULE-UTILITY-LIBRARY UTILITIES PEGA-RULES” to working environment.
  2. Click on “Generate Library” to generate the library to resolve the issue.

Published May 17, 2017 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration 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 Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us