Rule Builder > Ruleset Parameters > Introduction to Ruleset Parameters

Ruleset parameters provide a simple way to exchange data between the client application and a ruleset. Ruleset parameters define the ruleset interface: that is, which inputs the ruleset requires for execution (in and inout parameters), and what the returned outputs will be (inout and out parameters). Local parameters are internal to a ruleset and provide a way to exchange data between the rules, functions and tasks.

Ruleset parameters can be added to any top-level package in a ruleset and can be of any type including local parameters. Ruleset parameters can be referenced by rules, decision tables, decision trees, rule tasks, and functions.

You can set a ruleset parameter value (other than the in parameter) during rule engine execution from the action part of any rule.

During the test execution of a ruleset in the Rule Builder, the current value of a parameter can be monitored using the Bindings\Parameters Debugger panel.

Figure 15.1 shows an example of ruleset parameters for a ruleflow.

images/add_parameter.gif

Figure 15.1    Ruleset Parameters Used in a Ruleflow

Customer Support | Copyright © 1987-2004 ILOG S.A. All rights reserved. Legal terms. PREVIOUS   NEXT