Show TOC

Procedure documentationCreating a Search Tree Expression

Procedure

  1. Open the application in the Object Manager panel.

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

    The Contained Objects tab page appears.

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

  4. In the Object Creation dialog box that appears, choose Search Tree from the Type field.

  5. Enter the following data:

    • Name

    • (Optional) Short Text

    • (Optional) Text

  6. Choose Create and navigate to object.

    The search tree opens in the Object Manager panel.

    Note Note

    If you choose Create, the created rule object appears under the Contained Objects tab.

    End of the note.
  7. Choose the return type. you can select return value or perform action.

    • Select Return Value

      1. Choose Return Value in the Result Type field.

      2. Assign the result data object.

        You can assign a standard type, an existing data object or create a new data object as the result data object.

        • Select a Standard Type

          1. Choose Graphical Access (Graphical Access).

          2. In the context menu, choose Default Objects and choose the standard data object.

        • Select an Existing Data Object

          1. Choose Graphical Access (Graphical Access).

          2. In the context menu, choose Select....

          3. In the Object Query dialog box that appears, select the data object and choose Select .

          Note Note

          To return multiple matched results, select Return all matches found checkbox.

          The assigned result data object should be a table data object.

          End of the note.
        • Create a New Result Data Object

          1. Choose Graphical Access (Graphical Access).

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

          3. In the Object Creation dialog box that appears, create a data object.

            For more information, see Creating Data Objects.

    • Select Perform Action

      • Choose Perform Action in the Result Type field.

        An action is added as the result data object.

  8. Assign a condition to the root node.

    Under the condition column, you can select the direct input option, an existing expression or create a new expression.

    • Select Direct Input

      1. In the context menu of the root node, choose Start of the navigation path Set Condition... Next navigation step Direct Input End of the navigation path.

      2. Choose Graphical Access (Graphical Access) to define the incoming parameter.

        You can choose a standard type, an existing data object or an expression.

        • Select a Standard Type

          • In the context menu, choose Default Objects and select the standard type.

        • Select an Existing Data Object

          1. In the context menu, choose Other Context Parameter....

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

        • Select an Existing Expression

          1. In the context menu, choose Expressions.

          2. In the Object Query dialog box that appears, select the expression.

      3. Choose the comparison operator and enter the values.

      4. Choose Done.

    • Select an Existing Expression

      1. In the context menu of the root node, choose Start of the navigation path Set Condition... Next navigation step Select... End of the navigation path.

      2. In the Object Query dialog box that appears, select the expression.

    • Create a New Expression

      1. In the context menu of the root node, choose Start of the navigation path Set Condition... Next navigation step Create... End of the navigation path.

      2. In the Object Creation dialog box that appears, create a new expression.

        For more information, see Creating Expressions

  9. Assign a result to the root node.

    Under the result column, you can select an existing expression or create a new expression.

    • Select an Existing Expression

      1. In the context menu of the root node, choose Start of the navigation path Set Result Next navigation step Select... End of the navigation path.

      2. In the Object Query dialog box that appears, select an expression.

    • Create a New Expression

      1. In the context menu of the root node, choose Start of the navigation path Set Result Next navigation step Create... End of the navigation path.

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

        For more information, see Creating Expressions

  10. Create a child node.

    • In the context menu of the root node, choose Start of the navigation path Node Operations Next navigation step Create Child node End of the navigation path.

    Note Note

    You have to create all required child nodes before you assign a condition and result to the first created child node.

    End of the note.
  11. Assign conditions and results to the child node.

  12. Activate the expression.

  13. Save the expression.