Skip to Content
avatar image
Former Member

BPM scenario Notify recepeints at end of process

Hi Experts,

I have the following scenario

Data to be picked up from a staging table and then passed to R/3 using an RFC. If the RFC call is successful then the data picked from staging table is to be written to a file. Once the process is completed we need to notify a couple of recepients that the file has been created in a particular directory.

Using BPM we can handle the process. Am getting stuck on how we notify the recepients(send an email)

At what point in the BPM process do we notify.

Reference to similar scenarios would be appreciated

Regards,

Kalyan

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jan 06, 2010 at 10:16 AM
    Once the process is completed we need to notify a couple of recepients that the file has been created in a particular 
    directory.

    The Send step (for the file) should have the option Transport Acknowledgement......this will indicate whether the file was properly sent to the target directory.....you can catch the response (there is a Blog by Michal on this topic)

    Now once you get the +ve response you know that the file has been placed successfully......so now you can place your Send step (to send email)....i.e. after the Send Step for File.

    Note that if you intend to send an email then it can even be achieved by a Control Step (Throw Alert) and offcourse making necessary settings in SCOT....now this is just another way....i am not recommending it.

    Regards,

    Abhishek.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      This is the blog: /people/michal.krawczyk2/blog/2006/06/22/xi-playing-with-the-file-adapters-acknowledgments

      Implement the same logic as mentioned by Michal....deadline branch, exception branch.....this will help you cancel the process in case the file is not send to the target directory.....and hence the email wont be sent for failures

      The send step for Email will be after this Block....so that if the file is placed successfully the control will come out of the block and will be an indication that now the Email has to be sent.

      Regards,

      Abhishek.

  • Jan 06, 2010 at 10:08 AM

    Once the file is written using send step in BPM, put another send step sequentially and use mail adapter to send mail to recepients.

    Regards,

    Prateek

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 06, 2010 at 10:11 AM

    Hi,

    In the send step .. you will need to have two message in the target structure

    1. your file

    2. mail package structure

    In this way you will ensure that if the file is not created (e.g. an error occurs in the Comm Channel for file adapter then even the email will not be sent )

    you can use enhanced interface mapping for this process.

    Add comment
    10|10000 characters needed characters exceeded

  • Jan 06, 2010 at 10:12 AM

    The email step will be the last in your BPM.

    Once the process is completed we need to notify a couple of recepients that the file has been created in a particular directory.

    for the send step for the file, I guess you can request a technical acknowledgment to ensure that the file is created successfully.

    Add comment
    10|10000 characters needed characters exceeded