Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Default fault rule is executed even when another policy raised a fault. How to stop this?

Not applicable

Default fault rule worked in the case where no fault was able to catch the exception. But it is also executing when another fault is raised. Even when <AlwaysEnforce> is false.

Attached is the screenshot of the trace. Below is how I am applying the default rule

<TargetEndpoint name="something">
    <Description/>
    <FaultRules/>
    <DefaultFaultRule name="fault-rule">
        <Step>
            <Name>ReturnGenericError</Name>
        </Step> 
        <AlwaysEnforce>false</AlwaysEnforce> 
    </DefaultFaultRule>
    <Flows/>

	...

How to stop this?

0 12 5,037
12 REPLIES 12
Top Solution Authors