Configuring the ruleset path

You can use the Ruleset path property of the ODMRules node to define the set of Operational Decision Manager (ODM) business rules that are to be evaluated for message processing.

Before you begin

About this task

The set of rules to be evaluated for message processing is defined by the Ruleset path property of the ODMRules node.

Procedure

Configure the ruleset path by completing the following steps:

  1. On the Basic tab of the ODMRules node, click Configure next to the Ruleset path field.
    You can then use the interactive panels to choose a ruleset from those that are already deployed to a Rule Execution Server; you cannot edit the field manually.
    The value of the field follows the Operational Decision Manager (ODM) syntax: '/RuleApp/RuleAppVersion/ruleset/rulesetVersion'. The RuleAppVersion and RulesetVersion can reference either a specific version or the latest version. For example:
    '/SaleApp/1.1/SaleSet/2.0'
    '/SaleApp/latest/SaleSet/latest'
    '/SaleApp/2.2/SaleSet/latest'
  2. When the Rule Set wizard opens, set the following properties in the Connect to an ODM Server panel to define access to the Rule Execution Server:
    1. In the URL of the ODM Rule Execution Server field, specify the Rule Execution Server context root URL. For example: http://localhost:9080/res/.
    2. In the Username field, specify the username to be used to access the server.
    3. In the Password field, specify the password to be used to access the server.
  3. Click Next.
    A query is sent to the Rule Execution Server, and the results of the query are used to populate the fields on the Select a Ruleset for the ODMRules node panel:
    Table 1. Select a Ruleset for the ODMRules node
    Field Description
    RuleApp The RuleApp containing the ruleset to be used. The drop-down menu offers a choice of applications deployed on the server.
    RuleApp version The version number of the RuleApp. The drop-down menu contains the available versions and the string 'latest'.
    Ruleset The name of the ruleset to use from the rule application selected above. The drop-down menu offers a choice of rulesets in the application.
    Ruleset version The version number of the ruleset. The drop-down menu contains the available versions and the string 'latest'.
    Selected ruleset parameters The list of parameters of the ruleset with their respective names, types, and directions. The Direction can be IN, OUT, or INOUT, for input, output, and bi-directional parameters respectively. The Kind field is always XML for the ODMRules node.
    Create/update the xsd(s) required for the ruleset If selected, the Toolkit imports the XSD schemas describing the message formats that are used by the ruleset and makes them available in the project.
  4. Click Finish.