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:
- 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: |
- Right-click a condition column next to the place you want to insert the new condition column.
- Click
Insert Condition Column Before or
Insert Condition Column After.A new condition column is added to the
decision table.
|
- Right-click an action column next to the place you want to insert the new action column.
- Click
Insert Action Column Before or
Insert Action Column After.A new action column is added to the decision
table.
|
- Right-click the column you want to remove.
- Click Remove Condition Column or Remove Action
Column.
The column and any dependent cells are removed from the decision
table.
If you want to remove an action column that is visible, but all other action columns
are hidden, you must first make at least one other action column visible: right-click the header of
the column that you want to make visible, click Edit action column and check
the Visible check box.
|
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.
- Save your changes.
Attention: You can remove or add sub columns by changing the definition of the column.
When you do, there is no automatic refactoring of the data contained in the sub columns. To avoid
losing data, you can copy the content of the sub columns in an excel sheet, add a column with the
new definition in Rule Designer, and paste the data in
the new sub columns.