Question

2
Replies
122
Views
SvenKrow Member since 2020 3 posts
Avensys Consulting Pte Ltd
Posted: 5 months ago
Last activity: 5 months 1 week ago

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
Share this page LinkedIn