|
![]() |
Use the Obj-Filter method to filter the embedded pages of a results page (such as a Code-Pega-List page produced by the Obj-List, RDB-List, Obj-List-View or Obj-Browse methods) based on one or more when condition rules.
For example, if each embedded page on results page contains
a Page List
property Child and each Child page
contains a Single Value
property FirstName, you
can use the Obj-Filter method to remove all embedded pages
where no value of FirstName is "Robert".
For best performance, use an
Obj-Browse method to search and retrieve instances of a class
where the selection criteria involve only
Single
Value
properties exposed as columns in the PegaRULES
database. Use the Obj-Filter method to refine search results by
deleting pages based on when condition tests that involve
non-exposed property values, including aggregate
properties.
This method has two required parameters and an array parameter.
Parameter |
Description |
ListPage |
Name of the results page, of class Code-Pega-List. |
ResultClass |
|
When |
|
At runtime, the system uses rule resolution to find the when condition rules.
It applies the when condition rules to each embedded page, and deletes any embedded pages for which any when condition evaluates to false.
The embedded pages for which all when condition rules evaluated to true are not affected.
The contents of surviving embedded pages are not affected.
This method updates the pxMethodStatus property. See How to test method results using a transition.
![]() |
results page |
![]() |
Obj-Browse
method
Obj-List method Obj-List-View method |
![]() |
Atlas — Standard properties in the Code-Pega-List class |