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

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

  1. Create a property of type Integer, Decimal, or date. 
  2. Right click on the property in Application Explorer and choose 'Define Expression'. 
  3. 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.
Suggest Edit

Published June 30, 2015 - 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