Obj-List method — Examples |
When you execute an activity step that contains an Obj-List method, you specify a destination PageName as the first parameter.
In this example, the PageName is TWO.
This sample Obj-List method uses a list named Sample to retrieve selected facts (properties) from up to 40 flow action rules with Work- as the Applies To key part.
The system creates a page with this PageName and the
class Code-Pega-List as a top-level User Page. It contains
an embedded Page List
property named pxResults
;
each numbered page contains properties from a returned instance.
Each element of the Page
List
is a page. The pages are named pxResults(1), pxResults(2),
pxResults(3), and so on.
Each page contains properties specified in the list rule, for one returned object.
This method creates additional pages that record the search criteria:
pyListDef
page contains the list rule referenced
in the ObjClass and RuleObjList
parameters.The pyCondition
page identifies the Selection
parameters in the Obj-List method.