You are here: Reporting > How to report on rules of more than one type

How to report on rules of more than one type with Data-Rule-Summary

For reporting purposes, searching through all instances of the classes derived from the Rule- base class, or even all instances of the Rule-Service- class, can impact performance. In many cases, the database view corresponding to the Data-Rule-Summary class can provide faster and simpler reporting.

To take advantage of this solution, define a report definition rule with Data-Rule-Summary as the Applies To key part.

Exposed columns

The following properties correspond to exposed columns of the PegaRULES database view that corresponds to the Data-Rule-Summary class:

Column

Description

pyRuleSet RuleSet
pyRuleSetVersion Version, not defined for a few rule types.
pxInsID All key parts in uppercase concatenated with a single ! character as separator, but excluding any initial Applies To key part.
pyClass Rule type, for example Rule-HTML-Property.
pxUpdateOperator Operator ID of the user who most recently saved this rule.
pyRuleAvailable Availability, one of the five values Yes, No, Blocked, Withdrawn or Final.
pyInterface A means for grouping related rules. Blank in most cases.
pyLabel Short Description
pyRuleName All key parts concatenated with a single space character as separator, but excluding any initial Applies To key part.
pyClassName Applies To key part, for those rule types in which it is present.

Your report can present additional properties, but properties not listed in the table cannot be used as selection criteria.

As initially installed, the Data-Rule-Summary class corresponds to the pr4_rule_vw view in the PegaRULES database.

To report on rules that are checked out, create a report definition rule with Data-Rule-Locking as the Applies To class.

Definitions available rule
Related topics Working with the PegaRULES database — Views and Indexes
Application category — Inventory page

Reports category