$ANY keyword does not work post upgrade
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.
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.
This issue is due to the addition of extra validations for the usage of $ANY in pages & classes tab.
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.