Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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)".

 
Suggest Edit

Published July 23, 2018 - Updated October 8, 2020

Did you find this content helpful? Yes No

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us