Decision Table Editor

◷ Reading Time: 6 minutes

When you select a Decision Table logic and you switch to the logic content on the right tab page on the screen and you will see your logic loaded in an XML editor by default.

XML editor view of logic file

On a Decision Table logic file you can see there is an extra toggle which by default is on “XML”. If you click on it, it will become “Visual” and the visual designer for your Decision Table will be loaded.

Edit logic file in native view.

Rule Entry

Direct

Then click on any column on the table you will have a caret allowing you to see the value for a specific condition in a rule:

Decision table in Package browser Visual mode

Hints

Now hover on the (i) icon on any selected cell (condition) your mouse pointer will become like a question mark:

Package browser Visual mode showing the information icon in hover state

When you click on the (i) icon, a popup will appear that shows you more details information about the condition based on:

  1. Column
  2. Business Glossary
Package browser Visual mode showing the information icon in selection state

Selecting one of the provided options will replace the condition (cell information) with that option.

Managing Decision Table

In your Decision Table Editor view there is a drop-down button:

Package browser Visual mode showing the dropdown menu

Click the drop down, to see the following options:

  1. New Row
  2. New Condition
  3. New Action
  4. New Notice
  5. Properties

Add Rule

Select New Row, and a new row will be added to the end (last row) of the table. Focus will be moved to the first cell of the new row.

Package browser Visual mode showing new row added

Add Condition

Now select New Condition and the Condition Properties window will appear.

New condition modal

Enter a column name and press “OK”.

Package browser Visual mode showing a new column added

A new column will be added to your Decision Table.

Orders

To change the order of columns or rows, select and drag-drop them into a new position.

Row

Click on any row that you want to reorder and start dragging the row up and down:

Package browser Visual mode showing the row drag drop

When the row is where you want it, just release your mouse button.

Columns

Hovering over the gray line on top of each column changes the mouse cursor to a move pointer. Click and drag the column to left or right until you reach the position that you want.

Package browser Visual mode showing column moving functionality

Now release your mouse button and your column will be arranged accordingly.

Properties

When you select Properties from the menu, a popup will appear that allows you to configure different parts of your decision table. It has 3 sections, General Information, Parameters and Columns.

General Information

properties menu showing the general information tab
General Information: Updating name and some other properties

Parameters

properties menu showing the Parameters tab
Parameters: Adding and removing input and output parameters

Local parameters are not supported in Visual Editor. If you have any local parameters, you need to re-add them after switching back to XML Editor.

Columns

properties menu showing the Columns tab
Columns: Deleting and Modifying existing columns

Saving Changes

To save your changes in Decision Table, switch back to XML mode and press Save Contents.

Updated on October 2, 2023

Was this article helpful?

Related Articles