Skip to Content
author's profile photo Former Member
Former Member

Exception Handling in BPMs


I guess this topic was already discussed here, but I couldn't find any sufficient answer to my problem.

I have a simple asynchronous send-step in my BPM. I'd like the BPM to move into an exception branch if the send step fails due to a sending error (e.g. the target url is not correct). But unfortunately in case of such a sending error the BPM ignores the exception branch and continues the normal path. I have no Idea why it does not work properly.

Thx for ideas in advance.



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jan 10, 2007 at 01:25 PM


    did you specify the use of exception in your send step?

    or did you only define it in the block step?

    have a look at this example:




    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member


      thx so far.

      The alert solution I cannot use for this problem.

      My scenario looks like this:

      IDOC -> XI BPM

      Within the BPM now the check of the send step:

      Case <b>correct</b>: an RFC writes a status (41) into the idoc (e.g. Sendig successfull)

      Case <b>incorrect</b>: an RFC writes a status (40) into the idoc (e.g. Sendig failed)

      Any idea how to handle this problem?



  • Posted on Jan 10, 2007 at 01:24 PM


    This is a problem becuase the error is occuring in the Adapter Engine. The Exception Handler will be triggered only if there is an error in the Integration Engine. As far as the BPM goes, the message has been passed to the Adapter Engine and so its task is done.

    You can request for Acknowedgmeents ( if the Adapter supports the same) or you can use XI's Alerting Framework to handle such scenarios.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.