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 Message : pega.pegarules.pub.generator.UnresolvedAssemblyError: Invalid expression or reference: No candidates found [possible function name, ruleset/version or number of parameter problem]
Steps to Reproduce
- Create a custom function in the lower environment
- Import the function to the production environment
- Extract the library
- Run the flow that references the function
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.
- Apply HFix-54329
- Restart the nodes
0% found this useful