Approval Email Notification needs to be sent by scripting

Hi
We have a requirement - when one particular Rfx approver presses the approve button , one email notification needs to be sent to some particular email ID .
Is it possible by scripting ? Can anyone help me with the code ?
Regards
Sudipta
Edited by: Sudipta62 on Nov 14, 2011 3:39 PM

Hi,
Refer this thread for bean script email code!
Re: Issue with JAVA Mail API
Regards,
Uday

Similar Messages

  • Email Notification need anyone changes the PCD content..

    Hello,
    Can someone give me a solution for this issue.
    An email should be sent to a person if someone has changed the PCD content. Can be an iveiw property, role property, workset property etc,.
    Or if any thing is created or modified in PCD i should get an email notification that so and so content has been modified by so and so person.
    Regards,
    Krishna

    Hello Krishna,
    As far as regarding to your question there is no built in functionality with portal. Email notification for subscription and notification service can be configured in the portal as:
    Sys admin - System Configuration - Knowledge Management-Content Management - Utilities-channels - email channels  by this you can configure the communication channels available in the portal. However this is used to send information to the users.
    Also the email notifications are used in the User Management where the user profile changes can be tracked by the Administrator, similarly for tasks and notification's we can configure the UWL for the email communication.
    Some of the useful links are:
    /thread/34939 [original link is broken]
    EP-Email Configuration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2678e05a-0701-0010-fa86-ddfbec5a2b94
    Outlook Email Based Approval
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d6bdc790-0201-0010-4597-da11d5f9e5a1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/41d59a90-0201-0010-ba9d-e1c5c0078a71
    Creating An Import File For UME From Excel
    In these there are threads which explain you some concepts of Collaboration rooms by which you can track the details of PCD and also like the System landscape monitoring.
    I hope this information would give you an idea as of how email channel could be used in portal where in as specific to your question i think we need to build an application and try integrate it with portal to test it.
    Thanks,
    Aparna
    'Please reward point if helpful'

  • Approval email notification not routing to an approver

    Hi Experts,
    For a certain PO value range there are existing approvers. We have added an additional approver to the PO approval matrix. Now, while changes are done for a PO the approval email is not going to the added approver. Instead it will send a mail notification twice to one of the existing approvers. 
    The added approver appears in SRM approval preview, aslo we find the approver in the workflow agents. In addition the approver gets the PO in the SRM inbox for approval, but only the email notification is not sent to this approver.
    Any pointers to solve this issue.
    Thanks in advance,
    Francis

    Hello,
    Workflow approbation e-mails are taken from BP transaction. If there is no information there, e-mails are taken from SU01.
    Some extra customising has to be maintained in order to have notifications sent out as an email:                                                                               
    - Set the attribute FORWARD_WI for the requester;
    - In SO16, tab "Mail Sy.Grp", select "Send to home address of users".        
    Kind regards,
    Ricardo

  • Approve email notification.

    Hi All
    From apex (version 4.1) application I am sending a email notification to the users. I like to know is there a way to povide approve and Reject button/link in email to process the transaction from email itself.
    Thanks in advance.
    Thanks
    Srini

    Hi Srini,
    You can have a hidden page item and then offer the two different links to the same page but just passing in different values. For example if you are working on page 21 of application 100 the APPROVE link would look like:
    www.server.com/pls/apex/f?p=100:21:::::P21_HIDDEN_VALUE:APPROVE
    And the REJECT link would look like:
    www.server.com/pls/apex/f?p=100:21:::::P21_HIDDEN_VALUE:REJECT
    You then need a PL/SQL page process to run On Load - After Footer that references your P21_HIDDEN_VALUE page item, something like:
    BEGIN
    IF :P21_HIDDEN_VALUE like 'APPROVE' THEN
    -- APPROVE code goes here
    ELSE
    -- REJECT code goes here
    END IF;
    END;
    Aaron

  • Configuration of WF approval email notification

    We are on 11.5.10.2 and I have a workflow configuration question. When an approval notification is routed to a manager and he or she views it in their worklist, the response line that has the Approve, Reject, or Request More Information buttions appears at BOTH the top and bottom of the page. But when the manager views it in their email box, the links to Approve, Reject, etc appear only at the bottom of the email. Is there a way to configure the emails so that the response links appear at the top of the page in addition (or instead of) to the bottom of the page, the same as the worklist page? Managers are finding that when viewing/approving via PDAs, part of the notification is being truncated, as is the case with OTL timecard approvals.

    Hi,
    Please see if this thread helps.
    R12 Requisition Approval - Removing few buttons from email notification
    R12 Requisition Approval - Removing few buttons from email notification
    For OTL, what is the OTL patchset you are on?
    Thanks,
    Hussein

  • Send approval email notification to Lotusnotes/Outlook

    Hi all,
    Our requirement here is to send a confirmation e-mail to the requisition creator once their requisition has been approved by the requisition approver.
    So far, we have been only able to send this message to the requisition creatoru2019s SAP Inbox, however, our requirement is to send it to their e-mail address (i.e. outlook / lotus notes).  We understand that if we set-up this confirmation message as a work-item (i.e. not an SAP Inbox message), then we could use the standard Workflow e-mail notifications (SWNCONFIG) to send the e-mail to the requisition creator.  We want to know if it is possible to send an e-mail from the workflow system without setting this up as a work-item (if we set it up as a work-item, then we are forced to have a decision, and a decision is not relevant here).
    Cheers,
    Chandra

    Hi Pavan,
    The note you mentioned talks about the integration of SAP and lotus notes. But, as we are in ECC5.0, we dont want to do the lotus notes integration.
    For, now I have setup the forwarding email functionality in SO13 and the issues has been resolved.
    I am using SO10 setup to send email notifications to lotusnotes email ID and SWNCONFIG to send workitems to lotusnotes email ID. Issue resolved for now.
    Still looking for some more options to resolve the issue.
    Thanks,
    Chandra

  • PO Approval Email Notifications

    Hi,
    I customized Standard Printed Purchase Order Report and it is working fine, generating PDF output also with the help of XML Publisher.
    Now when a PO is approved from PO Approval . Then Standard Purchase Order Report is send to supplier Email address. Please let me how to send Customized Printed Purchase Order report instead of Standard Purchase Order Report. If PO Approval workflow has to be customized . Please give me some ideas how can I do that.
    Thanks
    Raj

    You don't need a new program.
    Just change the seeded concurrent program definition.
    Make sure that the output is xml

  • When approving email notifications the FireFox reply box has a 'K' in it..

    hi all..
    As above. It is generates an email reply box but with a 'K' as recipient, and not linking to anything..
    The user is using Firefox email app. Is it some setting? A pop-up blocker? Has anybody experienced this where users have been trying to approve Purchase Orders and/or i-Expenses..?
    Thanks for looking.
    S

    Hi steven;
    I can't be certain if this issue only happens with Thunderbird. We do you get this ssue from time to time but not at present with anybody else. Where on:Can you obtaion, you have this error for specific e-mail or it happens sometimes to any email message?
    I've checked the note and don't believe its related as this would be amuch wider problem than these one or two isolated cases that it is. I knew its not related :) i paste it coz this note is the one which i can find error related wiht mozzilla thunderbird :)
    Regard
    Helios

  • ARQ: How to configure Role Approve/Reject Email Notifications???

    Hi,
    I would like to achieve below for my business scenario with below MSMP stage configurations:
    MSMS Stages Configurations:
    MANAGER --> Can act on both request and line items level
    Role Owner--> Can ONLY act on line items
    Requirement
    In best case, a Manager approves all the line items in an Access Request. Then an email notification mail for "NEW WORK ITEM" would be sent to Role Owner(s) at next stage. This is achieved.
    Now at Role Owner Stage, below 3 cases are possible:
    1. All Role Owners can approve the line items
    2. All Role Owners can reject the line items
    3. Some of the Role Owners approve and Some of them reject line items
    In all the above cases, a Role Owner ALWAYS click on "SUBMIT" button (as he is not authorized to reject a request as a whole) and this action is considered to be as "APPROVED" and eventually, "APPROVED" event is triggered.
    This looks good in case numbers: 1 & 3. Meaning, even a single role is approved, request can be considered as approved and the request details can be sent to business user.
    However, I am facing a problem when ALL the line items are rejected by ALL the Role Owners!
    This will surely close the request. However, the email notification that will be sent to user in this case will be of "APPROVED" though the request is rejected in a sense (because all the roles are rejected)!
    Can anybody please he understand this and design proper solution?
    Regards,
    Faisal

    Hi Faisal,
    We are on GRC SP13.
    Please do below settings to make role approval/rejection comments mandatory.
    2040 - Set this parameter value as YES
    In MSMP - Role Owner - Stage settings - Please maintain these settings
    I have come across the same scenario as yours. Below is my observation.
    When all role owners rejects all roles by REJECTING roles at LINEITEM level, request instead of getting closed at ROLE OWNER stage, it is going to next stage and getting closed there. I assume this is standard behaviour
    Let's see if we can get experts advise on this.
    Regards,
    Madhu.

  • OIM 11g Approval Workflow Notification Configuration

    Dear All,
    Is there any documentation guide or tutorial or step by step guide about how to configure approval workflow notification in oim 11g?
    In my case, a request must be approve by 3 (three) level of approver, "Requester Manager" --> "Application Business Owner" --> "Application Administrator". On each level, a notification need to be sent to the approver contains all information about the requester and the resource that requested.
    How can i configure the notification since approval processes are in SOA composite and the development of the workflow is using JDeveloper?
    Many Thanks for your help.

    Hi
    Please go through the link, You can configure notification any time based on you requirement. You have to get emails to whom you want to sent, just set this mail in a variable. Use this variable as to ,..
    http://docs.oracle.com/cd/E23943_01/dev.1111/e10224/bp_notif.htm#BABEDFCC
    Thanks,
    Kuldeep

  • Email Notification - Variables from Object Form.

    Hello All,
    I have a object form and I have a approval process definition. I want to send a email notification with the values of the data entered in the object form by the user.
    I am able to receive the email but I am unable to retrieve the data from the object form into email being sent out.
    Amit.

    I actually had to check the email defs but it seems like you simply can't get access to the object data in an approval email notification.
    If you need this functionality you probably need to use an entity adapter, fire on post insert on request, use the APIs to extract the email def and the data from the object form and then send using Javamail.
    Good luck
    /M

  • Modify Email Notifications Used in Workflow

    We are using content services with workflow and we have email notifications configured to be sent out to approvers when new document or delete requests are generated. The problem is, we are not using Oracle Mail, so the email that is generated contains links and attachments that are designed to execute in the Oracle Mail client, but do not work when opened and clicked on in our mail client.
    I have read a few posts that suggest the email contents can be edited and customized using workflow builder, but I have yet to determine how this is done, or if there is any documentation pertaining to how this accomplished.
    Anyone that can point me in the right direction? Thanks in advance!

    I tried the mentioned approach of creating a 2 step workflow which has the following steps :
    Created a criteria workflow .
    Added following steps : -Reject Notification step(Edit/reveiw Step)-- added the condition -if wfAction like reject --notify the author with the custom template else move to next step with following piece of code :
       <$if wfAction like "REJECT"$> 
      <$wfSet("wfJumpEntryNotifyOff", "1")$>    
      <$wfNotify(dDocAuthor,"user","MY_WF_REJECT_MAIL")$>     
      <$wfSet("wfJumpName", "Test")$>
      <$wfSet("wfJumpEntryNotifyOff", "1")$>
      <$wfSet("wfJumpTargetStep", wfCurrentStep(1))$>
      <$else$>                            
      <$wfSet("wfJumpEntryNotifyOff", "1")$> 
      <$wfSet("wfJumpName", "Test1")$>         
      <$wfSet("wfJumpTargetStep", wfCurrentStep(1))$>
      <$endif$>
                                              -Approval step-(Edit/reveiw Step)-- in this reviewer is notified for the approval.
    Now I'm stuck in --when the reviewer rejects the content both custom and OOTB mails are being sent though I have used <$wfSet("wfJumpEntryNotifyOff", "1")$> in each step.
    Now I'm not able to figure out what exactly needs to be done to suppress the OOTB notification.
    Thanks,

  • How to send Email Notifications to OID users?

    Hi All,
    I have a requirement where I need to send an email notification from the BPEL process. The Email notification has to be sent to a used who invoked the process the userName is provided in the initiation parameters. But I need to fetch the email id for the give userName from the OID which is integrated with the BPEL Process Manager.
    Is there any way I can fetch the email addresses from the OID in BPEL ?
    Thank you.

    Hi Folks, Finally I found the answer... If the APP server is integrated with the OID(Identity Management is set to Oracle Internet Directory and configured properly) the function ora:getUserProperty(bpws:getVariableData('myUser'),'mail') should return the mail property of the user object in OID.
    If your Identity Management is set to the File-Based system then it will get the user properties from the $ORACLE_HOME/bpel/system/services/config/user_properties.xml.

  • KM Subscription not always sending email notifications

    Experts,
    We are running EP 7.0 SP18.  We noticed recently that when certain users post forms or documents to folders that have a subscription on it, an email notification is not always sent.  We get email notifications for some users, but not others.  Has anyone else experienced this?  Any ideas ho to fix it?

    Do they have Read Permission for etc -> notification folder?
    Check this Re: Submit for approval is not generating email notifications
    Regards
    BP

  • Send email notification in latest start and latest end

    Hi all,
    My requirement is to send email notification on latest start and latest end. For latest start, a notification needs to be sent to the manager asking him to start processing the Leave request.
    Am not too concerned about the latest end, since the latest end takes the workitem(MODELED ACtion)  to the next manager, where I can insert a email step in the workflow.
    My concern is how can i send an email to the manager if he has not started processing the lave request within say 3 days
    thanks a ton.
    regards

    Hi,
      If you are looking to send notification ASA work item reaches a latest end then follow the below steps.
    1. Open the step for which you have set the latest end and click latest end tab.
    2. Under the same tab you will find a Drop down box you will find two entries 1 Display Text 2 Modeled  choose the 1 option. and define the text in the task description by choosing Latest End description.
    3. Choose the container element you might have populated the email address.
    Now the configuration that you need to make sure to send a mail to external email id is SCOT settings if SMTP node is configured  then this node would be sending mails to the
    Regards
    Pavan

Maybe you are looking for