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:
There 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.
Published March 23, 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.