Add and Modify Conditions

Conditions define the premises of a Decision Table rule. A Condition is composed of a Condition Name and a number of test cells. Test cells display ranges or values specified in the Condition row. Conditions can be defined either by specifying (the implementation of) a condition or by specifying a Domain Condition.

To add a condition

  1. Do one of the following:
  2. Select Specify Condition or Domain Condition from the pop-up menu.

    The condition properties pane appears to the right of the Conditions/Actions page.

    1. For Specify Condition: enter a name of your own choosing to describe the condition in the Name field.

      If no name is entered, the default condition name, newConditionRow, will be used.

    2. For Domain Condition: select a condition domain interface member from the Name field drop-down list.
  3. In the Test Values field, enter test values for comparing with values obtained from the knowledge base by the condition's implementation.

    If no operator is specified, equal (=) is implied.

  4. Choose Test unknown value if you wish to include Unknown as one of the values the inference engine explicitly tests for.
  5. Choose Test for Other Values if the rule should check for condition values other than those listed in the Test Values.

    If this checkbox is turned on, an ELSE cell is displayed in the table to indicate the decision path to take when values other than those explicitly listed are encountered.

  6. For Specify Condition only: enter the source from which Aion will obtain the value to be tested by this condition in the Implementation field.

    Values can be any of the following:

To modify Condition properties

  1. In the Decision Table Editor Table page, right-click a Condition Name cell.
  2. Select the Edit <name> pop-up to display condition properties in the Conditions/Actions page.

To view the effect of changes, click the Table tab. Changes are automatically applied if Auto Refresh is checked in the Table page pop-up menu. Or you can select Refresh from the Table page pop-up menu to apply changes.

Note: You can tell Aion to use Auto Refresh to refresh the table each time a condition or action is modified or added by checking Automatically Refresh in the Decision Table Options dialog (select Tools, Options, Decision Table).

This diagram describes how to modify Condition properties in a Decision Table Editor.

What do these choices represent?

By using Domain Interface Members to support dynamic rules, Aion has introduced a new way to construct decision tables: with Domain Interface members. The Specify Condition style represents the 8.1/8.1.1 style of defining conditions and constructing decision tables, while Domain Condition permits static decision tables to be defined with Domain Interface members. The use of Domain Condition is encouraged.

Note: A decision table may consist of both specified implementations and Domain Interface members.

Rules for entering test value specifications are:


Copyright © 2009 CA. All rights reserved. Send E-mail to CA about this topic