Truth Table Actions
  • 14 Aug 2024
  • 2 Minutes to read
  • Dark
    Light

Truth Table Actions

  • Dark
    Light

Article summary

For Truth Tables, External Rules, and Rule Tables, actions can be applied to cells, columns, and rows. These actions provide ways to manipulate and organize a Truth Table to suit business needs.


Cell Actions

Actions for a cell in a Truth Table are available using context actions. 

Action NameDescription
IgnoreIgnores the value. Clears the cell of any values that have been inputted into the cell.
Merge AboveMerges the selected cell with the cell in the same column from the row above it.
Merge BelowMerges the selected cell with the cell in the same column from the below it.
Unmerge Top CellUnmerges the cell from the top row.
Unmerge All CellUnmerges all cells into individual rows.
Unmerge Bottom CellUnmerges the cell from the bottom row.
Override Default VerbAllows specific cells to override the header verb for this column.
Set OtherwiseAllows a specific row to be set as the default for case/switch expression.

Row Actions

Selecting the edit icon at the end of each row brings up the row actions. 

ActionDescription
DeleteDeletes the selected row.
Move DownMoves the selected row down one position.
Move UpMoves the selected row up one position.
Add Row BeforeAdds a new row before the currently selected row.
Add Row AfterAdds a new row after the currently selected row.
Edit ColumnsProvides a singular place for the user to update the inputs for each column in the selected row.

Column Actions

When hovering over a column, select the edit icon to edit the selected column. Selecting the X icon will delete the currently selected column.

ActionsDescription
Add Column AfterAdds a column after the selected column.
Add Column BeforeAdds a column before the selected column.
Move to RightMoves the selected column one position to the right.
Move to LeftMoves the selected column one position to the left.



Enabling Header Actions

  1. On the Properties panel under the OUTPUT category, set the Allow Actions to true. A new column named Actions then appears after the Output column. 
  2. Click the plus sign on the right of the Output columns to access the Header Actions.
    ActionFunction
    New Output DataAdds another Outdata to the table
    Add to ListAdds the input to the column to the available list. Available only if a List has been used as an input
    Change ValueModifies the value for the chosen input
    Modify Text - AppendAdds text after the input
    Modify Text - PrependAdds text before the input


Multiple Actions may be applied to a row by clicking either the Add text underneath the first Header Action or by selecting the pencil icon to the right of the Header Action.


Change Value Header Action

  1. View the Truth Table's Properties. Under Output, set Allow Actions to True. A new Actions column appears.
  2. For the new Actions column, select the grey + icon to open the Header Action menu. Select Change Value and a new column for it appears.
  3. Select [pick data] and a dialog box of the listed inputs appear. Select the input for the column, in this case, "Cost". The header will be updated, and the input data can be modified for each row.



For further information on Rules, visit the Decisions Forum.

Was this article helpful?