Support Article
Expression Builder icon is not available in Declare Expressions
SA-10875
Summary
The Expression Builder gear icon is not available in Declare Expressions for target properties of type Integer/Decimal/date and so on. It is available only for text type properties.
Error Messages
Not Applicable.
Steps to Reproduce
- Create a property of type Integer, Decimal, or date.
- Right click on the property in Application Explorer and choose 'Define Expression'.
- Once you go to the Declare Expression rule form, some standard function templates are available but you cannot see the gear icon to launch Expression Builder.
Root Cause
The Expression Builder icon visibility is controlled by the return type of the function alias and does not depend on the target property type.
But the list of function aliases that appear does depend on target property type. For example, if the return type of a function alias is of type integer, then a list of functions appear that returns an integer and the Expression Builder does not appear.
If any function is selected from Expression Builder that returns a value other than integer, then an exception will occur.
Resolution
This issue is scheduled to be fixed in Pega 7.1.9. A local change for this issue is to build the expression elsewhere and paste it in the Declare Expression rule.
Published June 30, 2015 - 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.