I suspect the Message Schema Category setting specified in your Business Service is NOT specifying category 2.2. This setting overrides whatever version number is in MSH:12 (since the MSH value is notoriously unreliable). You may be specifying another version or a custom schema. When the message hits your rule, the docCategory constraint value is compared to what the Business Service assigned, not MSH:12.
Look at a message that failed in the Message Viewer Body tab, to see the MessageTypeCategory value (which is compared to docCategory) and Name value (which is compared to docName). One of them does not match, otherwise the message would be sent.
The WHEN conditional expression in Rule 1 does absolutely nothing. The pair of AND conditions duplicates the docName filter in the Constraint so also has no effect. And therefore adding OR 1=1 further has no effect. So the Constraint has to be your problem.
If you added the same constraints to Rule 2, it would also break, since your problem is with the constraints.
- Log in to post comments