According to Apigee documentation, DefaultFaultRules can have a condition. Not the steps inside, but the DefaultFaultRule itself.
However this code will always be executed, regardless of the condition never being true:
<DefaultFaultRule name="error-common">
<Step>
<Name>Common-Errors</Name>
</Step>
<Step>
<Name>ExecutionTime</Name>
</Step>
<AlwaysEnforce>true</AlwaysEnforce>
<Condition>1 = 2</Condition>
</DefaultFaultRule>
According to the previous documentation, the condition should be evaluated, because it doesn’t say anywhere that AlwaysEnforce is incompatible with a condition, it just says that DefaultFaultRule can have a condition just like normal FaultRules. So what is the problem here? Is AlwaysEnforce making the Condition irrelevant? Or is it simply impossible to use a Condition with a DefaultFaultRules?

