Skip to Content
author's profile photo
Former Member

BPM-Raise Exception does not work

I have designed the BPM in following way.

1. Receive step - Receive Asynchronous message

2. Defined the Block - DB

3. Send step 'A' to JDBC - inside the Block-'DB' - Acknowledgement-Transport, Exceptions System Error-DB, Receiver from-Send context.

4. Created an exception handler and Selected 'DB' as exception handler for the property of the exception handler branch.

5. Inserted the Send step-'B' to send mail inside the exception handler branch by using the MAIL receiver adapter.

We want send the message to update database by using JDBC adapter but if it fails to update database then we want send an e-mail to outlook.

But it looks like it is not working when it fails to update database.

Can someone please help me?

Thanks in advance!

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Oct 05, 2005 at 03:12 PM

    Manish,

    Thank you very much for your quick replies!

    What situations system errors occurs in BPM and in what situations application errors occurs in BPM? What is the difference between these errors?

    I want to send an e-mail to outlook when XI message fails to send message to database system, Do I need to use Acknowledgement = "Transport" in the "SEND" step of the JDBC adapter? If I don't use it then how would it impact the exception handling in BPM?

    How I can design BPM for handling application erros in BPM?

    Mrudula

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 05, 2005 at 01:35 PM

    When the JDBC adapter fails to update the database, does it raise a system error? If it does not, then your exception handler willnot be triggered.

    Cheers

    Manish

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Oct 05, 2005 at 02:11 PM

    Manish,

    Thanks for your reply.

    How would I know whether it raises the system error when it fails to update databse by using JDBC adapter?

    If it does not raises the system error then how should I design BPM to send an email to MS-Outlook when it fails to update database?

    Thanks in advance!

    Mrudula

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      You should be able to see a system error in the Adapter monitor. If it is not a system error, you will have to use a fault message type to accept an application error, and trigger the BPM exception on that fault message rather than on system errors.

      Cheers

      Manish