Skip Headers
Oracle® Business Activity Monitoring Architect User's Guide
10g (10.1.3.1.0)

Part Number B28992-01
Go to Documentation Home
Home
Go to Book List
Book List
Go to Table of Contents
Contents
Go to Index
Index
Go to Feedback page
Contact Us

Go to previous page
Previous
Go to next page
Next
View PDF

5 Using Alerts

This chapter describes how to use Alerts.

This chapter contains the following topics:

5.1 Introducing Alerts

Alerts are launched by a set of specified events and conditions, known as a Rule. Alerts can be launched by data changing in a report or can be used to send a report to users daily, hourly, or at set intervals. Events in an alert rule can be an amount of time, a specific time, or a change in a specific report. Conditions restrict the alert rule to an event occurring between two specific times or dates. As a result of events and conditions, reports can be sent to users through email.

Alerts can be created in Active Studio also. See Oracle Business Activity Monitoring Active Studio User's Guide for more information about Alerts.

5.2 Building Alert Rules

To build an alert rule:

  1. Select the Alerts tab in the Architect function list.

  2. Click Create A New Alert.

    The Rule Creation and Edit dialog displays.

  3. Click Create A Rule.

  4. Enter a name for the alert rule.

  5. Select an event that will launch the alert. See "Events" for descriptions of each event.

  6. Click Next.

  7. Select one or more conditions, if needed. See "Conditions" for descriptions of each condition.

  8. Select one or more actions. See "Actions" for descriptions of each action.

  9. In the rule expression, click each underlined item and specify a value to complete the alert rule. For example, click select report, and choose a report in the dialog that displays. Other values you define include user names receiving reports, dates and times, time intervals, and filter expressions for a specific field. To continue adding conditions or actions, click the last line in the expression and then select another condition or action.

    You can click the Back and Next buttons to navigate between the Events page and the page containing actions and conditions, and make changes to those parts of the alert rule expression already constructed.

  10. You can click the Frequency Constraint button to set a limit to how often an alert can launch. The default frequency constraint for alerts is five seconds. Type a number and select a time measurement such as seconds, minutes, or hours, and click OK. To turn off the frequency constraint, uncheck the Constraint Enabled checkbox. For more information about frequency constraint see "Frequency Constraint".

  11. Click Delete this expression to remove lines from the alert rule.

  12. Click OK.

    The alert rule is added to list and is active.

5.3 Using Alert Rule Options

The following are the options for creating alert rules.

Events

Events launch the rule and trigger the action. Each rule contains only one event.

Conditions

Conditions are optional. You can select any number of conditions.

Actions

Actions are the results of a launched alert. You can select any number of actions.

Frequency Constraint

Frequency Constraint can be edited only if it is appropriate for the event selected. otherwise it will be disabled. It can be set to a value of time which could be in seconds, minutes, or hours.

Rules have a five second frequency constraint by default. This limits the amount of times the rule will launch in a period of time. With real-time data, transactions can occur every millisecond, so alerting frequency must be controlled. If the rule is satisfied many times within five seconds, users would not want alerting more than once in five seconds.

5.4 Creating Alert Rules From Templates

Alert rule templates are a convenient preselected group of events and conditions based on some common use cases.

To create an alert rule from a template:

  1. Click Create A New Alert.

    The Create Alert Rule dialog displays.

  2. Click Create A Rule From A Template.

  3. Enter a name for the alert rule.

  4. Select a template from the list.

  5. In the Rule Expression box, click each underlined item and specify a value to complete the alert rule. For example, click select report, and choose a report in the dialog that displays. Other values you define include user names receiving reports, dates and times, time intervals, and filter expressions for a specific field.

  6. You can click Frequency Constraint to specify how often an alert can launch. The default frequency constraint for alerts is five seconds. Enter a number and select a time measurement such as seconds, minutes, or hours, and click OK.

  7. You can click Modify this rule to modify the rule without using the template. This provides more options for creating rules.

  8. Click OK.

    The alert rule is added to list and is active.

5.5 Creating Alert Rules With Messages

You can create alert rules that send messages. The messages can contain information such as report names, links to reports, and user names. Messages can also include variables that are set when the alert is launched, such as the time that an event occurred and the data that launched the event. To use data variables, the event must be based on data.

To create an alert rule that includes a message:

  1. Start building an alert rule.

  2. Select one of the following actions:

    • Send a message via email

    • Send a message via the recipient's alert delivery settings

  3. Click create message in the rule expression.

    The Alert Message dialog displays.

  4. Enter a subject in the Subject line.

  5. Enter the message in the Message Text box.

  6. Include special fields into the message.

    Special fields are listed in the box in the lower left corner of the Alert Message dialog. The special fields listed change when reports are selected on the right side of the dialog.

    To insert a special field into the message:

    1. Select a special field from the list.

    2. Click Insert into subject or Insert into text.

    You can insert multiple values of the same type, for example, multiple links to different reports.

    • Send Report Name inserts name of selected report.

    • Send Report Owner inserts owner name of selected report.

    • Send Report Link inserts link to selected report.

    • Changed Report Name inserts name of the changed report.

    • Changed Report Owner inserts Owner Name Of Changed Report.

    • Target User inserts user name of message recipient.

    • Date/Time Sent inserts date and time of message sent.

  7. Click OK.

5.6 Creating Complex Alerts

You can create nested rules with many actions and chained rules that launch other rules.

You can chain rules by creating two types of rules:

To create dependent rules:

  1. Create a rule that includes the event When this rule is launched. There is no value to specify for this event.

  2. Create a rule that includes the action Launch a rule or Launch rule if an action fails. The Launch rule if action fails applies to any of the actions contained in the rule.

  3. Click select rule in the action.

    The Select Dependent Rule dialog displays.

  4. Select a dependent rule. Only rules that include the When this rule is launched event display in the list.

  5. Click OK.

To handle a failing action, add the action Launch rule if action fails. For example, if a rule is supposed to send a message, and for some reason the message does not send, you could launch another rule to notify you.

5.7 Modifying Rules for Alerts

You modify alert rules from the Alerts tab.

To modify an alert rule:

  1. Select the alert rule to edit.

  2. Click Edit in the Alert Actions list.

    The Rule Creation and Edit dialog displays.

  3. Make changes to the alert and click OK.

When you modify alert rules created from a template, you can add new lines and select conditions and actions the same as when you build alert rules without templates.

5.8 Activating Alerts

When you create an alert rule, it is automatically active. If you want an alert to be temporarily inactive but you do not want to delete it, you can turn it off by deselecting the Activate checkbox.

To change the activity status of an alert rule:

  1. Select Alerts from the Architect function list.

  2. Select the Activate checkbox for the alert rule.

A checked box means the alert rule is active.

An unchecked box means the alert rule is inactive.

Checking the Activate checkbox does not cause an alert to launch, it only enables the rule so that if the specified event occurs, the alert will launch.

An exclamation mark on the alert icon indicates it has launched and will not be valid again or because items that it references are missing and it cannot launch.

5.9 Launching Alerts by URL

You can use the alerts web service to manually launch alerts. For more information, refer to:

http://<host>:<http_port>/oraclebam/services/manualrulefire.asmx?op=FireRuleByName

You define the rule name using the format:

DOMAIN\username.alertname

5.10 Deleting Alerts

To delete an alert:

  1. Select the alert to delete.

  2. Click Delete in the Alert Actions list.

    A dialog displays to confirm that you want to delete the alert.

  3. Click OK.

    The alert is deleted.

5.11 Parameterized Alerts

When creating a parameterized alert, you must populate the set parameters section. In this section, populate the User, Delivery, and Report fields with either predefined values or dynamically from a Data Object field.