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

evaluateDecisionTable function missing from expression building

SA-21053

Summary



When creating a Data Transform and setting properties to a value you can use Expression Builder (gear icon). 
Then we do not see the function available when search for the function evaluateDecisionTable which is part of ExpressionEvaluators. 

Typing the expression manually works and bring correct results at run-time, but developer must know in advance the function name and format in order to use it. 

The run-time call for evaluateDecisionTable works and the issue is only with design time configuration as you must know the function name in order to use it.

Error Messages



No error message, but function is not found using the search engine

Steps to Reproduce



1. Create a datatansform 
2. Try to build an expression to resolve the value to be set to 
3. Try to find the ExpressionEvaluators • evaluateDecisionTable 

Root Cause



This is working as it is intended to. The function "evaluateDecisionTable" is an internal function and the expression builder will not show internal functions by default. 

Resolution



Perform the following local-change: 
T
here is a WHEN rule "pyShowInternalLibrary", which is of Available and Extension type.
You need to override this when rule and make it true. This will result you'll be able to see the internal functions in the expression builder.
Suggest Edit

Published March 23, 2016 - Updated October 8, 2020

Did you find this content helpful? Yes No

100% found this useful

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