Support Article
No candidates found error for a function after import
SA-30508
Summary
A developer created a custom function in the development environment. After importing the function into production an assembly error is observed on execution.
Error Messages
Caused by: com.pega.pegarules.pub.generator.UnresolvedAssemblyError: Invalid expression or reference: No candidates found [possible function name, ruleset or version or number of parameter problem]
Steps to Reproduce
1. Create custom function.
2. Import into production environment.
3. Run flow that references the function.
Root Cause
A defect in Pegasystems’ code or rules: Import of a function can sporadically result in an assembled function name that is not usable by the engine.
Resolution
Apply HFix-30547 to prevent future occurrences.
Revalidate and save the function with errors to clear the issue.
Published December 24, 2016 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.