Expression Builder icon is not available in Declare Expressions
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.
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.
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.
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.