Show TOC

Adding an Other ConditionLocate this document in the navigation structure

Use

You can have a column called Other Condition in the decision table where you can specify a full blown condition (including nested AND and OR conditions).

Procedure
  1. Locate the ruleset, expand the ruleset node, the Rules folder and double-click a decision table node.

    For more information, see Locating the Ruleset

    or

    Locate the flow ruleset , expand the flow ruleset node, the Decision Tables folder and double-click a decision table node.

    For more information, see Locating the Flow Ruleset

    Note

    You can also expand the Decision Tables folder in the Outline view and choose a decision table node.

  2. In the decision table editor, choose the Condition button.

  3. In the menu that appears, choose Add Other Condition .

  4. Save the changes.

    Note
    • You can also add an other condition when you create a decision table as follows:

      • On the Select the Conditions screen of the Decision Table Wizard select the Table has Other Condition checkbox.

  5. To add a condition, double-click a cell under the Other Condition header in the Decision Table.

  6. In the editor that appears, choose Add a new condition.

    The default condition: System.currentTimeMillis() Greater Than 1208497381741 appears.

  7. To edit the default condition:

    • Choose the LHS value: System.currentTimeMillis() and in the drop down menu choose a definition or alias.

    • Choose the comparator: Greater than and choose a comparator in the drop down menu.

      More Information: List of Return Types and Comparator Choices for Conditions

    • Choose the RHS value after the comparator and in the drop down menu choose a definition or alias.

  8. Press Alt + Enter and save the changes.

Renaming an Other Condition
  1. In the Decision Table editor, choose the Condition button and choose Rename Other Condition .

  2. In he dialog box that appears, enter an alternative name and choose OK .

Note

To add nested conditions, repeat the steps and add more conditions. The conditions appear within parentheses and are combined by the logical operator: and . You can change the logical operator by clicking it.