Sunday, July 14, 2013

Creating Oracle BAM Alerts

This describes how to create alerts in Oracle BAM. 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 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 both the Oracle BAM Architect and Oracle BAM Active Studio web applications.

Creating Alert Rules

How to Create an Alert Rule

A rule specifies the events and conditions under which an alert fires. Creating Oracle BAM alert rules in Oracle BAM Architect and in Oracle Active Studio is same.
  1. Open Oracle BAM start page using  URL http://hostname:port/OracleBAM

  1. Enter Credentials weblogic/welcome1 or match with your server configurations

  1. Click Architect tab from Oracle BAM start page.

    
  1. Select Alerts in the Oracle BAM Architect function list.
In Oracle BAM Active Studio, select the Alerts tab.



  1. Click Create A New Alert.



  1. The Rule Creation and Edit dialog box opens, click Create A Rule.







  1. Enter a name for the rule. Rule Name as Alert _po
  2. Select an Event that lunches that alert, select when a report changes event from select an Event.


  1. In RulesExpression click select report  for selecting report runs as select weblogic  for selecting user.
  1. Select Report1 from Select a Report –Webpage Dialog , click OK



  1. Select weblogic user from Select Users –Webpage Dialog , click OK




  1. Click Next for Rule creation dialog.
  2. Select one or more conditions, if needed.  Here we are not selecting any condition
  3. Select one or more actions from select an Action, here select send a report via email.


  1. In the rule expression, click each underlined item and specify a value to complete the alert rule.
             Select report as Report1 and email to select user as weblogic then click OK


  1. Click OK for Rule creation dialog.  

  1. The alert rule is added to list and is active.





How to Activate 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.
  1. Select Alerts from the Oracle BAM Architect function list.
  1. Select the Activate checkbox for the alert rule.
Note: 1) A checked box means the alert rule is active.
   2) An unchecked box means the alert rule is inactive.


How to Modify Alert Rules

You can add new lines and select conditions and actions.
  1. Select the alert rule to edit.


  1. Click Edit in the Alert Actions list. The Rule Creation and Edit dialog box opens.


  1. Make changes to the alert and click OK.


How to Delete an Alert


  1. Select the alert rule to delete.
  1. Click Delete in the Alert Actions list. A dialog box opens to confirm alert deletion.

  1. Click OK, to confirm.

Creating Alert Rules from Templates

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

How to Create Alert Rules from Templates

A rule specifies the events and conditions under which an alert fires. Creating Oracle BAM alert rules in Oracle BAM Architect and in Oracle Active Studio is same.
  1. Open Oracle BAM start page using  URL http://hostname:port/OracleBAM

  1. Enter Credentials weblogic/welcome1 or match with your server configurations

  1. Click Architect tab from Oracle BAM start page.

    
  1. Select Alerts in the Oracle BAM Architect function list.
In Oracle BAM Active Studio, select the Alerts tab.



  1. Click Create A New Alert.



  1. The Rule Creation and Edit dialog box opens, click Create A Rule From A Template.






  1. Enter a name for the rule. Rule Name as AlertTemp
  2. Select a Template from a list; select “Alert me when a report changes in a report”.


  1. From Rule Expression select Report as Report1 (using select a Report Webpage  Dialog) and Run as Weblogic


In send select Report as Report1 (using select a Report Webpage Dialog)
Select link via emails to as select user as Weblogic (using Select User webpage Dialog)





  1. 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.


  1. After filling all the details of Rule Creation is looking like as shown in below diagram. Click OK.

 

  1. The alert rule is added to list and is active.


Using Alert History


lert history is available in Oracle BAM Active Studio providing a list of alert rules triggered and their status messages.

Viewing Alert History


You can view recent history of alert activity on the Alerts tab in Oracle BAM Active Studio. The Alerts History list displays the 25 most recent alerts launched.
  1. Open Oracle BAM start page using  URL http://hostname:port/OracleBAM

  1. Enter Credentials weblogic/welcome1 or match with your server configurations

  1. Click Active Studio tab from Oracle BAM start page.

    

  1. Select the Alerts tab in BAM Active Studio.
Here your able to see alter History as shown in below diagram.


  1. In the Alerts History list, you can view the names of recently launched alerts, any messages associated with the alerts, the users who created the alerts, and the time and date that the alert rules were triggered.

Alerts History Messages

The Message column of the Alerts History list provides information about the success or failure of alert delivery. The successful alert is shown with a green checkmark next to the message. The unsuccessful alert is displayed with a red x icon and a message indicating how the alert failed at the time of loading or processing. Click the x icon for additional information about the error.

Clear Alert History

When many alerts are actively launching and the alert history list becomes long, you might want to clear your alert history list.
  1. On the Alerts tab, click Clear alert history.

  1. A message is displayed to confirm to clear alert history.
\
  1. Click OK.

  1. The alert history list is deleted. New alerts launched after clearing appear in the alert history list.






1 comment:

  1. Quantum Binary Signals

    Professional trading signals sent to your mobile phone daily.

    Follow our trades today and profit up to 270% daily.

    ReplyDelete