Show TOC

Procedure documentationCreating a Boolean Expression

Procedure

  1. Open the application in the Object Manager panel.

  2. Under the Detail section, choose the Contained Objects tab.

    The Contained Objects page appears.

  3. Choose Expression from the Type field and choose Create Object.

  4. In the Object Creation dialog box that appears, choose Boolean in the Type field.

  5. Enter the following data:

    • Name

    • (Optional) Short Text

    • (Optional) Text

  6. Choose Create and navigate to object.

    The newly created boolean expression appears in the Object Manager panel.

    Note Note

    If you choose Create the boolean expression appears under the Contained Objects tab.

    End of the note.
  7. Under the Detail section, choose Template and select the template type.

    The following template types are available:

    • Any operand is true

    • All operands are true

    • <1> and <2>

    • <1> or <2> or <3>

    • (<1> and <2>) or <3>

    • (<1> or <2>) and <3>

    • <1> and <2> and <3>

    • Choose your own template

    The template type which is selected appears next to the Template.

  8. Depending on the template selected, add condition to the boolean expression.

    You can create a value range expression using the selected data object or expression as the test parameter.

    • Use Value from Standard Type as Condition

      1. Choose Graphical Access (Graphical Access) next to if.

      2. In the context menu, choose Start of the navigation path Use Direct Value Range From Next navigation step Default Objects End of the navigation path and choose the standard type.

    • Use Value from an Existing Context Data Object as Condition

      1. Choose Graphical Access (Graphical Access) next to if.

      2. In the context menu, choose Start of the navigation path Use Direct Value Range From Next navigation step Other Context Parameter... End of the navigation path.

      3. In the Context Query dialog box that appears, select the data object.

    • Use Value from an Existing Expression as Condition

      1. Choose Graphical Access (Graphical Access) next to if.

      2. In the context menu, choose Start of the navigation path Use Direct Value Range From Next navigation step Expressions... End of the navigation path.

      3. In the Object Query dialog box that appears, enter the name of the expression and choose Search.

        The expression appears below the Search button.

      4. Select the expression.

      You can also directly select an expression or a data object as a condition. The selected expression should have result of type Boolean and the selected data object should be of type Boolean.

    • Use Operand from an Existing Expression as Condition

      1. Choose Graphical Access (Graphical Access) next to if.

      2. In the context menu, choose Start of the navigation path Select Operand... Next navigation step Select Expressions... Next navigation step Select... End of the navigation path.

      3. In the Object Query dialog box that appears, enter the name of the expression and choose Search.

        The expression appears below the Search button.

      4. Select the expression.

    • Use Operand from an Existing Context Data Object as Condition

      1. Choose Graphical Access (Graphical Access) next to if.

      2. In the context menu, choose Start of the navigation path Select Operand... Next navigation step Select Data Object... Next navigation step Other Context Parameter... End of the navigation path.

      3. In the Context Query dialog box that appears, select the data object.

    • Use a New Expression as Condition

      1. Choose Graphical Access (Graphical Access) next to if.

      2. In the context menu, choose Create Expression...

      3. In the Object Creation dialog box that appears, create the expression.

        For more information, see Creating Expressions

  9. Choose the Activate button.

  10. Save the expression.