Grouping filter conditions on instance

If you need to apply two or more conditions to the same instance of a class, you can group the conditions on instance. When you do this, all the conditions in the group must be satisfied for properties of the same class instance. The same restrictions as for a nested group apply, but you cannot create any sub-groups on instance.

For example, if you have a computer with two logical disks:

and you apply the following filter:

   LogicalDisk.FileSystem		=   NTFS		 AND 
   LogicalDisk.Size			>   20 Gb		 

By default, the filter returns this computer because both conditions are met, one on each logical disk, even though the computer does not contain a disk that meets the filter criteria.

To make the filter exclude the computer unless it contains a logical disk that satisfies both the conditions, you need to group the conditions on instance:

 (  <* LogicalDisk.FileSystem		=   NTFS		 AND 
	 *>LogicalDisk.Size			>   20 Gb	)	 

The grouping is indicated in the Property column, as follows:

<* preceding the class name
The first condition in the group on instance.
* preceding the class name
A condition (not the first or last) in the group on instance.
*> preceding the class name
The last condition in the group on instance.

A group on instance is automatically a nested group. This grouping is indicated by the ( symbol in the (... column and the ) symbol in the ...) column.

When you add conditions to the filter within a group on instance, you are restricted to properties for the same class as in the group.



To group filter conditions on instance