In Dev Studio, you use the report definition rule to create
reports.
The report definition rule generates an SQL query that
retrieves and sorts information from the PegaRULES database, an external database, or an
Elasticsearch index, and displays the results in various formats.
-
Open the report definition rule form by clicking .
-
Create a report definition:
-
In the Label field, enter the title or description of the
record.
- Optional:
To edit the Java identifier, in the Identifier field, click
Edit, and then provide a new name.
By default, the Identifier field inherits the name from the
Label field. A valid identifier name starts with a letter,
and consists of letters, digits, and underscores.
-
In the Apply to field, select a class applicable for the
report definition, or select a work pool to report on all work types in the work
pool.
Note:
For certain uses, you can select an abstract class for the field, such as the
Work- class. The system then determines a work pool, or a
single class that is the source of the report contents. For example, a report
definition with Work- class presents drill-down details that
another report definition references.
The list of available class names depends on the ruleset you select. Each
class can restrict applying rules to an explicit set of rulesets as specified on the Advanced
tab of the class form.
-
In the Add to ruleset list, select the ruleset to include
the report definition.
- Optional:
In the Work item to associate field, press the Down arrow
key, and then select a work item.
-
Click Create and open.
-
In the Edit Report definition page, define the contents and
display of the report.
-
Click Save.