|
Selection Criteria Concepts for Purging Rules
Note: Before you begin creating filter criteria, you should have a good understanding of APM object modelling. For more information, see Object Model Overview.Criteria Are Based on Class Attributes or Relationships
In most cases, you will base the filter on an attribute (property) of the base class. For example, you might filter a group of work requests based on the WorkRequestStatus attribute. However, you can also use an attribute owned by a related class.You can also filter a group of objects based on its relationship to anouther set of objects. For example, you might use the Work Request class’ Asset to work on relationship to select only requests for a specific asset or for a specific asset and its children.Boolean Logic for Filter Criteria
Filter Groups
Each filter group is identified by a number. The first criterion that you create is assigned to filter group “0”. By default, each new criterion is added to the same filter group. You can change the group to which a criterion is assigned by entering another group number in the Logical group box on the Filter Criterion dialog. You can add any criterion to any filter group. For example, you might want to evaluate all criteria based on the same attribute within the same group.Logical Operators
The default choice is AND within a group, OR between groups. Because each group typically contains only criteria for the same attribute, in most situations it is not necessary to change the default operator.For example, the following criteria and the AND within a group, OR between groups setting:
If the logical operator setting is changed to OR within a group, AND between groups and the groups the criteria belong to:
Data Types
•
•Filtering On Compound Data Types
Quantities
Durations
Currency Amounts
Prices
Date and Time