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
![*](bullet.gif)
You must supply either the ruleID or ruleName. If you supply both,
Trading Networks uses ruleID.
![*](bullet.gif)
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.