ILOG Rules for .NET User Guides > Rule Studio > Writing Rules > Working with Decision Tables > Defining Preconditions

You can define preconditions for a decision table. Preconditions can contain:

To define a precondition
  1. Open the decision table in the Decision Table Editor.
  2. Open the Properties window for the decision table and click the top-left cell of the decision table.
  3. In the Properties window, click the Preconditions property, and click the browse button.
  4. Rule Studio displays the Edit Table Preconditions window.
  5. In the Edit Table Preconditions window, define variables and conditions, and click OK.
  6. You define variables and conditions in the Edit Preconditions window in the same way as you would create variables and conditions for a business rule in the Intellirule Editor.
    The variables you defined are now available for creating condition definitions in the decision table, and the rows of the decision table cannot be evaluated before the conditions defined in the precondition are satisfied.
To view the preconditions for a decision table
  1. In the Decision Table Editor, right-click anywhere in the table and in the shortcut menu, click Show Preconditions.

See Also

Preconditions