You can set up notifications to only be sent when they meet a certain condition.
The only condition test settings available for global notifications are the Test filter count and <None> options.
The <None> option is not available for notifications configured at the class level.
Macros can be used in Value fields to configure a condition.
The following condition tests are available:
Option |
Description |
---|---|
Attribute value is |
Sends a notification when the value of the selected Attribute currently matches the comparison criteria. Select the appropriate Attribute, Operator, and Value. Note:
This options is available when the notification is configured for a specific class. |
Attribute value was changed |
Sends a notification when the selected Attribute value is changed. Whether or not a notification is sent is dependent upon the object event(s) selected. If an object is created with Created selected, and the field for the specified attribute has a value, a notification is sent; otherwise, a notification is not sent. If an object is modified with Changed selected, and the field for the specified attribute is changed, a notification will be sent; otherwise, a notification is not sent. If an object is deleted with Deleted selected, and the field for the specified attribute contained a value, a notification is sent; otherwise, a notification is not sent. Note:
This options is available when the notification is configured for a specific class. |
Attribute value was set to |
Sends a notification when the value of the selected Attribute was changed to match the comparison criteria. Select the appropriate Attribute, Operator, and Value. Note:
This options is available when the notification is configured for a specific class. |
Filter for dependent objects |
This option should be used in conjunction with a Send notification when object is option selected in the Condition tab . This option requires that the current class is linked from another class via a relationship attribute, which belongs to this other class, and that a filter has been created using this relationship attribute. This option will compare the currently created, changed, or deleted object with the results of the selected Filter. The Body of the notification can be configured to send meaningful messages concerning the results of the selected filter in relationship to the current object. When this condition is set for the Value to equal 0, a notification will be sent when no objects are found. When this condition is set for the Value to equal 1, a notification will be when an object is found. Note:
This options is available when the notification is configured for a specific class. |
Test filter count |
Sends a notification only when the count returned by the selected Filter matches the comparison criteria. When configuring a notification that is not associated with a class, all filters configured for the system are available for selection. When configuring a class specific notification, only the filters related to the notification's class are available for selection. When Test filter count is selected for a notification that is not associated with a class, the Iterations drop-down list is displayed. The Iterations drop-down list allows e-mail messages to be sent based on the number of objects on a filter. Select the appropriate option.
Note:
This options is available when the notification is not configured for a specific class. |
Test object against filter |
This option should be used in conjunction with a Send notification when object is option selected in the Condition tab . This option will compare the currently created, changed, or deleted object with the results of a filter. If the condition is set for the Value to equal 0, a notification will be sent when the object is not found in the selected filter's results. When this condition is set for the Value to equal 1, a notification will be sent when one object is found in the selected filter's results. If no Value is specified, a value of 1 is assumed. Note:
This options is available when the notification is configured for a specific class. |
Any changes to notifications at the class level require a restart of IIS.