Creating an If or a While Statement

To create an If or a While statement:

  1. On Event Rules Design, select an event in the Event Rules Design window and click the If/While button.

    Each cell in the Criteria Design grid represents a component of the criteria. When you select a cell, a list of valid options appears.

  2. Select either the If or While operators.

  3. Select a left operand from the list of available data items.

    Right-click to sort the available data items by name or object type. If only one type exists, the sort options are unavailable. The system groups the available data items by a variety of object types.

  4. Select a logical operator comparison (is equal to, is less than, and so forth).

  5. Select a right operand from the object list.

  6. To assign a literal, select <Literal>.

  7. To create complex If statements, you can select the And option or the Or option, and continue the logic.

Note: To expand or collapse all statement blocks within Event Rules Design, select Expand/Collapse All Statements in the View menu.