Sending notification from OA Framework

Hello,
Say on a OA Framework page, user clicks a button, you handle the button click in
processFormRequest of the controller of the page and here you want to send notification to one or more users which will be
read from the db.
So far, I have used workflows to send notifications, but for this particular use-case, this is just a FYI notification and writing
a workflow for that might be an overkill.
So just wanted to know, are there APIs in OA Framework to send notifications.
regards, Yora

Yora
If you dont want to create workflow for it. You have two options either you call a plsql package from OAf using callable statement and in PLSQL you may use UTL_SMTP package to send mail. Here is the way how you can call Callable Statement
http://oracleanil.blogspot.com/2009/04/itemqueryvoxml.html
Or you may use java API's to send mail. Here is the link
http://www.javabeat.net/tips/33-sending-mail-from-java.html
Thanks
--Anil
http://oracleanil.blogspot.com

Similar Messages

  • Send notification from one MBean to another

    How do you send notifications from one MBean to another, with both extending NotificationBroadcasterSupport?
    I don't mean using the POJO classes themselves, but sending a notification to the managed resource (from the ObjectName) of the other. I figured you'd perhaps add it to the Notification subclass you send, but I don't know how in the NotificationListener you'd send it to another ObjectName.
    What I'm trying to do is see perform an operation in one MBean in JConsole and see a message added to another MBean's notifications list. How might I be able to do this?
    Thanks.

    Hi,
    If you want MBean A to receive notifications from MBean B, then you only need MBean A to register as a notification listener with MBean B,
    Where's the problem?
    -- daniel

  • Send notification from GP to UWL Notification tab

    Hello all,
    The GP Task are already shown in the Task tab of the UWL and it works fine.
    Has anybody an idea, if it is possible to send a notification after finishing a GP Process to the UWL, which will be shown in the notification tab?
    I tried to use the predefined notification Callable Object, yet it is requires to enter an email template so I assume, that just emails are sent.
    Kind regards
    Lissi

    Please try with this link:-
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/44/9a3276a5726573e10000000a11466f/frameset.htm">Process Notification  from GP</a>
    Please acknowledge if its working or not.
    Regards
    Navneet

  • Sending notification from workflow to non users

    I have a workflow requirement where I would like to send notification to Email
    IDs of People who are not defined anywhere in the Content Management System.
    Basically the workflow is to review Documents for various Projects being
    carried out for our Customers. At the end of the workflow we would want to
    just notify the Customer that the document has been reviewed and approved
    and that they could collect them from our office. The email ID of the
    Customer is being stored as a metadata field and the purpose is to send a
    notification to this Email ID for the respective content.

    Hey There,
    This is a great question and a common request.
    Here at Fishbowl, we have an add-on component called Subscription Notifier that will do exactly what you are asking. It gives you the ability to define your own email templates so you can easily tailor the look and feel of the emails, it will email users and non users alike on a triggered and/or scheduled and/or event basis which gives you maximum flexibility. Furthermore as long as there is a look-up vector then email addresses can be pulled from anywhere they're stored (e.g. metadata as you currently have it, a data provider, database table join, IDM system etc.). Subscription Notifier also has built-in hooks to handle callbacks so that after a notification is sent out additional business process steps can be automated.
    Please take a look at the specs here: http://bit.ly/ENRwq
    Warmly,
    Billy Cripe
    Fishbowl Solutions

  • How to send notification from MI to EP

    Hi All,
    I have a requirement where in i have to send some alert/Notification from MI to Enterprise Portal .Is there any docs which can help me for this.
    Thanks
    Regards
    Santosh
    Message was edited by:
            santosh kharje

    Hi Santosh,
    I hope the following points can help you.
    I have the following 3 scenarios that are possible...
    -> MI-Oriented -one user
    -> SAP MI Access from a Ticket-Issuing System e.g SAP Enterprise Portal-oneuser.
    -> SAP MI Access from a Ticket-Issuing System e.g SAP Enterprise Portal-Multiple users.
    With the parameters in file MobileE#ngine.config you can configure the SAP MI Client Component to support single sign-on(sso) if the device has online connection. The mobile device recieves the SAP logon ticket from a system that issues tickets, such as SAP EP. The mobile device can then authenticate itself at the SAP MI server Component wiht the SAP logon ticket without the user having to enter an additional paasword.
    One user scenario:
    When a user logs on for the first time, the user data of the logon ticket is used to create a user in the MI-Client.
    Multiple user scenario:
    If the ticke does not exist, the user can start the SAP MI from the browser under the configured address, Usually http://localhost:4444/index.htm, and logon with user name and password.
    I have some more docs related to this but those are not links.
    If need i can mail to your E-mail-ID.
    Cheers,
    Anu.

  • Sending notifications from BPEL installed on Weblogic Server

    We have SOA Suite installed on the Weblogic server. For the SOA Suite installation, we did a base installation of OC4J 10.1.3.4, and then installed Weblogic server 9.2 on top of it.
    The problem is with the notifications. I created a simple process to generate notifications. Before doing that, I modified the NS_EMAILS.xml file for the Host and Port. I have done this before so I know what should be the values. Then I bounced both the Weblogic and OC4J servers.
    When I run the process, the notification is not generated. Do I need to do some additional steps to make it work for Weblogic?
    The ns_emails.xml file is located in product/10.1.3/bpel/system/services/config directory. Here is the portion of ns_emails.xml file that I have modified. Also, I can send the email from telnet and it works just fine.
    <EmailAccounts xmlns="http://xmlns.oracle.com/ias/pcbpel/NotificationService"
    EmailMimeCharset=""
    NotificationMode="EMAIL">
    <EmailAccount>
    <Name>Default</Name>
    <GeneralSettings>
    <FromName>OracleSOA</FromName>
    <FromAddress>[email protected]</FromAddress>
    </GeneralSettings>
    <OutgoingServerSettings>
    <SMTPHost>mailhost.innowave.com</SMTPHost>
    <SMTPPort>25</SMTPPort>

    Thanks guys,
    I cannot see anything in the logs. It does show the email message (Like the email to information, subject etc), but no errors after that.
    Does any of you guys tried it with the weblogic server? As I stated earlier, I have done it for two different clients on OC4J and it works fine.
    I will check the metalink note. Thanks for the advice.

  • Sending notification from MDB to MBean

    Hi
    Is there a way I can send a notification to an MBean from an MDB? I have a MessageDrivenBean that is listening to a queue. Any message on the queue need to be fwded to the MBean.
    MBean and the MDB, both are in a jboss sar. The version used is 4.2.0 with java 6.
    Any direction would be great. Thanks in advance

    Is your goal to be able to see how many messages are processed? If this is the case, I think you have two options:
    1. The MDB would have to be an MBean itself. In this case, your MDB would play two roles, an MDB, and an MBean. And then you just increment a count variable and expose it as an attribute.
    2. Alternatively, you could have a separate MBean that is registered as a listener on your MDB (like Observer/Observable, where MDB is the Observable, and the MBean is the Observer), and the MDB will call update on your MBean every time it handles a message. Then the MBean would increment its internal counter, which is exposed as an attribute. Depending on what else you do in the update method, you would want to be careful about handling this on the same thread, as it could slow down your MDB processing.
    - Alper

  • Send notification from process chain to external appl. to trigger event

    Hi Experts,
    I need help with the following problem:
    From BI I need to send a notification to an external database, non SAP, to indicate that a data load has been completed successfully. This should trigger an event on the other side to consume the data via a webservice. The "activate data" variance does include a series of notification methods like, fax, sms, email etc. but none that could function as a trigger communicating with another application without human intervention.
    How can this be done? Via a function module? What would be the Abap routine for that? Any help to solve this is appreciated.
    Best Regards,
    Georg

    Hi Georg,
    may be you can implement something like this:
    Having a batch job running in your ext. system to check the existance of a specific file. If the file exists, do the necessary steps and delete the file. Within your process chain run a abap at a specific step to create that file.
    May be that helps.
    regards
    Siggi

  • Microsoft band. Send notification from background task

    Hi, everybody. Has anybody tried to use the Microsoft's Band sdk from a background task? I've installed and referenced the sdk to the background project and inside the Run I'm trying to use the code to get the list of the paired bands
    IBandInfo[] pairedBands = await BandClientManager.Instance.GetBandsAsync();
    but the BandClientManager is not recognized. I have instead the IBandClientManager. Running the same code from the app's main page works as expected. Can somebody help?

    The Band team is following the Microsoft-band tag on StackOverflow. See the previously asked question
    Microsoft Band SDK Preview - NotificationManager within a backgroundtask .

  • Disabled subscription sends notifications, relative date not working properly

    Hi
    I have two problems regarding subscriptions:
    1.When I disable a subscription, should I receive any further notifications? I am receiving notifications despite disabling the subscription.
    (I have cloned the template and deleted the original template, then sending email notification will be stopped, but as soon as assigning new template to subscription, sending emails starts, whether subscription is enabled or not)
    2. The criteria for subscription is as follows:
    Status = Active or Status = Pending and Source = Portal and Created date [relative] = [now-7d]
    Regarding the criteria, it must check whether it has past 7 days from incident creation, but it starts sending notifications without considering the [now -7d] condition.
    I use SCSM 2012 SP1 - Rollup 6.
    Am I doing something wrong?
    YSobhdel

    The actual criteria was Created Date greater than or equal to [now-7d]
    What I am trying to accomplish is that whenever an open incident (i.e., not resolved or closed incident) is active more than 7 days, assigned to user will be notified.
    My Question is , why is it happening in the first place, this criteria is nearly impossible to catch (equal to [now-7d]), yet it is sending notifications from the first day. I have testes the notification with
    Created Date greater than or equal to [now-7d] as well but to no avail, still the same problem.
    About delay, I am 100% sure that this is not performance problem, since this workflow is set to periodically check criteria and is run once a day. I have waited for the setting to apply for about two days and this is far beyond any delay! (for two consecutive
    days, I have received this notification).
    YSobhdel

  • Email Notification from OIM 11g

    Hi ,
    Can anyone please explain in detail steps , how to configure /send notification from SOA . As i need to send notification to end user/manager etc..when an approval workflow is finished .
    Regards
    Sid

    Assuming that you already have an SMTP Server stood up, it's fairly easy. I would visit this site: http://www.orafmwschool.com/gmail-notification-service/
    From there, you can skip the whole configuration of the certificates since the example configures Gmail which is over SSL. Since you are only sending email out, just fill out the outbound information.
    Sunny Tsang

  • Sending Product Activity Notification from R/3 to APO using XI

    I am trying to send a product activity notification from a backend R/3 system to APO using XI.The idoc Proact01 is getting generated and in XI when Executing transaction 'sxmb_moni' the status is showing 'processed successfully'. But in the message monitoring of
    XI runtime workbench, the messages of the adapter engine has the status 'System Error'.
    The error log is showing:
    Error Exception caught by adapter framework:
    error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was. 
    Error Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: functiontemplate from repository was .
    Iam using a rfc adapter in the communication channel from XI to APO and using standard mapping provided in the SCM content in SAP Marketplace.
    How can i troubleshoot this.

    Hi Again Tamoghna,
    If you use the SCM content you are on the right track!
    Try to do a bit more research regarding this content.
    I guess that the message type used in the ProductActivityNotification_In Interface has similar structure or data types to your destination object(RFC,PROXY,BAPI).
    So i suggest you to go over the SCM content documentation and you'll find the right communication channel to be used.(Don't re-invent what SAP thought about all ready...)
    One of the questions you should ask yourself regarding the Activity Notification is:
    A.Do you need a response back to the R\3 (as part of the business process?)
    B.do you have an interface in the SCM imported content called ProductActivityNotification_out.
    Good luck.
    Keep me updated....

  • How can I use notifications to send data from different sources to thesame chart?

    Hi,
    I am using the "Continuous Measurement and Logging" template project that ships with LV 2013.
    It is extremenly helpful for figuring out messaging between the acquire, graph, and log loops. (Thanks NI!)
    I've run into a snag however.
    I would like to modify it so that my graphing loop receives data notifications from two acquisition sources via notifiers.
    I'm having trouble getting data from both sources to display on the same chart.
    I've isolated the issue in the attached vi.
    Here's what happens:
    1. I create data from 2 parallel loops and send the data to a third parallel loop with notifiers.
    2. The third loop receives data from only one of the loops because one of the receiving notifiers just times out instead of receiving data.
    Can someone suggest how I can fix this?
    Thanks.
    - Matt
    Solved!
    Go to Solution.
    Attachments:
    test notification loop.vi ‏42 KB

    Here is my modification of your VI. I put notes on the block diagram to explain the changes. It uses a queue for the data transfer to avoid loss of data. It uses a notifier to stop the loops. All local variables and Value property nodes have been eliminated.
    The way the loops are stopped will likely leave some data in the queue. No more than one or two iterations of each of the data acquisition loops. If you need to guarantee that all data has been displayed (or saved in a real application), then you need to stop the acquisition loops first and read the queue until you know it is empty and both of the other loops have stopped. Then stop the display loop and release the queue and notifier.
    Lynn
    Attachments:
    test notification loop.ldj.vi ‏1036 KB

  • How to send email notifications from a workflow?

    I am having problems trying to get notification emails to work from a workflow. I have done the following:
    1.Checked notification to file is commented out in waveset.properties
    2.Set SMTP server and port setting in Configure > Servers > email template
    3.Set SMTP and port setting in Account creation notification template.
    4.I am then running the following workflow code in reconsiliation per user workflow:
    <Action id='0' name='Send Notification' application='com.waveset.provision.WorkflowServices'>
                          <Argument name='op' value='notify'/>
                          <Argument name='template' value='Account Creation Notification'/>
                          <Argument name='type' value='email'/>
                          <Argument name='toAddress' value='$(email)'/>
               </Action>I am currently getting an error:com.waveset.util.WavesetException: toAddress must be specified.
    Whatever I try I cannot get the email template to pick up the email address for each user from the workflow.
    If I add a valid email address into the "toAddress" in the Account Creation Notification email template, the error goes away and reconsile completes, but no email is sent.
    Could someone advise what I can look into to sort this and get it working.

    You're running into a common IDM bug. I've hit it a few times too. I'm not sure of the root cause (sometimes using notifications as you did works for me sometimes it doesn't) but there's a workflow sub-process called "Notify" that you might look into. It's got a few extra features (such as retries) that the direct provisioning class does not.
    Call it using something like the following action:
          <Activity name='Notify User'>
            <Action id='0' name='send notification' process='Notify'>
              <Argument name='template' value=Template'/>
              <Argument name="from" value="[email protected]"/>
              <Argument name='to' value='$(userView.global.email)'/>
            </Action>
            <Transition to='end'/>
          </Activity>

  • I want to send notifications to outside(i,e mail box) from oracle, and users will approve the notification from email

    Hi
    I have a client required to send notifications to outside email box, and also user will approve this notification through email.(i,e not logged into oracle and approve it) in 11i instance.
    i need to send mail from po department to finance department
    once finance department approves , then mail back to po department that your notificaiton approved.
    from address:=[email protected]
    to address:=[email protected]
    as part of this we did IMAP set up
    and used the following code. and getting the notifications from Oracle to my mail box.
    my main issue is when user approves the wf notifications, it is not showing my specified email address in the attribute #WFM_REPLYTO, always it is showing the IMAP set up wfdev address
    what is the value i need to use for this #WFM_REPLYTO
    eventhough i am sending the to_address email id to the following attribute(wf_engine.setitemattrtext), the workflow approval not working for that email id.
    only if i am using the '[email protected]' in the imap set up, then only approval is working.
    how can i override this to_email address value([email protected]) to my desired email address?
    wf_engine.setitemattrtext (itemtype => l_item_type,
    itemkey => l_item_key,
    aname => '#WFM_REPLYTO', -- to_ address
    avalue => '[email protected]' -- [email protected]
    if any body having some sample code related to this please share on this.
    Thanks
    sam

    Sam,
    Can you find any errors in the Workflow log file?
    Please review the following docs.
    Setting Different Values For Attributes #WFM_FROM & #WFM_REPLYTO Does Not Happen Or Results In SAXParseException (Doc ID 1455191.1)
    How To Change The Default From and Reply To Email Address For Workflow Email Notifications (Doc ID 760477.1)
    Thanks,
    Hussein

Maybe you are looking for

  • Help - Class name and descriptions for a function location.

    Hi Guys i have to write a report that displays the class and class descriptions for a function location. the user passes in either the function location(TPLNR) or the class name and  the report should display the the class characteristics and resp. v

  • I just want to delete apps. ie hugs, smiles, etc. people have been sending. too much junk ! not sure how to do it. Thanks.

    I have a lot of applications on Facebook that I want to delete. Friends keep sending cute litttle things., like flowers, hugs,, smiles ......you know...those hugs. com apps. and so on and so forth! When you send them back,you open them allowing them

  • Ignore DOCTYPE tag in XML Validation

    All, I am trying to read an XML file using a file adapter with passing using the XSD created out of that XML. In normal scenario it works fines. Problems comes when I cam trying to read the XML file which had the Tag <!DOCTYPE> as shown below on top

  • 5800 XM : speaker mutes when connected to my car k...

    Hello, I have a 5800 XM with the last software version (v31). My car is a Ford Cmax from november 2007 and the built-in car kit is made by ... nokia. The car kit works fine : contacts are found, call i/out list is ok and phones calls works perfectly.

  • Getting list of valid responsibility keys

    Hello, everyone. I try to launch from JDeveloper page /oracle/apps/per/selfservice/hierarchy/webui/HierarchyPG having following runtime options: Application Short Name: AK Responsibility Key: FWK_TBX_TUTORIAL User name and password are creditals of u