on 10-23-2009 8:38 AM
I'm working on a BPM that may fail to perform some steps due to system errors. I can raise an exception if that happens, but what I'd like to do in the exception branch is to build a response message to the calling application that starts the BPM, declaring the reasons of the error. I can do that giving a generic "system error" description, but I'd like to be more precise, and access the system error cause itself and add it to the message description.
Is this possible? How to make it?
Thanks in advance.
Hi ,
I Assume that we can not find the cause of the error . Just we can have an exception branch and put your message "system error " OR else in the Exception Block keep an transformation , in that you will be having a message mapping . If possible we can collect any system messages here
Regards,
Jude
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
As per my knowledge we can raise System errors using Send step and Transformation Step.I dont think we can rise System errors using Control step.Control Step handles only Exceptions not System errors.(Confirm once).
But if you want to rise System errors go for Send Step Synchronous or Asynchronous.
Send Step Synchronous used when exception triggered by permanent system errors that occur in the pipeline or while transporting the message to or from the pipeline.Asynchronous Send Step:the exception will only be triggered if an error occurs during the transfer to the pipeline. Errors that occur during mapping in the pipeline, do not trigger an exception.
Transformation step used when to rise Permanent System error occurs.
Regards,
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Then use send step only,it rises System error when an exception occurs in Pipeline steps,like message mapping exception.Better to confgure one simple one scenario and rise one exception using Send,The you will kow how its behaving.I never done ,thats why i dont know how eaxctly it will work.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.