Emails in BPM

Hi Experts,
How to send Email to user by using BPM?
I have a problem , when mapping realted error occurs then, i need to send  a Email to the user.
how to do this?
Thnx
RAMS

Hi RAMS,
1. Define a block inside the BPM and define all the receive, transform and send steps inside the block.
2. Select the block and
    a. right click on it Select Insert --> Exception Block 0r
    b. press ctrlshiftx.
3. Name the exception handler blog to sendmail.
4. For all the transform and send steps property u can find an option Exception, set the System Error property to sendmail(name of the exception handler).
5. Inside the exception handler have a send step to send out a mail.
Note: all the configuration part should be done to send out the mail.
Regards
San
Remember to set the thread to solved when you have received a solution there is a Way.

Similar Messages

  • Alerts through Email Using BPM

    Hi Friends,
                    can anybody help me on BPM as i am new to BPM.I need a help from you , i want to send an alert through Email using BPM can any body send me a sample scenario related to this one.

    In BPM you create the Alerts. In Alert Configuration (in RWB) you can define for each Alter Category whether it is to be forwarded via Email.Prerequisites for that:
    1. XI/PI must have been configured to send Mails (SMTP)
    2. All receivers must have maintained an Email Adress in SU01
    3. Only users defined in XI/PI can get the mails.
    4. Schedule the regular sending of Emails out of the XI/PI system using transaction SCOT
    5. The Mail Server (Lotus Domino or Exchange Server) must accept Mails from XI/PI system (Server and Port). Ask your Mail Guys.
    6. If you do not define the Mail Server as IP address in SMTP configuration take care that the XI/PI is able to resolve Server Name to IP Address (e.g. by maintaining local hosts ob XI/PI).
    Hope this helps!
    Regards,
    Volker

  • Sending Email from BPM

    Can anybody explain the process to send an email from BPM: (I must use BPM)
    Scenarion in BPM:
    1) RECEIVE step receives File
    2) SEND step sends the file
    3)* Need send to send an email based on the flag in the file recived in step 1.
    <b>My difficulty:</b>
    1) <b>How to receive the email content into BPM?</b>
    2) When I try to receive the email content usng RECEIVE step in SWITH, it is asking for <b>CORRELATION</b>
    3) I Defined a correlation in the first RECV STEP on the SUBJECT of the email
    4) I am getting an error in SWITCH statment saying the condition I am using is invalid (flag in the file)
    <b>My Design:</b>
    RECV>SEND>SWITCH(File flag: 0 OR 1)
    I am totally confused as to how to send an email from BPM.
    Using SWITCH
    Any help is greately appreciated..

    Hi Venu,
    What i understand is that you are receiving one file and then sending the file as well as sending mail.
    So here you can avoid using BPM.
    But still if you want to use..
    Corelation is also not required in this case since you will be receiving files only once in your BPM.
    You dont need switch.
    We use switch when we have a situation where messages are coming from different systems and any message can trigger the BPM.
    Are you receiving the email content in the first receive?
    Regards,
    Sumit
    Message was edited by: Sumit Khetawat

  • Error Emails from BPM Process Administration Console

    I am able to send error email to a single e-mail Id after configuring it in BPM Process Administrator(Engine-Networking tab).
    How do I sent e-mail to multiple user?
    I tried comma separated. It didnt work.
    Anyone can help on this?
    I get error something like below.....
    will be notified. Original exception is: Illegal address Caused by: Illegal address java.io.IOException: Illegal address at fuego.io.SMTPClient.sendMail(SMTPClient.java:323) at fuego.io.SMTPClient.sendMail(SMTPClient.java:341) at fuego.server.service.MailNotificationDispatcher.sendNow(MailNotificationDispatcher.java:157) at fuego.ejbengine.service.EJBMailNotificationDispatcher.send(EJBMailNotificationDispatcher.java:55) at fuego.server.service.ServerMailLogOutput.doOutput(ServerMailLogOutput.java:116) at fuego.log.LogOutput.output(LogOutput.java:187) at fuego.log.LogSystem$LogItemDispatcher.logItems(LogSystem.java:980) at fuego.log.LogSystem$LogItemDispatcher.run(LogSystem.java:863) Caused by: javax.mail.internet.AddressException: Illegal address in string
    Edited by: sideeque on Feb 16, 2011 7:56 AM

    Not the answer you wanted and sure you already thought of this, but try using a group email address inside the Process Admin email field.
    Dan

  • Editable Emails in Oracle BPM Taskforms

    Hi
    How are you donig!
    I have a requirement where the user needs to edit some fields while approving a task. THis is straight forward with ADF taskforms.
    But can we achieve the same with Email? Meaning the user will get an editable email where he'll edit and approve from the same mail. Approval / Rejection is possible in Email from BPM, but how to create editable email?
    Regards
    RaviKiran

    Hi RaviKiran,
    You can create an outlook form that will introspect the incoming email header and body, use the Worklist API to fetch the human task payload data and load them on your form.
    On submission of the email you will have again to use the Worklist API to update the payload data and submit the task based on the selected action (Hint: you will have to use the authenticateOnBehalfOf method to authenticate using the admin credentials on behalf of your outlook user).
    As I told you it requires quite some work.
    You can find more information on how to programmatically work on tasks at the Workflow Services Java API Reference.
    Hope I could be of help.
    Antonis

  • Sendaing Email?

    Any suggestion on following:
    I have a File-XI(BPM)-File.
    I need to send an email after FTP
    Thanks

    Hi,
    <i>1) If I set up the SEND step in BPM, how does it pull the the content of the email? BPM needs to receive this information in Abstract interface in advance, right?</i>
    You will define a new structure for Mail or import the mail package. You need to have a Abstract either using mail as message type or any abs interface which has the content of the mail you need to send. During the Interface determination's Interface mapping you will have the mapping from the abs interface to the mail strucutre.
    <i>2) Can I send a email with standard content without pulling it from a file interface?</i>
    Yes you can...
    <i>3) If 2) is not possible, how to trigger SENDER File adapter that has the content of the email.</i>
    During mapping just assign all constant values to the Mail structure.
    Thanks,
    Prakash

  • Doubt on Alert Configuration:PI 7.1

    Hi all,
            I am working on PI 7.1.Ours is an Idoc to JDBC Scenario.We reqiure Alerts to be triggered for error notifications and also data from the payload as part of alert emails.
    BPMs are not used in our design.
    Please help me on how to proceed so that i can get the data from payload as part of alert emails.
    Thanks,
    Sowmya

    Hi Sowmya,
    When the gurus say it cant be done, it cant be done....
    I say this with certainity...  but what can be done as of now is in the below link.
    Source: Re: How to trigger alert in XI from a connected SAP R/3 4.7 system
    Hope in future they add this functionality.
    Rgds
    joel
    Edited by: joel trinidade on Feb 25, 2009 10:19 AM

  • Server.webBUIServer returns Process Admin but need Workspace port

    While attempting to provide a link to a particular activity in an email via BPM code I have used the following code in ALBPM 5.7.
    String instanceStampId = this.id.id.substring(first : 0, last : this.id.id.indexOf(text : "@")).encodeURL();
    String strLink = server.webBUIServer +
    "/servlet/controller?currentView=unified_inbox&pageId=1&instanceStampId=" +
    instanceStampId +
    "%2F" + "DisplayScreenFlow1";
    strMessage = strMessage + "
    <a href=\"" + strLink + "\"> Click here </body></html>";
    We use port number for workspace 8054 and process administrator 8585. While I need the link to point to our workspace port number and not the process admin port number.
    Anyone please help me to achieve this.
    Edited by: Vikram Srinivasan on Jul 4, 2010 11:41 PM
    Edited by: Vikram Srinivasan on Jul 4, 2010 11:42 PM

    I figured out the solution.
    1. In process Admin -> Click Custom Engine link and -> Networking Tab and provide correct WorkSpace URL
    2. server.webBUIServer refers to this URL and this can be linked to any email.
    3. This will not get reflected until the engine is restarted. Therefore stop the engine and start the engine to resolve this issue.

  • BPM stops after receiving payloads from sender email channel

    Hi,
    my current situation:
    i have a sender email cc which sends the content plus attachments into the xi. here i map it to an BAPI-request structure and forward it to an BPM-process. this BPM does a sync call to an r/3. i use the payload swap bean to switch the attachment-1 as content.
    -> when i generate the email with e.g. thunderbird the scenario runs
    Problem:
    but if i use outlook or notes the email appears as a multipart message with attachments (that should not be a problem as i still use the attachment-1) the forward to the BPM causes a stuck?
    <b>this one works:</b>
    --SAP_f5e98a51-c25a-11db-8164-000e7fef2133_END
    Content-ID: <[email protected]>
    Content-Disposition: attachment;filename="[email protected]"
    Content-Type: text/xml; charset=utf-8
    Content-Description: SOAP
    <SOAP:Envelope>lots of funny stuff</SOAP:Envelope>
    --SAP_f5e98a51-c25a-11db-8164-000e7fef2133_END
    Content-ID: <[email protected]>
    Content-Type: text/html; charset=ISO-8859-1
    Content-Disposition: attachment;filename="MailMessage.htm"
    Content-Description: MailMessage
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    </head>
    <body bgcolor="#ffffff" text="#000000">
    <br>
    </body>
    </html>
    --SAP_f5e98a51-c25a-11db-8164-000e7fef2133_END
    Content-ID: <[email protected]>
    Content-Type: text/xml;charset=iso-8859-15
    Content-Disposition: attachment;filename="MailAttachment-1.bin"
    Content-Description: MailAttachment-1
    <?xml version="1.0" encoding="utf-8"?>
    <ns:salesorderlines_recordset xmlns:ns="http://namespace">
    and so on
    <b>this not:</b>
    --SAP_1ce0ab21-c25b-11db-c38b-000e7fef2133_END
    Content-ID: <[email protected]>
    Content-Disposition: attachment;filename="[email protected]"
    Content-Type: text/xml; charset=utf-8
    Content-Description: SOAP
    <SOAP:Envelope>same entries as above</SOAP:Envelope>
    --SAP_1ce0ab21-c25b-11db-c38b-000e7fef2133_END
    Content-ID: <[email protected]>
    Content-Type: multipart/alternative; boundary="=_alternative 002A6CACC125728A_="
    Content-Disposition: attachment;filename="MailMessage.bin"
    Content-Description: MailMessage
    --=_alternative 002A6CACC125728A_=
    Content-Type: text/plain; charset="US-ASCII"
    --=_alternative 002A6CACC125728A_=
    Content-Type: text/html; charset="US-ASCII"
    --=_alternative 002A6CACC125728A_=--
    --SAP_1ce0ab21-c25b-11db-c38b-000e7fef2133_END
    Content-ID: <[email protected]>
    Content-Type: text/xml;charset=iso-8859-15
    Content-Disposition: attachment;filename="MailAttachment-1.bin"
    Content-Description: MailAttachment-1
    <?xml version="1.0" encoding="utf-8"?>
    <ns:salesorderlines_recordset xmlns:ns="http://namespace">
    and so on
    could it be the  "Content-Type: multipart/alternative; boundary..." ??

    Oh yeah...
    found it by myself
    everything with type "multipart/alternative" stucks in SAP XI
    Sender Mail Adapter - html body mail
    at my side the only solution was:
    1. module
    PayloadSwapBean with "swap.KeyName = content-type" and "swap.KeyValue = multipart/alternative"
    to select the problematic part
    2. module
    MessageTransformBean with "transform.ContentType = text/plain; charset=UTF-8"
    to assign the part a standard/readable encoding (for XI)
    3. module
    PayloadSwapBean with "swap.KeyName = content-name" and "swap.KeyValue = Attachment-1"
    to go on with the attachment...
    both conversions "text/plain" and "text/xml" worked fine

  • BPM Alerts not sending email notifications

    Hello Experts,
    I've successfully configured BPM within SolMan and alerts are being generated but I'm not receiving any email notifications. In the setup of Business Process Monitoring, "Contacts" have been maintained within the Solution Directory as well as the notifications section of the monitoring type with a sender and a valid recipient address . Both yellow and red alerts are being generated but no email notifications are being sent. Thresholds have also been maintained.
    Researching other threads regarding this same issue points to tcode RZ20->SAP CCMS Technical Expert Monitors ->All Monitoring Contexts->BPM->Activate Maintanance Function-> and assiging Central auto reaction methods to MTE Class BPMRoot Context and the other BPM_APPMON_* MTE classes. Is there something that I am missing in order to have these alerts send email notifications when the alert threshold is reached?
    I also defined the new Central Auto Reaction method and maintained the parameters properly which calls FM DSWP_BPM_SEND_ALERT. Please assist as I have exhausted all options. Please provide a step by step guide to setup alert notifications if possible.
    Thanks
    Mike

    These notes might help you
    [https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=543414]
    [https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=546981]
    check the timezone settings also [https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=572608]
    regards
    Naveen

  • Customized Autoreaction messages in BPM -Emailing Detailed Display contents

    Hi,
    Please let me know if it is feasible for emailing the contents of the detailed display in BPM via alert mail that gets triggered .
    I know that there are BADI's available for enhancing the auto reaction messages.But these BADI's doesnt have the details regarding the contents of the detailed display.
    Eg.I have alerts for incomplete sales documents in my BPM.
    In BPM session,I will be able to view those documents only by clicking the detailed display for each alert. I wanted to know if this content(List of all sales documents) can be emailed as an attachment along with the email notification sent to the users.This way the users need not log into solution manager at all for viewing the documents.They can just view the list of incomplete sales documents in the email if it is possible to send them in an excel .
    Thanks,
    Bhuvana

    Hi,
    it is technically possible to create such a solution, but so far we are only providing such a solution as part of SAP MaxAttention or SAP Safeguarding engagements where we work closely together with a customer. Anyhow attaching document information to an email is not really satisfying as the number of documents might be very large and also as it bears some security risk if the email gets outside the company or otherwise into false hands. For this reason we are evaluating if a solution can be provided in the future that allows a direct link from the email to the document list in the backend system. But I cannot say anything about a possible availability for such a solution.
    Best Regards
    Volker

  • Error 500 in Email body sent by BPM Task

    Hi All,
    We are sending an email notification with task payload whenever a task is created by configuring Notification properties associated with a task in BPM 11g.
    The emails are going fine for individual emails but when we are sending the email to a DL (Group emails) an Error 500--Internal Server
    is coming in email body.. the task payload is not rendered.
    What may be the reason and what is the solution?
    Warm Regards,
    Sam

    Hi,
    Please use the follwoing FM in a task-mehtod to send mail.
    CONCATENATE '<A HREF=' lv_link '>'
       INTO ls_text.
    APPEND ls_text TO lt_text.
    CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
      EXPORTING
        document_data              = ls_document_data
        document_type              = 'HTM'
        put_in_outbox              = 'X'
        commit_work                = 'X'
      TABLES
        object_content             = lt_text
        receivers                  = lt_receivers
      EXCEPTIONS
        too_many_receivers         = 1
        document_not_sent          = 2
        document_type_not_exist    = 3
        operation_no_authorization = 4
        parameter_error            = 5
        x_error                    = 6
        enqueue_error              = 7
        OTHERS                     = 8.
    Where lv_link  is the varibale wihich holds thlink more than 132 charecters.
    Thanks and regards,
    SNJY

  • Sending Alerts raised in BPM to Email and also to Alert Inbox

    Hi,
    Currently BPM is designed to send the alerts to Alert inbox of Fixed recipients. For this alert category, in the properties 'Dynamic Text' is checked. But the current requirement is to send those alerts to Email also.
    Anybody help me by providing the configuration steps, ideas to send the same alerts sent to alert inbox to email.
    Regards,
    Suraj Kumar

    Hi,
    This might help you
    The Following URL'S will help you for the Alerting Configuration.
    Alerts in MS Inbox
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step
    http://help.sap.com/saphelp_nw2004s/helpdata/en/43/1b9259fb002be8e10000000a11466f/frameset.htm
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide
    /people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions
    Re: alert monitoring
    Re: Alert not working?
    Regards
    Agasthuri Doss

  • BPM alert message as subject of email?

    Hi,
    I am working on a BPM scenario, where I am sending alerts from BPM. These alerts are sent as an email to the users.
    Is it possible to send the alert message as subject of the email along with the content?
    Thanks & Regards,
    Ashish

    Hi,
    Yes, alert is raised using control step in BPM. Any customizing possible?
    Regards,
    Ashish

  • Sending email Notifications from BPM 11.1.1.5+FP

    Hi all,
    We're trying to send an email notifications from our process but we need to send HTML mails, not just plain text...
    Any help would be appreciated.
    Thanks in advance

    1. Configure the UMS Email Driver in Enterprise manager
    2. onfigure the SOA Suite Workflow Notification properties
    3. Restart the soa server
    4. On the BPM Process, drag the mail notification from the notification category.
    5. update the mail notification properties such as to address, title, and content etc.
    For the configuration, please refer the following url
    http://technology.amis.nl/blog/6019/configure-soa-suite-11g-for-sending-email-notifications-with-google-mail

Maybe you are looking for