Show TOC

Procedure documentationCreating a Decision Table 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 Decision Table 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 decision table expression appears in the Object Manager panel.

    Note Note

    If you choose Create, the decision table expression appears under the Contained Objects tab.

    End of the note.
  7. Assign the result data object. You can assign a standard data object, an existing data object or a new data object.

    • Select a Standard Type

      1. Choose Graphical Access (Graphical Access).

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

    • 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.

    • Create a New Data Object

      1. Choose Graphical Access (Graphical Access).

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

        The result column for the decision table is added automatically when the Column is result is selected.

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

        For more information, see Creating Data Objects

      Note Note

      If you are creating a decision table expression as the top expression in a function, the assigned result data object of the table should either be of the same type as assigned to the function or should be exactly the same object as used in the function.

      End of the note.
  8. Add columns to the decision table. Choose Append Column or Insert Column depending on where you want to add the column.

    You can add a function context, data object, expression or action as column.

    Note Note

    To add a column at the end of the table, choose Append Column.

    To insert a column at a current selection, choose Insert Column.

    End of the note.
    • Add a Function Context

      1. Choose Start of the navigation path Append Column Next navigation step From Context Data Objects... End of the navigation path.

      2. In the Context Query dialog box that appears, select the context and choose Select.

    • Add Any Other Context

      1. Choose Start of the navigation path Append Column Next navigation step From Other Data Objects... End of the navigation path.

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

    • Add an Existing Expression

      1. Choose Start of the navigation path Append Column Next navigation step Select Expression... End of the navigation path.

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

    • Add a New Expression

      1. Choose Start of the navigation path Append Column Next navigation step Create Expression... End of the navigation path

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

        For more information, see Creating Expressions

    • Add an Action

      • Choose Start of the navigation path Append Column Next navigation step Create Actions Column... End of the navigation path.

        The action column appears in the decision table.

  9. Define the decision table by adding rows. To add rows, choose Append Line under the Table Data section.

  10. Add values to the decision table. You can directly add values or define an expression as the value.

    Note Note

    You can also import data from an excel file.

    For more information, see Exchanging Decision Table Data With Microsoft Excel

    End of the note.
    • Add Value

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

      2. Enter the relevant values and choose Done.

    • Add an Existing Expression as Value

      1. Choose Graphical Access (Graphical Access).

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

      3. In the Object Query dialog box, select the expression.

    • Add a New Expression as Value

      1. Choose Graphical Access (Graphical Access).

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

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

        For more information, see Creating Expressions

  11. Choose the Activate button.

  12. Save the decision table.