A Page List mode property is a data structure
consisting of an ordered list of zero or more pages, each
identified by an integer index (starting with 1). Page
List
is one of the eleven modes a property rule may
have. Pages must be created with sequential subscripts: 1
before 2, 2 before 3 and so on.
In contrast, a Page Group
data structure may be
empty or can contain one or more pages, but the order of the
pages is not significant.
On the Clipboard tool and Explorer displays, the
icon identifies Page List
properties.
You can call one of the standard activities
@baseclass.AppendToPageList or
Work-.AppendToPageList to add a page to a
Page List
property.
By default, a warning alert occurs when processing creates a Page List property with 10,000 or more entries. Optionally, as a diagnostic aid, you can cause processing to fail (with a Java exception) when a threshold limit is exceeded.
These standard function rules are useful when working with
the pages of a Page List
property. Matches require
an exact case match, not using
equalsIgnoreCase()
.
Name |
Description |
countInPageList(LookFor, LookAt, LookIn) | Counts the number of pages in
a Page List property LookIn that
have an exact match to the string value
LookFor as the value of embedded property
LookAt . |
countInPageListWhen(WhenName, LookIn) | Counts the number of pages in
a Page List property LookIn for
which the when rule WhenName evaluates to true. |
entrySatisfiesCondition(LookIn, Operand, LookFor, Multiplicity) |
Examines the values of one scalar property reference
on each page of the
Returns true if all (or any) of the values meet the
comparison. Does not create any
additional pages. Returns false if the For example: @entrySatisfiesCondition(.Invitees().age, ">", 45, "ANY") |
findInPageList(lookFor, lookAt, lookIn) |
Use only in a Java context. Returns a Java
ArrayList identifying those pages of the
Page List property lookIn which
contain the string lookFor as the exact value
of the scalar property lookAt . |
findInPageListWhen(whenName, lookIn) |
Use only in a Java context. Returns a Java
ArrayList identifying those pages of the
Page List property lookIn for
which the when condition rule whenName
evaluates to true. |
IsInEachPageofList(lookFor, lookAt, lookIn) | Returns true if on all pages
of the Page List property lookIn ,
the value of the property lookAt matches the
string value lookFor . |
IsInEachPageofListWhen(whenName, lookIn) | Returns true if the when
condition rule whenName evaluates to true for
every page of the Page List property
lookIn . |
IsInPageList(lookFor, lookAt, lookIn) | Returns true if the string
lookFor is found as an exact match to the value of
the property lookAt in one of the pages of the
Page List property lookIn. |
IsInPageListWhen(whenName, lookIn) | Returns true if, for any one
of the pages of the Page List property
lookIn , the when condition rule
whenName evaluates to true.
|
(These functions also work when the lookIn
parameter identifies a Page Group
.)
By default, a PEGA0035 alert appears if a Page List property has more than 10,000 pages. You can disable this alert or raise or lower the threshold.