Previous |
Next |
After a new trigger rule is added, you can activate or deactivate it for the running application, as described in "Activating and Deactivating a Rule". To create a trigger rule, you must at least complete Step 1 though Step 3 in the following procedure.
To add a new trigger rule by using the Add wizard:
Click the Triggers tab.
Click Add.
The Add New Rule—Select attribute subscription trigger dialog box appears.
Drill down to locate the attribute on which you want to trigger.
Click Next.
The Add New Trigger Rule—Set condition for triggering dialog box appears.
In this dialog box, set the properties that define when the rule will be triggered; for example, the threshold at which the rule is invoked and for how long the triggering condition should be sustained before invoking the trigger action.
Fill in the fields as described in Table: Set Condition for Triggering Field Descriptions.
Set Condition for Triggering Field Descriptions
In this field | Enter |
---|---|
Max trigger value |
(for numeric attributes) The maximum value for the selected attribute at which point the rule should be triggered. |
Match string |
(for non-numeric attributes) The matching string for which the rule should be triggered. |
Sustained (s) |
The duration, in seconds (s), that the triggering condition must be met for the action to be triggered. |
Limit period (s) |
The minimum time, in seconds (s), between consecutive triggers. |
Trigger when condition is met (check box) |
Whether or not you want the action to be triggered when the attribute reaches the trigger value from a higher value; for example, if the trigger value is 80 and the attribute value descends from 100 to 80, the notification will be triggered. |
Trigger when recovering from condition (check box) |
Whether or not you want the action to be triggered when the attribute reaches the trigger value from a lower value; for example, if the trigger value is 80 and the attribute value ascends from 60 to 80, the notification will be triggered. |
Click Next.
The Add New Trigger Rule—Select Action dialog box appears.
Use this dialog box to identify the type of action you want to occur when a notification is sent.
Select the action you want to be performed. Depending on the action you select, you might have to enter additional data.
Click Next.
The Add New Trigger Rule—Select constraints dialog box appears.
This is an optional step that allows you to limit when an action is triggered; for example, you might want your action to trigger only every other day of the week or during specific hours. If you do not want to set a constraint, skip Step 9 and go on to Step 10.
Select the constraints you want applied to the trigger rule.
Date span sets a range of dates.
Day of week sets which days of the week you want your action to trigger. If you select this option, you must also specify which days you want your action to trigger.
Time span sets the time period.
Click Next.
The Add New Trigger Rule—Name your rule dialog box appears.
Enter a name for your new rule and click Finish.
The new rule appears on the Trigger Rules list.
Your next step is to activate the rule, as described in "Activating and Deactivating a Rule".