Adding and removing columns

You can insert additional condition and action columns into a decision table, and remove any columns you do not want.

About this task

You can insert additional condition and action columns into a decision table, and remove any columns you do not want.

Procedure

To add or remove columns:

  1. Use the decision table editor to add or remove the required columns, as summarized in the following table:
    To add a condition column: To add an action column: To remove a column:
    1. Right-click a condition column next to the place you want to insert the new condition column.
    2. Click Insert Condition Column Before button Insert Condition Column Before or Insert Condition Column After button Insert Condition Column After.

      A new condition column appears in the decision table.

    1. Right-click an action column next to the place you want to insert the new action column.

    2. Click Insert Action Column Before button Insert Action Column Before or Insert Action Column After button Insert Action Column After.

      A new action column appears in the decision table.

    1. Right-click the column you want to remove.
    2. Click Remove Condition Column or Remove Action Column.

      The column and any dependent cells are removed from the decision table.

    Note: If you insert a column at the first position in the table, you create a new Root partition whose children are all non-empty conditions of the existing first column.
  2. Save your changes.