I am sending a PO from a legacy System (File Adapter /)Asynchronous and from XI we are sending to a Vendor using (Asynchronous/HTTP Adapter).
I am using a BPM to do the above process. In my Send Step to Vendor, I have the Transport Acknowldgement set. I am trying to catch the Bad Return code, if the Vendor Server is Down or Vendor Server Gateway timed out or any other problems.
How should I move further?
My BPM looks like Receive Step (Receive a message from File) & Send step (Transport Acknowledgment set, Send the message to Vendor), both of the above steps are inside a Block Step?
Now if I get a bad return code, I want to capture that and I want to attach that payload of error message and need to send it thru a mail. Please note, I know how to configure a mail adapter and I have already executed that.
Thanks.