Skip to Content

Message has error status on o/b side

Hello friends,

I'm working on BPM scenario it works fine. But I need to clarify something in order to enhance the debugging for the end-user.

I'm using mapping in which i'm checking the payload value is numeric or non-numeric. If its non-numeric i'm throwing an exception saying that the "cost" element is non-numeric. It works as designed, since I've designed the scenario I knew very well if error happen in this step its becuase of "cost" field. But if some one works on it the BPM will be errored out saying mapping error, but how to make it easier to understand that the error is in "cost" field. Could you guys please help me in solving it.

I thought of adding trace information, is it correct?

Best regards,

raj.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on May 29, 2007 at 03:06 PM

    Hi,

    >>>I thought of adding trace information, is it correct?

    on PRD env trance will probably be removed from configuration

    but you can use apporach from my blog:

    /people/michal.krawczyk2/blog/2007/04/26/xipi-throwing-generic-exceptions-from-any-type-of-mapping

    Regards,

    michal

    -


    <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

    • Like pointed by Ahmad, create a dummy datatype to be used as the target output of your mapping.

      The mapping will be a 1: 2 mapping where you will create the output strcuture and so set some flag in this dummy datatype. Next you can add a switch ove this datatype and check if the data needs to be sent to the receiver or ignored.

      This way you avoid throwing a runtime error in XI.

      Regards

      Bhavesh

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.