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

Error on invoking a custom function by invoking the flow



User creates a new custom function in an existing library in the development environment. After performing testing through the System Integration Testing (SIT) and User Acceptance Testing (UAT) environments, the user imports the function to the production environment and extracts the library using the System Management Application (SMA) on all the nodes. However, assembly error occurs at runtime on invoking the function by invoking the flow.

Error Messages

Error Message : Invalid expression or reference: No candidates found [possible function name, ruleset/version or number of parameter problem]

Steps to Reproduce

  1. Create a custom function in the lower environment
  2. Import the function to the production environment
  3. Extract the library
  4. Run the flow that references the function

Root Cause

A defect in Pegasystems’ code or rules. Assemblies are created with throwUnresolvedAssembyError since the shorthand notation references to functions which cannot be resolved at the assembly time. This results in the polluted assemblies. A function and/or library is added on one node and the assembly happens on some other node. The other node is not related to the new function.


  1. Apply HFix-54329
  2. Restart the nodes 


Published August 15, 2019 - 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