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

Unable to save declare expression for data page of type list

SA-86297

Summary

Unable to save a declare expression when a data page of type List is referenced for the Sum aggregate option in the Declare Expression rule.


Error Messages



Invalid expression or reference: error Final expression D_myDataPage.pxResults().Price (integer/double) can't be converted into the desired type (ClipboardProperty Collection)


Steps to Reproduce

  1. Create a data page of type List. Ensure the data page results have either an integer or a decimal property (D_myDataPage.pxResults(1).Price).
  2. Create a declare expression on the GrandPrice of equivalent type [Integer or Decimal] property.
  3. Use the Sum Of method in the declare expression to aggregate the Price value in the pxResults.Set GrandPrice = Sum Of D_myDataPage.pxResults().Price
  4. Save the rule.


Root Cause



A defect in Pegasystems’ code or rules 


Resolution



Apply HFix-55695.

Published August 15, 2019 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

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