Use a declarative index — the rows of database tables that are maintained by Declare Index rules — to speed access to instances that have specific property values, especially embedded properties that can't be exposed.
After you implement a declarative index, reports can use the indexed property value as a selection criteria. For example, if an array of embedded Universal Product Code (UPC) codes in a work object are indexed, you can report on all work objects containing a specific UPC code. Reference the index class on the Contents and Join tabs of the List View form or Summary View form.
To create indexes for an embedded property in a Page
List
, Page Group
, or Page
property, you
can use the Declarative Index wizard. For an example, see Pega Developer
Network article PRKB-25278 How to create Declarative
indexes for embedded properties.
The wizard requires special database privileges. See About the Declarative Index wizard.
In some organizations, policies or practices may prevent use of the Declarative Index wizard, which requires a database account with special schema privileges.
Working together, Process Commander developers and a database administrator (DBA) can define an Index- class and a Declare Index rule to improve access to data not in an exposed column of a database table.
Single Value
properties in the new index class
to hold the values of the source instance properties. Confirm with
your database administrator that all these properties are
exposed columns in the database, or modify the database schema as
necessary.Index processing starts as soon as you save the Declare Index rule.
As a best practice, do not create declarative indexes for top-level Single Value properties.