Support Article
Unable to find function after upgrade to Pega 7.1.8
SA-14709
Summary
After updating from Pega 7.1.7 to 7.1.8 and also redeploying PegaSurvey and HFix-20523 to the environment, when attempting to access cases with the PegaSurvey function IsSetToTargetProp, an error occurs.
Error Messages
-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 = null library = null functionName = IsSetToTargetProp parameters = [ Item: tools Pega type = PublicAPI Java data type = PublicAPI]
Caused by:
com.pega.pegarules.pub.generator.UnresolvedAssemblyError: Invalid expression or reference: No candidates found [possible function name, ruleset/version or number of parameter problem]
at com.pega.pegarules.priv.FUAUtil.throwUnresolvedAssemblyError(FUAUtil.java:423)
at com.pegarules.generated.expressions.ra_action__settoproperty__7c1bf47da93b820d30d08c2be18bd6fa.perform(ra_action__settoproperty__7c1bf47da93b820d30d08c2be18bd6fa.java:109)
at com.pega.pegarules.session.internal.mgmt.Executable.doAction(Executable.java:3305)
at com.pega.pegarules.exec.internal.declare.infengine.ChainingEngineUtilImpl.runActivity(ChainingEngineUtilImpl.java:227)
at com.pega.pegarules.exec.internal.declare.infengine.ChainingEngine.processVariableChanges(ChainingEngine.java:1027)
at com.pega.pegarules.exec.internal.declare.infengine.ChainingEngine.forceFeedProcessVariableChanges(ChainingEngine.java:524)
at com.pega.pegarules.exec.internal.declare.infengine.InferenceEngineImpl.invokeForwardChaining(InferenceEngineImpl.java:592)
at com.pega.pegarules.exec.internal.declare.infengine.InferenceEngineImpl.forwardChain(InferenceEngineImpl.java:637)
at com.pega.pegarules.exec.internal.declare.infengine.InfEngUtilsImpl.forwardChain(InfEngUtilsImpl.java:885)
at com.pega.pegarules.exec.internal.declare.infengine.InfEngUtilsImpl.forwardChain(InfEngUtilsImpl.java:914)
at com.pegarules.generated.activity.ra_action_insertintostagingtable_da2ffce0453418db96c51acbce503bb8.step5_circum0(ra_action_insertintostagingtable_da2ffce0453418db96c51acbce503bb8.java:541)
at com.pegarules.generated.activity.ra_action_insertintostagingtable_da2ffce0453418db96c51acbce503bb8.perform(ra_action_insertintostagingtable_da2ffce0453418db96c51acbce503bb8.java:141)
at com.pega.pegarules.session.internal.mgmt.Executable.doActivity(Executable.java:3500)
at com.pega.pegarules.session.internal.mgmt.Executable.invokeActivity(Executable.java:10521)
Steps to Reproduce
- Choose a case which has PegaSurvey questions.
- Run the application activity StartLegacyCaseMigration.
- Observe it fail in the page-copy step displaying the above mentioned error.
Root Cause
A defect in Pegasystems’ code or rules. The Engine is supposed to check if it is "ready" before servicing requests. There were paths into the system that bypassed the checks.
Resolution
Apply HFix-23713 that is reissued on September 2015.
Published January 31, 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.