Close popover
Sven TAN (SvenKrow)
Avensys Consulting Pte Ltd

Avensys Consulting Pte Ltd
SvenKrow Member since 2020 3 posts
Avensys Consulting Pte Ltd
Posted: April 9, 2020
Last activity: April 10, 2020

How to Remove selected Pages in Activity in pxResults?

Image removed.


So, my activity created X number of rows, and I want to keep the highest value for each type (Garden - highest value is 6000, and Kindergarten is 10).

To do that I sort my pages in Ascending order, which shows 1000, 2000, 4000, 6000. Then I iterate the Page-Remove process in the Loop for each Embedded Page to delete anything lower than 6000 in the Garden Type.

In the Page-Remove, I set the When Condition for when Param.Type == .Type and Param.Value <= .Value, the Page-Remove will delete the previous page (that was sorted in ascending order). The Property-Set is to set the current values for Type and Value to compare with the next Page.

Image removed.


However, I don't know what to set in the

Page-Remove and nothing seems to work.


Pega Platform 7.3.1 Low-Code App Development Technology Services System Architect