When form - Completing the Conditions tab

Use the Conditions tab to enter or revise a when condition rule that can be expressed as a single Boolean expression or the conjunction (AND or OR) of one or more Boolean expressions.

Each node on the conditions tree defines a single comparison or other condition that evaluates to True or False. The when condition rule evaluates to True only if all nodes evaluate to True. While the order of nodes can affect computational performance, order does not affect the outcome of the when condition rule evaluation.

The top node is labeled When. To create the first expression, complete the following steps:

  1. Double-click the link below the When node.
  2. Enter properties, literal constants, or function calls and parameters in the fields, and select a relational operator.
    For some comparisons, the Select values link is displayed. Click it to select one or more property values against which to compare the property. The list displays the values that have been entered for the property in a case.
  3. Optional: Select the down arrow at the end of the row for a list of standard conditions (derived from function alias rules).
    If you select [expression evaluates to true], use the Expression Builder for guided assistance; click the Open expression builder icon to open it. For more information, see About Expressions.
  4. To close the dialog box and display the condition on the tree, click OK.

    To add, edit, or delete conditions, or to create groups of nested conditions, select a node and open the context menu by either by clicking Actions to the right of the node.

    Each node has the following options:

    • Edit — Update the condition.
    • Insert Condition — Add a condition below the selected node. When you close the dialog box, an AND or OR logical operator is displayed to the left of the new node. You can switch between them by clicking the operator. Changing one operator changes all operators at the same level.
    • Insert Group — Create a group of nested conditions. To help identify the group on the tree, enter a name in the Group Label field. When you close the dialog box, the condition is indented below the node above it. To display or hide the nodes within the group, ue the Expand and Collapse icons. When a node is collapsed, only the label is displayed. To edit the label, select it on the tree and choose the Edit menu option. You can nest groups at multiple levels; for example: A AND B AND (C OR (E AND F)).
    • Delete — Delete the expression node. Node groups nested beneath it are also deleted.

    The conditions and logical operators that you enter on this tab are displayed on the Advanced tab's Condition array and Logic String field.