Defining preconditions

You define preconditions to create variable definitions that are available throughout the decision table and conditions that must be satisfied before the decision table is executed.

About this task

You can define preconditions for a decision table. Preconditions can contain the following definitions:
  • Variables that are available throughout the decision table
  • Conditions that must be satisfied before the decision table is executed

Procedure

To define a precondition:

  1. In the decision table editor, click Edit preconditions.
  2. In the preconditions editor, press Ctrl+Spacebar.
    The completion menu opens. You define variables and conditions in the Preconditions section in the same way that you would create variables and conditions for a business rule in the Rule editor. See Using the rule editor for details.
  3. Click Define.

Results

The variables that you defined are now available for creating condition definitions in the decision table, which means that the rows of the decision table cannot be evaluated before the conditions that are defined in the precondition are satisfied.