Begin with Empty Composite (or Composite With Business Rule)
Drag Business Rule in thecomposite.xml, enter Name and Package and click + Input…
Define Input Message by importing types from MDS
Do not ‘Copy to Project’ !You don’t want to have copies of shared xsd’s (xsd’s used bymultiple composites and/or systems) scattered around in multipleprojects. Only xsd’s which are only used within a composite arestored within a composite project.
Drag a Mediator to the Components lane, enter Name and select Synchronous InterfaceAlways use a Mediator to expose to the outside world! It offers routing andmapping flexibility for future changes.
Select as Input same type as Business Rule Engine, so first import types
Select Ruleset1 and double click onaction A2 to edit argument settings
Check Parameterized checkbox for both arguments and press OK
Fill arguments for R2 with code “001” message “Invalid Nomination”
Deploy and assert arguments are returned in output
In decision table create two more rules and split up R2 into separate values and enter their arguments for A2If you, by accident provide arguments, for unused A2 call, you can not delete them! Runtime this doesn’t matter, but you can set them to null value for readability.