Filters used in BAM Alerts

I am using BAM 11.5 and I am trying to use an alert that has a lookup field as a filter? Is this possible? When I use the lookup field, the alert does not get triggered. My goal is for the alert to send one email message to the employee per travel requestid. To do this, I was attempting to use sequenceID as a filter. Even though approver and sequenceID are dynamic, there will always be a sequence 1 for each travel request.
My data object that has the lookup fields look like this:
TravelID LATEST RequestStatus approver sequenceID TravelLateDate employee
TR000012 Y SUBMIT jstein 3 11/22/2012 12:00:00 AM jcooper
TR000012 Y SUBMIT wfaulk 2 11/22/2012 12:00:00 AM jcooper
TR000012 Y SUBMIT cdickens 1 11/22/2012 12:00:00 AM jcooper
approver and sequenceID are lookup fields to another data object
I am using "When a data field in a data object meets specified conditions"
The filter looks like this:
LATEST is equal to Y
TravelLateDate is less than or equal to NOW()
RequestStatus is equal to SUBMIT
sequenceID is equal to 1
Using sequenceID the alert does not get triggered. If I take out the sequenceID from the filter, the alert gets triggered, and an email is sent to the employee for that travel request. However, sometimes the employee gets mulitiple e-mails depending how many approvers there are for the travel request. Sometimes it only sends one e-mail even though there are several approvers. This seems to be intermittent.
Is there a way to work around this or is there a better way to send the email? Does the alert only get triggered when the travel request is submitted or can it get triggered when the TravelLateDate has passed? So if an employee enters a travel request today(11/20/2012), and the late date is 11/24/2012 will the alert get triggered on 11/24/2012? If not, how can this be accomplished?
Thanks
Judy

If you want the email to only be sent once, you'll need to create a rule that will send based off of when the row gets created. It would also be possible to create a custom Java action that has the logic to only send one email per row, regardless of when it is created.
If you don't need the email to be sent just once, you can create a rule that runs on a scheduled basis (maybe once a day). Then have that rule just call another rule that will check the rows in your data object to see which need an email sent.

Similar Messages

  • ERROR WHILE RUNNING ODI SCENARIO FROM BAM ALERT

    We are using oracle data integrator 11g and have created an ODI Scenario and able to run the scenario from ODI studio client.
    We have done the configuration for BAM-ODI integration as mentioned in http://docs.oracle.com/cd/E21764_01/integration.1111/e10224/bam_odi.htm#BABEJIGD
    We have started ODI Agent, soa and bam servers. Created a BAM alert -> select action - Run ODI Scenario -> selected the same scenario.
    Alert ran at scheduled time but failed with following error:
    java.io.IOException : truncated data integrator frame received
    Error Message (if any)
    [2012-08-06T11:24:21.046+05:30] [bam_server1] [WARNING] []
    [oracle.bam.eventengine] [tid: bam-pool-Action-thread-1] [userId:
    OracleSystemUser] [ecid:
    3576f9092ef9497a:-743c430a:138fa7450c3:-8000-00000000000000a8,1:23453] [APP:
    oracle-bam#11.1.1] EventEngine: Error occured while running a ODI Scenario.
    [2012-08-06T11:24:21.250+05:30] [bam_server1] [ERROR] []
    [oracle.bam.eventengine] [tid: bam-pool-Action-thread-1] [userId:
    OracleSystemUser] [ecid:
    3576f9092ef9497a:-743c430a:138fa7450c3:-8000-00000000000000a8,1:23453] [APP:
    oracle-bam#11.1.1] EventEngine: Action exception: EEInstEv2 EEInstAct1 Rule
    Id: 2 exception: java.io.IOException: truncated Data Integrator Frame
    received
    [2012-08-06T11:24:21.250+05:30] [bam_server1] [WARNING] []
    [oracle.bam.eventengine] [tid: bam-pool-Action-thread-1] [userId:
    OracleSystemUser] [ecid:
    3576f9092ef9497a:-743c430a:138fa7450c3:-8000-00000000000000a8,1:23453] [APP:
    oracle-bam#11.1.1] EventEngine: Exception stack trace: [[
    at
    oracle.bam.eventengine.engine.event.action.RunScenario.invokeScenario(RunScena
    rio.java:145)
    at
    oracle.bam.eventengine.engine.event.action.ActionProcessor.runScenario(ActionP
    rocessor.java:891)
    at
    oracle.bam.eventengine.engine.event.action.ActionProcessor.actionHandler(Actio
    nProcessor.java:337)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.j
    ava:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.bam.system.Delegate$Sink.invoke(Delegate.java:80)
    at oracle.bam.system.Delegate.dynamicInvoke(Delegate.java:186)
    at
    oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.proc
    essWorkRequest(ThreadPoolController.java:155)
    at
    oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.run(
    ThreadPoolController.java:128)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java
    :886)
    at
    java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908
    at java.lang.Thread.run(Thread.java:619)
    Any help on this is highly appreciated...
    Thanks
    Rajdip Mukherjee

    Hi,
    Forgot to include the ODI classes RunScenario.invokeScenario() is invoking odi scenario using odi sdk api. Please see the below stack trace :-
    java.io.IOException: truncated Data Integrator Frame received
    at
    oracle.odi.sdk.invocation.internal.AgentNetworkCmd.readCmd(AgentNetworkCmd.java:303)
    at
    oracle.odi.sdk.invocation.OdiInvocation.invokeCommand(OdiInvocation.java:176)
    at
    oracle.bam.eventengine.engine.event.action.RunScenario.invokeScenario(RunScenario.java:140)
    at
    oracle.bam.eventengine.engine.event.action.ActionProcessor.runScenario(ActionProcessor.java:891)
    at
    oracle.bam.eventengine.engine.event.action.ActionProcessor.actionHandler(ActionProcessor.java:337)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    Thanks
    Rajdip Mukherjee

  • Invoking Synchronous Web Service from BAm alerts ( 11g)

    I am invoking a synchronous web service for BAM Alerts ( defined in rules )
    There r 2 actions Email and Call web service.
    EMail works fine
    But for calling a web service I get the following error in logs
    Content-Type = text/html
    Server = Oracle-Application-Server-10g/10.1.3.4.0 Oracle-HTTP-Server
    Date = Tue
    Date = 29 Dec 2009 17:09:54 GMT
    <html>
    <head>
    <title>Exceptional Event Occurred</title>
    </head>
    <body>
    <br>
    An exception occurred while processing your request, please contact your Manager or Supervisor.
    <br>
    </body>
    </html>
    Dec 29, 2009 11:09:54 AM oracle.bam.common.logging.Log writeLine
    SEVERE: EventEngine: Action exception: EEInstEv60 EEInstAct21 Rule Id: 7 exception: oracle.j2ee.ws.saaj.ContentTypeException: Not a valid SOAP Content-Type: text/html
    Dec 29, 2009 11:09:54 AM oracle.bam.common.logging.Log writeLine
    WARNING: EventEngine: Exception stack trace:
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call2(HttpSOAPConnection.java:209)
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:136)
    at oracle.j2ee.ws.saaj.client.p2p.HttpSOAPConnection.call(HttpSOAPConnection.java:129)
    at oracle.bam.eventengine.engine.event.action.TakeWSAction.invokeService(TakeWSAction.java:143)
    at oracle.bam.eventengine.engine.event.action.ActionProcessor.callWebService(ActionProcessor.java:1023)
    at oracle.bam.eventengine.engine.event.action.ActionProcessor.actionHandler(ActionProcessor.java:434)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at oracle.bam.system.Delegate$Sink.invoke(Delegate.java:80)
    at oracle.bam.system.Delegate.dynamicInvoke(Delegate.java:186)
    at oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.processWorkRequest(ThreadPoolController.java:154)
    at oracle.bam.common.threading.threadpool.ThreadPoolController$PoolQueueItem.run(ThreadPoolController.java:128)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    The alert history shows both actions
    And also one more question related to alerts:
    Suppose we have selected rule as status =fail and flag =y , frequency 3 secs
    Then until the status is fail and flag is y the action should occur every 3 secs
    The behavior I see right now is
    whenever I update the Data object and condition meets the action happens
    but the rule i select was data field d meets criteria not data field update as criteria

    I replied to you by email but for the benefit of others, I will paste email content here:
    Let me take the questions one by one:
    1. Regarding Webservice action issue, I am going to need little more information as:
    a) Have you tested the webservice with some external tool like soapui using the same endpoint url and same payload to see if it works fine?
    b) Is it a secure webservice?
    c) Does it require any policy to be attached?
    d) If response to a) is yes, and if it is okay with you, can you share the webservice wsdl url with us along with the operation to be selected and the payload?
    2. On Alert behavior:
    Alerts by design fire only for the runtime changes that happen to the dataobject and satisfy the condition you choose and not for the conditions that are satisfied by the data that exists before alert is created and activated. So, in your case, not only for update but even for insert and delete of data, alert will fire if condition is met but the requirement is those changes should be happening to the dataobject after alert has been activated.
    Moreover, I would also like to make the behavior of Frequency Constraint clear here - I am copying the below text from official BAM Alerts doc, this will make it clear that frequency constraint doesn't mean that every x seconds, alert will evaluate the condition but rather that if within x seconds, condition gets met multiple times, alert will fire only once.
    Frequency Constraint
    The Frequency Constraint feature prevents a user's email inbox from being flooded with alerts by limiting the number of alert messages that can be sent out during a given time interval.
    Frequency Constraint can be edited only if it is appropriate for the event selected. otherwise it is disabled. It can be set to a value of time which could be in seconds, minutes, or hours.
    This limits the number of times the rule launches in a given time period. With real-time data, transactions can occur every millisecond, so alerting frequency must be controlled.

  • Issue with creating a BAM Alert in BAM console!!!

    Hi ALL,
    I am getting script error while creating a BAM Alert in BAM console.
    Event trying to create : "when a data filed in a dataobject meets specified condition"
    Error occuring: while click on "this data field has a condition of x"
    popup window Error Description: "object doesn't support this property or Method"
    Pleaase help me on same. Appreciate your hhelp and time in advance!!!
    Thanks
    --Kris                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    Hi Anuj,
    I am facing the same problem.
    I am using Windows 8, IE 10. I need to click F12, to change the Browser Mode to IE 7 to open BAM application. Everything works fine until I came to set Alter the exactly same location. I am getting the same error.
    I installed IE tab for FireFox. Now I am able to open BAM applicaiton FireFox, but getting the same error at the same place.
    Thank you very much for your help or any information,
    Alena

  • How to Install BAM Alerts in multi environment in 2013 R2? How to point to a single BAM Portal(Default WebSite) configured on BTS APP server1 from BTS App Server 2 and BTS App Server 3 ?

    Please guide me on BAM install in multi environment for 2013 R2. Any blog which can show, how to configure multiple BTS servers to point to a single BAM portal created on the first server.
    The BAM portal is configured on the Default Website on the first server.
    How Could I Point to the same portal while configuring other 2 BTS servers?
    What are the authentication mechanisms, I have to use at virtual directories and root level?
    Racha Rams

    The document for installing BAM for B2K13 in a multi-computer environment is available as part of the BizTalk documentation available for download from
    http://www.microsoft.com/en-in/download/details.aspx?id=35552
    You will most likely also need to refer to the TechNet Blog
    http://blogs.technet.com/b/meamcs/archive/2013/07/26/fixed-biztalk-2013-bam-tools-configuration-problem.aspx which mentions having to setup SQL Mail feature in SQL Server 2012 and post that configuring both the features BAM Tools and BAM Alerts together.
    Regards.

  • Oracle BAM alert creation

    Hello,
    I need to create an Oracle BAM alert as follows:
    My DO has fields 'EventDate' of type DateTime and 'Error' as an int. I want to be able to send out an alert if I receive more than 100 records in the past 30 minutes with a error value 2.
    I have tried doing this using the Event - 'When a data field in a data object meets specified condition',
    -setup Row Filter as 'Error is equal to 2', 'EventDate' is within a time interval previous 30 MINUTES'
    -setup Group Filter as 'COUNT(Error) is greater than or equal to 100'
    but it does not work as expected. Can anyone please let me know what I am doing wrong and if there is another way to accomplish this?
    Any help would be greatly appreciated.
    Thanks
    Edited by: user12920523 on Apr 26, 2013 1:00 PM

    Hi Experts,
    Am facing same issue on IE9. Also I have applied patch provide by oracle, but didn't work. Did any one find workaround for this problem.
    Thanks,
    Sagar

  • BAM alert issue

    Hi All ,
    I am facing the issue when I am trying to generate the BAM alert.
    createNewAlert-->Create A Rule-->When a data field in a report meets spedied conditions
    when i went to this flow and I tried to give a condition its not opening the expression.
    Appreatiate your help.
    Vamsi

    Hi Anuj,
    I am facing the same problem.
    I am using Windows 8, IE 10. I need to click F12, to change the Browser Mode to IE 7 to open BAM application. Everything works fine until I came to set Alter the exactly same location. I am getting the same error.
    I installed IE tab for FireFox. Now I am able to open BAM applicaiton FireFox, but getting the same error at the same place.
    Thank you very much for your help or any information,
    Alena

  • BizTalk 2013 BAM Tools - BAM Alerts Configuration error in Multi Computer Env

    Hi,
    I am trying to install BizTalk Server in multi-computer environment.
    I did install BizTalk Server on primary server smoothly.
    On Sencodary Server, I am able to join existing SSO and BizTalk Group.
    When I try to configure BAM Tools and BAM Alerts I get an error in BizTalk Log - 
    2014-02-06 11:12:39:6987 [Info] BAMTools Source:
    2014-02-06 11:12:39:6987 [Info] BAMTools System.ServiceProcess
    2014-02-06 11:12:39:6987 [Info] BAMTools Error messages:
    2014-02-06 11:12:39:6987 [Info] BAMTools 
    2014-02-06 11:12:39:6987 [Info] BAMTools Service BAMAlerts was not found on computer '.'.
    2014-02-06 11:12:39:6997 [Info] BAMTools The specified service does not exist as an installed service
    2014-02-06 11:12:39:6997 [Info] BAMTools 
    2014-02-06 11:12:39:6997 [Info] BAMTools Call stack:
    2014-02-06 11:12:39:6997 [Info] BAMTools 
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.GenerateNames()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.get_ServiceName()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.GenerateStatus()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.get_Status()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at Microsoft.BizTalk.Bam.Management.AlertHostHelper.StopService()
    2014-02-06 11:12:39:6997 [Info] BAMTools <BizTalk2009>
    02/06/2014 11:12:38 1
    Microsoft.BizTalk.Bam.Management.AlertModule2012
    UpdateConfig Error
    Exception thrown
    2014-02-06 11:12:39:6997 [Info] BAMTools Source:
    2014-02-06 11:12:39:6997 [Info] BAMTools System.ServiceProcess
    2014-02-06 11:12:39:6997 [Info] BAMTools Error messages:
    2014-02-06 11:12:39:6997 [Info] BAMTools 
    2014-02-06 11:12:39:6997 [Info] BAMTools Service BAMAlerts was not found on computer '.'.
    2014-02-06 11:12:39:6997 [Info] BAMTools The specified service does not exist as an installed service
    2014-02-06 11:12:39:6997 [Info] BAMTools 
    2014-02-06 11:12:39:6997 [Info] BAMTools Call stack:
    2014-02-06 11:12:39:6997 [Info] BAMTools 
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.GenerateNames()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.get_ServiceName()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.GenerateStatus()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.get_Status()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at Microsoft.BizTalk.Bam.Management.AlertHostHelper.StopService()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at Microsoft.BizTalk.Bam.Management.AlertModule2012.UpdateConfig(BamConfigurationManager originalConfig, BamConfigurationManager bamConfig)
    2014-02-06 11:12:39:6997 [Info] BAMTools <BizTalk2009>
    02/06/2014 11:12:38 1
    Microsoft.BizTalk.Bam.Management.AlertModule2012
    UpdateConfig Exit
    2014-02-06 11:12:39:6997 [Info] BAMTools <BizTalk2009>
    02/06/2014 11:12:38 1
    Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility
    Main Error
    Exception thrown
    2014-02-06 11:12:39:6997 [Info] BAMTools Source:
    2014-02-06 11:12:39:6997 [Info] BAMTools System.ServiceProcess
    2014-02-06 11:12:39:6997 [Info] BAMTools Error messages:
    2014-02-06 11:12:39:6997 [Info] BAMTools 
    2014-02-06 11:12:39:6997 [Info] BAMTools Service BAMAlerts was not found on computer '.'.
    2014-02-06 11:12:39:6997 [Info] BAMTools The specified service does not exist as an installed service
    2014-02-06 11:12:39:6997 [Info] BAMTools 
    2014-02-06 11:12:39:6997 [Info] BAMTools Call stack:
    2014-02-06 11:12:39:6997 [Info] BAMTools 
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.GenerateNames()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.get_ServiceName()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.GenerateStatus()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at System.ServiceProcess.ServiceController.get_Status()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at Microsoft.BizTalk.Bam.Management.AlertHostHelper.StopService()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at Microsoft.BizTalk.Bam.Management.AlertModule2012.UpdateConfig(BamConfigurationManager originalConfig, BamConfigurationManager bamConfig)
    2014-02-06 11:12:39:6997 [Info] BAMTools    at Microsoft.BizTalk.Bam.Management.AlertModule.UpdateConfig()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at Microsoft.BizTalk.Bam.Management.BamManager.UpdateConfigurationXml()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.HandleUpdateConfig()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.DispatchCommand()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.Run()
    2014-02-06 11:12:39:6997 [Info] BAMTools    at Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility.Main(String[] args)
    2014-02-06 11:12:39:6997 [Info] BAMTools <BizTalk2009>
    02/06/2014 11:12:38 1
    Microsoft.BizTalk.Bam.Management.BamManagementUtility.BamManagementUtility
    Main Exit
    2014-02-06 11:12:39:6997 [Info] BAMTools Finished logging tracing of bm.exe execution.
    2014-02-06 11:12:39:6997 [Info] BAMTools Deleting File: C:\Users\!gtqk\AppData\Local\Temp\2\6fc65525-7a2d-4c82-aa3a-e776e4e58291-BamManagerTrace.log
    2014-02-06 11:12:39:7007 [Info] BAMTools Deleting File: E:\Program Files (x86)\Microsoft BizTalk Server 2013\Tracking\bm.exe.config
    2014-02-06 11:12:39:7007 [Error] BAMTools Error configuring
    Error executing bm.exe with tracing enabled. (Microsoft.BizTalk.Bam.CfgExtHelper.Utility)
    Error executing process: E:\Program Files (x86)\Microsoft BizTalk Server 2013\Tracking\bm.exe (Microsoft.BizTalk.Bam.CfgExtHelper.Utility)
    Microsoft (R) Business Activity Monitoring Utility Version 3.10.229.0
    Copyright (C) Microsoft Corporation. All rights reserved.
    I have made the required changes on the SQL Server - MSTDC, Named Pipes Enabled.
    BizTalk Server 1 and BizTalk Server 2 both have required MSDTC settings. Along with this Firewall settings are also modified.
    I have followed this link - http://social.technet.microsoft.com/wiki/contents/articles/1888.install-and-configure-bam-business-activity-monitoring-in-a-multi-computer-environment.aspx
    which is for BizTalk Server 2010 (provided for BizTalk Server 2013 ?).
    Kindly, let me knoe if anyone had similar issue and it has been resolved , or any other pointers
    With Regards,
    Gopal Talreja

    I faced similar problem while installing BAMAlerts on 2nd BizTalk 2013 R2 server in a group. The reason for this error is the Wizard is unable to create the windows service (BAMAlerts) during the configuration. To fix the issue you need to create the service
    manually. I had to perform following actions:
    1.CREATE SERVICE:
    Start command prompt as administrator on the node with problems. Execute (do not use copy paste from email, it often gives error):
    sc create BAMAlerts binPath=  "C:\Program Files (x86)\Microsoft BizTalk Server 2013\Tracking\BAMAlerts.exe”
    2. SET USERNAME and PASSWORD on this Service:
    Open services admin console, and change the user and password for the BAMAlerts Service.
    - Start the service.
    Start again the configuration for the BAM on the node with problems and complete the BAMTools and BAMAlerts configration (do not enter any username and password in the BAMAlerts configuration wizard).
    3. RUN SQL Statement:
    After starting the Service, BAMAlerts service may stop with following error in the event log:
    Microsoft.BizTalk.Bam.Management.BamManagerException: Encountered error while executing command on SQL Server "A-CLS01VISQL1". --->
    System.Data.SqlClient.SqlException: The EXECUTE permission was denied on the object 'bam_Metadata_GetProperty', database 'BAMPrimaryImport', schema 'dbo'.
    To solve this, run following SQL statement 
    USE BAMPrimaryImport
    GRANT
    EXECUTE
    ON
    bam_Metadata_GetProperty
        TO
    BAM_ManagementNSReader;
    GO
    This should solve the problem.
    Thanks to Microsoft support engineer for help.
    Strange bug and I hope MS will solve this issue in next patch/CU/update

  • Choosing which email address to be used in an alert?

    I ical is a great organizational app. I have gone to this forum hoping to find someone else who has tried to do what I want to do, use this to alert another person via email. I "clicked" on the alarm catagory, "clicked" on the email choices, and I am unsure how to go to the all the address book choices. As all that is listed on the drop down menu is my email and I want to choose a new emailee. I have gone to both apps preferences, but no luck. You see I want to alert a "payee" that their bill to me is due.

    i can assume by the lack of responses that no one came up with a solution

  • Email Alert Template Issue - List Alerts (Alert Me) emails not using customized XML alert template

    We have recently customized the XML alerts template (AlertTemplates.xml) for our site collection in SharePoint 2010 to exclude specific fields in the email when users who have subscribed using the "Alert Me" feature. We have renamed the
    custom alerts XML file and loaded the custom template in the following directory (%ProgramFiles%\Common Files\Microsoft Shared\Web server extensions\14\TEMPLATE\XML) and restarted IIS.  Once users subscribe to the alerts using the list "alert me"
    function they received the customized email as intended.
    We needed to auto-subscribe users to the email alerts so what we did was use a powershell script to add users to the alert subscriptions using the script shown below:
    Import-Csv D:\Temp\filename.csv | ForEach-Object{
    $webUrl=$_.WebUrl
    $listTitle=$_.List
    $alertTitle=$_.AlertTitle
    $subscribedUser=$_.SubscribedUser
    $alertType=$_.AlertType
    $deliveryChannel=$_.DeliveryChannel
    $eventType=$_.EventType
    $frequency=$_.Frequency
    $oldAlertID=$_.ID
    $web=Get-SPWeb $webUrl
    $testAlert = $web.Alerts | WHERE { $_.ID -eq $oldAlertID }
    IF ($testAlert) {
    $web.Alerts.Delete([GUID]$oldAlertID)
    Write-Host Old alert $oldAlertID deleted. -Foregroundcolor Cyan
    $list=$web.Lists.TryGetList($listTitle)
    $user = $web.EnsureUser($subscribedUser)
    $newAlert = $user.Alerts.Add()
    $newAlert.Title = $alertTitle
    $newAlert.AlertType=[Microsoft.SharePoint.SPAlertType]::$alertType
    $newAlert.List = $list
    $newAlert.DeliveryChannels = [Microsoft.SharePoint.SPAlertDeliveryChannels]::$deliveryChannel
    $newAlert.EventType = [Microsoft.SharePoint.SPEventType]::$eventType
    $newAlert.AlertFrequency = [Microsoft.SharePoint.SPAlertFrequency]::$frequency
    if($frequency -ne "Immediate"){
    $AlertTime=$_.AlertTime
    $newAlert.AlertTime=$AlertTime
    $newAlert.Update()
    Write-Host Created $newAlert.Title for $subscribedUser . -Foregroundcolor Cyan
    } ELSE {
    Write-Host Alert $alertTitle for $subscribedUser already done. Moving on. -Foregroundcolor Magenta
    When we ran the script and added the users and restarted the service, all users who were auto-subscribed via this method get the email without the customizations that were done in teh custom alert template.  All users who manually subscribed on their
    own to the list using the "Alert Me" function would get the customized email.
    Does anyone know why users who manually subscribe to the alerts get the customized email, and users who were auto-subscribed using the powershell script do not get the customized email and get the standard generic email template?

    Hi  ,
    According to your code, it create a new alert using SPUser.Alerts.Add() method. For this method, it will create a new alert based on the predefined alert template by default.
    If you only assigned the custom alert template to the list, users who manually subscribe to the alerts get the customized email, but users who were auto-subscribed using the PowerShell script get the standard
    generic email template.
    For your issue, you can set the new alert ‘s alert template:
    http://social.technet.microsoft.com/Forums/en-US/1b19c12f-fc37-48cf-8b59-6c09f095dc23/custom-alert-email-templates-issue-list-alerts-emails-not-using-customized-xml-alert-template?forum=sharepointgeneralprevious
    Here is a good blog you can have a look:
    http://blogs.msdn.com/b/sharepointdeveloperdocs/archive/2007/12/07/customizing-alert-notifications-and-alert-templates-in-windows-sharepoint-services-3-0.aspx
    Thanks,
    Eric
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support,
    contact [email protected]
    Eric Tao
    TechNet Community Support

  • Using functions in alert text

    Post Author: RScipione
    CA Forum: Performance Management and Dashboards
    I'm using Business Objects Enterprise XI Release 2 and am having trouble with some alerts I am creating in a rule in InfoView.  According to the documentation I've seen, I should be able to use functions in the title and text of the alert, but I can't get it to recognize the functions.  If I put "metric1" (no quotes) in the text, I get the metric value, but if I try "MetricValue(metric1.id, 0)", I get an error when I try to run the rule titled "Fail to run the action" and "Error evaluating action expression.    #v1 .ID, 0) Success".  The alert is generated, but the text is "MetricValue(#v1.ID, 0)", not the value of the metric.
    Can anyone tell me what I might be doing wrong?  Is the documentation I read incorrect?
    Thanks in advance for any replies,
    Richard

    Post Author: RScipione
    CA Forum: Performance Management and Dashboards
    I'll reply to my own post so that others might benefit from the response I got from customer support.
    It is possible to use functions in alert text, but the function must be preceeded by #f and followed by %.  So to get the example from my previous post working, I used:
    #f MetricValue(metric1.id, 0) %
    The 'f' is case sensitive by the way.

  • Use of Freeze Alert in transaction /SAPAPO/AMON1

    Hi,
    We have button for Freeze Alert in transaction /SAPAPO/AMON1
    I want to know what is use of this function.Is it used only for certain alert types?
    Thanks,
    Lalit

    Hello,
    Freeze alerts are used to Put alerts on hold with the freeze/unfreeze tool. After a refresh, new alerts are marked with a + and alerts that have disappeared are marked with a -, as compared to the last frozen alert situation.
    This is used to Simulate the alerts for creation and view the impact of the alerts created and then can mak the decision to save or to unfreeze the alerts.
    Hope the information is helpful
    Regards

  • Conditional Filters using case statements

    Hello,
    I have a table view which displays Total Quota and Theatre Quota. Against the Total Quota, there are 2 values - Rollover Revenue and Theatre Revenue. Against the Theatre Quota, there is only Theatre Revenue.
    What I want to accomplish is to display only the Rollover Revenue Aggregated Quarterly number whenever there is a Total Quota number and not display the Theatre Revenue number
    In the table view,
    Year Name     Quarter Name     Quarter Name Sort     Person Region     Quota Name     Quarterly Quota     Credit Amount     QTD Attainment     Credit Type Name
    YEAR-2012     QTR-1-2012     QTR-1-2012     750     Total Quota     6,128,500     5,492,081     89.62%     Rollover Revenue Aggregated Quarterly
                   750          6,128,500     5,344,000     87.20%     Theatre Revenue
         QTR-2-2012     QTR-2-2012     750     Total Quota     5,922,500     5,890,264     99.46%     Rollover Revenue Aggregated Quarterly
                   750          5,922,500     6,120,000     103.33%     Theatre Revenue
         QTR-3-2012     QTR-3-2012     750     Total Quota     5,716,500     0     0.00%     
         QTR-4-2012     QTR-4-2012     750     Total Quota     5,510,500     0     0.00%     
    I used an example in the following link:
    http://oraclebizint.wordpress.com/2008/02/06/oracle-bi-ee-101332-conditional-filters-using-case-statements-in-filters/
    and applied the example in my scenario:
    CASE WHEN Quota."Quota Name" = 'Total Quota' THEN "Credit Type"."Credit Type Name" ELSE 'Dummy' END != 'Theatre Revenue'
    I still get duplicate rows.
    Thanks.

    Could you suggest any solutions for this problem where I can conditionally hide the number only for a certain type of data and not for all type of data?
    Thanks.

  • BAM Alerts - When a data field in a report meets specified conditions

    Hi ,
        Please find the below mentioned issue , which I am facing at the time of creating BAM alerts.
      I have created a data object, when i am creating the bam alert  [ create new alert --> create rule --> when i select an even " When a data field in a report meets specified conditions" and "When a data field in a data object meets specified conditions" then below in rule expression I am unable to edit the expression of  "this data fields has a specified condition of x".]
                          Appreciate your quick response.
    VAMSI.P

    Hi,
    I am having the same issue, and I am on IE9.  When I was on IE8 I had no problems.  Are you also on IE9
    Thanks
    Judy

  • Data used for BAM

    I would like to use the data used for BAM, for other reporting purposes. Where can I find the data like instances completed, active instances, approved instances, decline instances, etc.
    Thanks
    Aditya

    If you look at the Workbench interface (http://localhost:8080/bam/login/workbench.htm) you can see the SQL code the views use to create the graphics.
    That might be a good starting point.
    Jasmin

Maybe you are looking for