Tuesday, December 18, 2012

Send the reports to external email ids through Alerts - Oracle BAM server.

Send the reports to external email ids through Alerts - Oracle BAM server.

By default we can’t send the reports to an external email id’s from a Oracle BAM server, the reports only can be send to a users configured with Oracle BAM servers(through weblogic console).This post will explain how to enable the Oracle BAM server to send the reports to the external email ids.

Before following this post the email drivers details should be configured in UMS (through em console).

By default AlertActionAllowExternalEmail property in the BAMCommonConfig.xml file is set as false.
Change the value of AlertActionAllowExternalEmail property to true in the BAMCommonConfig.xml file to enable the external email feature. The BAMCommonConfig.xml file can be located in the following location BAM_DOMAIN_HOME/BAMDomain/config/fmwconfig/servers/BAMManagedServer/applications/oracle-bam_11.1.1/config.

 Create an Alert to send the report to the External Email:

  • Login to the Architect window; select the Alert from the drop down list and click on Create New Alert.

  •  Click on Create New Rule

  •  Select the option as shown below (Change the action according to your requirement)
  • Click on select data field and select the data object field when that get changed the report needs to be send to the external email id.

  • Click on next and select the Action as shown below.

  • Click on the select report link and select the report that need to be send to the external email when the alert is fired.

  • Click on select user and enter the external email ids separated with semicolon as shown below

  • Update/insert the EMPNAME into the Employee data object from architect view.
          The below is the email sent the external email is.

1 comment: