cancel
Showing results for 
Search instead for 
Did you mean: 

Detecting and diverting error messages to diffierent receiver using BPM

Former Member
0 Kudos

HI Frndz,

I am working on BPM where i need to detect the message is in error or not, if is it is error it should divert to mail adapter otherwise it should go into idoc adapter(Succesful messages).

I think thorugh BPM we can achive this but i am struck at a point "how only the error messages will get diverted into the mail adapter" ........................

Points will be rewarded based on the solution provided........

Regards

Sai Ganesh

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Sai,

Create a Block and place your logic like

receive step to receive the message,

some operation as per your business logic.

send step to send this message to IDOC adapter.

Also create a exception branch in this block to capture if any error occured while processing a message. In the exception branch, insert a send step where you will be sending this error message to MAIL ADAPTER.

Hope this helps!!!

Chrish

Former Member
0 Kudos

Hi chris,

May i know how we can create the 2 steps(one if for sucues messages and other for error messages) at a same time in BPM......can u explain me more in detail.......................

Regards

Sai Ganesh

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi all,

Thanx for the help

Former Member
0 Kudos

You could even look at using extended receiver determiantion route the messages accordingly, and not use BPM at all!