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

$ANY keyword does not work post upgrade

SA-16606

Summary



After migrating from PRPC 6.1 SP2 to Pega 7.1.8, unable to save few activities due to an error caused by the usage of $ANY.


Error Messages



Invalid expression or reference: When used with a "For Each Embedded Page" option, the Step page should reference a list or group property


Steps to Reproduce



1. In an activity, specify a page in pages & classes tab and refer it to $ANY.
2. Use this page as step page of a step and call some page list.
3. Configure For Each Embedded Page on looping of this step.
4. Try to save the activity which is throwing error.



Root Cause



This issue is due to the addition of extra validations for the usage of $ANY in pages & classes tab.


Resolution



It is required to configure three references in pages&classes tab of activity to use $ANY.

Page name - $ANY
Page.Pagelist - Code-pega-list
Page.Pagelist.pxResults - [class to which pxResults instances belongs]


Sample screenshots are below.




 
 

Published January 31, 2016 - 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