Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Trading Networks Built-In Services Reference | Route Folder | Summary of Elements in this Folder | wm.tn.route:getRule
 
wm.tn.route:getRule
Retrieves a single processing rule.
Input Parameters
ruleID
String (optional) The internal unique identifier of the processing rule that you want to retrieve.
ruleName
String (optional) The name of the processing rule that you want to retrieve.
Output Parameters
rule
Object The processing rule that you want to retrieve. The processing rule must be an instance of com.wm.app.tn.route.RoutingRule..
Usage Notes
*You must supply either the ruleID or ruleName. If you supply both, Trading Networks uses ruleID.
*If you are invoking this service from a Java program, in addition to returning rule as an Integration Server document (IData object), the service returns rule as an instance of com.wm.app.tn.route.RoutingRule.