on 01-06-2010 10:03 AM
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
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.