Support Article
UnresolvedRuntimeError on running activity to use quote function
SA-57702
Summary
UnresolvedRuntimeError occurs while running an activity to use quote function.
Error Messages
com.pega.pegarules.pub.PRRuntimeError: PRRuntimeError
Caused by: com.pega.pegarules.pub.generator.UnresolvedRuntimeError: Multiple suitable instances of this function quote--(String) found at
RuleSet : Pega-DecisionEngine Library : AdaptiveModelFUA LibraryClass : pega_decisionengine_adaptivemodelfua [ruleset version : 07_10_17, availability : Yes]
RuleSet : Pega-DecisionEngine Library : DSMFUAUtils LibraryClass : pega_decisionengine_dsmfuautils [ruleset version : 07_10_17, availability : Yes]
Please be more specific when calling this function by providing library and ruleset
at com.pega.pegarules.generation.internal.library.LibraryFunctionUtilityImpl.filterWithoutLibraryName(LibraryFunctionUtilityImpl.java:2808) ~[prprivate.jar:?]
Steps to Reproduce
Configure an activity to use a quote function and run it.
Root Cause
The function was not used with a correct namespace.
Resolution
Perform the following local-change:
Modify the function call to use library and the function to be more specific. That is, provide the complete namespace for the quote function as “ += "," + @(Pega-RULES:Default).quote(.pyRuleName)" instead of using “ += "," + @quote(.pyRuleName)".
Published July 23, 2018 - 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.