cancel
Showing results for 
Search instead for 
Did you mean: 

BPM error handling for async/sync

Former Member
0 Kudos

Hi,

I am using an async/sync bpm for sending a message from SAP using outbound proxy to call a synchronous web service.

Now, if I get a fault message from web service the queue will be blocked for other messages to flow through as it is an EOIO.

Can anybody suggest how can I get the fault message and errors out in PI with a red flag and not block the other messages to flow through in this design? I cannot change this design as it is the business IT suggestion to go through in ths way.

-Mike

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member200962
Active Contributor
0 Kudos
I cannot change this design as it is the business IT suggestion to go through in ths way.

Include your Sync Step insode a Block and that block should have an Exception Branch....any exception raised by the SYNC Send will be caught by this Exception Branch......then in the Exception Branch have your relevant Exception handling....or leave this branch as blank....without any steps.

Regards,

Abhishek.

Former Member
0 Kudos

Are you getting a permanent error in BPM when a fault message response comes from Web service? If so, then your BPM queue might be getting blocked but I guess you can capture fault messages & raise an exception. You can cancel your BPM. It will not cause BPM queue to get blocked.

Regards

Sushil

stefan_grube
Active Contributor
0 Kudos

> Now, if I get a fault message from web service the queue will be blocked for other messages to flow through as it is an EOIO.

How can a queue be blocked behalf of an error in a sync message?

I do not understand this.

Where is EOIO in this scenario?

Former Member
0 Kudos

How can a queue be blocked behalf of an error in a sync message?

I do not understand this.

Where is EOIO in this scenario?

The answer for this question from Stefan is below

The EOIO in this scenario is the first asynch proxy call from SAP.

But when I get a fault message back from the synchronous web service, it will throw an error in SAP PI.

And what will happen to the next asynch message from proxy? Will it be send across with no issue without correcting this error? I am not sure how this async sync queue work??? And also what is the exact difference btw EO and EOIO?

Why asynch proxy is EOIO and not EO.

-Mike