Professional Documents
Culture Documents
Methods:: Use The Activity-End Method To Cause The System To End The Current Activity and All Calling Activities
Methods:: Use The Activity-End Method To Cause The System To End The Current Activity and All Calling Activities
15.
OBJ Methods:
At runtime, five methods (Obj-Browse, Obj-Filter, Obj-List, Obj-List-View, and RDB-List), list view rules, and
summary view rules use a page of the class Code-Pega-List
Code-Pega-List class as a source of search criteria and to hold output. Typically, such pages are named Results,
pyQueryResultPage, or pyViewLookupList. Search results (which support rows of report output) are stored as pages
in the pxResults() property, a Page List.
Code-Pega-List is a concrete class, pages of this class exist only on the clipboard. They are never saved to the
PegaRULES database.
RDB-List method is used to retrieve rows from an external relational database and place the results as
embedded pages in a specified step page of class Code-Pega-List.
This method references a Connect SQL rule instance, and executes SQL statements stored in the Browse tab of
that rule instance. The search can do anything we can specify in a SQL statement, such as a SELECT WHERE
statement. Any constraints on the returned data are in the SQL.
RDB-Open method is used to retrieve a single row (record) of data from an external relational database and add
the retrieved data into a specified clipboard page as property names and values.
Use this method in conjunction with a Connect SQL rule that contains SQL SELECT or EXECUTE statements in
the Open tab. Define the SQL statements so that the database returns exactly one row.