|
Home > Archive > BizTalk Server General > October 2004 > Exception handling for Business Rules
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
Exception handling for Business Rules
|
|
| Sukesh Shetty 2004-10-20, 7:47 am |
| Hi,
How do I use exception handling for "call rules" shape in orchestration. The
scope for call rules shape is atomic hence I cannot use the exception handler
shape in orchestration for the call rules shape.
There is no exception handling in rule definitions itself. How do I handle
exception in rules then???
Thanks,
Sukesh.
| |
| Matt Meleski 2004-10-25, 5:49 pm |
| Sukesh,
I have not tried this, but can't you
place(nest) your Atomic Scope inside a Long Running
Scope? The Long Running Scope should catch any errors
that occur in the Atomic scope.
Matt
"Sukesh Shetty" wrote:
> Hi,
>
> How do I use exception handling for "call rules" shape in orchestration. The
> scope for call rules shape is atomic hence I cannot use the exception handler
> shape in orchestration for the call rules shape.
>
> There is no exception handling in rule definitions itself. How do I handle
> exception in rules then???
>
> Thanks,
> Sukesh.
| |
| Troy Rackley 2004-10-27, 7:46 am |
| The approach that MM suggests does not work. I tried below, and errors in the
Rules Engine would never be trapped by the orchestration exception handler. I
attempted to trap in the outer scope the specific eception type by adding the
Microsoft.RulesEngine refference as well as the System.Exception type. In
either case the error from the inner atomic CallRules scope would always show
up in the event loag and bypass my handler.
Does anyone know how to trap these rule engine exceptions?
trackley
"Matt Meleski" wrote:
[vbcol=seagreen]
> Sukesh,
>
> I have not tried this, but can't you
> place(nest) your Atomic Scope inside a Long Running
> Scope? The Long Running Scope should catch any errors
> that occur in the Atomic scope.
>
> Matt
>
>
> "Sukesh Shetty" wrote:
>
|
|
|
|
|