Demonstration: Adding A Rule to the Rule Set
We will now begin to configure a routing rule for the new router's Rule Set. Our rules will forward only messages matching the following criteria to the TutorialFileOperation:
The message's document type is 2.3:ORM_O01.
The MSH:ReceivingApplication field (MSH:5) contains "PHARMACY"
Follow these steps to start configuring the routing rule set:
Click TutorialMsgRouter on the production diagram and then click the magnifying glass next to the Business Rule Name under Basic Settings.
The Rule Set already contains a rule. Add the following constraint to the rule. Note that double clicking the constraint box on the diagram launches the Rule Constraint Editor.
Schema Catetory: 2.3
Document Name: ORM_O01
The updated rule looks like the following:
Refer to Creating a Business Operation if you have not completed the earlier tutorial.