Rule Builder > Ruleset Parameters > Ruleset Parameter Scope

You can create a ruleset parameter in the Project Explorer under a top-level package. You can modify its properties in the Property Sheet and set the initial value of the in and inout parameters in the Execution tab of the Options dialog box.

A local parameter should be seen as a global variable that is scoped to the ruleset. All the ruleset elements have access to it. The other parameters are input, output, or input/output values. When you want to provide data to the engine, you should provide it as an input parameter. When the ruleset is executed, the rules should set the output parameters. After execution, the results are provided in the output data. If the input data is modified during the computation, you should set the data as input/output.

Ruleset parameters can be used with the following elements of a ruleset:

See Also

Setting Ruleset Parameter Values | Executing a Ruleset that Contains Parameters | Ruleset Parameter Properties | Modifying Ruleset Parameters


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