UnresolvedAssemblyErrors shut down agents
After skimming and migrating a set of rulesets, agents encounter UnresolvedAssemblyErrors and shut down.
Batch activity "<Your_Activity>" threw:
com.pega.pegarules.pub.generator.UnresolvedAssemblyError: Invalid expression or reference: No candidates found [possible function name, ruleset/version or number of parameter problem]
ERROR - Agent [<Your_Agent>] activity [<Your_Activity>] queue number  disabled due to execution errors ErrorMsg: ** <Your_Function> -InvalidExpression
No candidates found [possible function name, ruleset/version or number of parameter problem] for Rule-Utility-Function in ruleset list <null> expected since isEditing is false ruleset = <Your_Ruleset> library = <Your_Library> functionName = <Your_Function> parameters = [ ]
Steps to Reproduce
Migrate the skimmed rules.
A defect or configuration issue in the operating environment.
The function in the error messages did not compile correctly. This resulted in an error which had to display when the First Use Assembly (FUA) of the migrated rules ran. Hence, the agents shut down.
Perform the following local-change:
Revalidate and save the function (in question).
0% found this useful