◷ Reading Time: 5 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, similar to the following:
On Decision Table logic, as you can see there is an extra switch (above picture) 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.
If you click on any column on the table you will have a caret allowing you to value for a specific condition in a rule:
If you hover on the (i) icon on any selected cell (condition) your mouse pointer will become like a question similar to bellow picture:
and when you click on the (i) icon, a popup will appear that shows you more details information about the condition based on
- Business Glossary
If you select one of the provided options the condition (cell information) will be replaced with the selected option.
Managing Decision Table
In your Decision Table area, there is a drop-down button:
If you click on this, you will see the following options:
- New Row
- New Condition
- New Action
- New Notice
Add New Rule
From the menu, select New Row, and a new row will be added to the end (last row) of the table and the current focus will be moved to the first cell of the row.
Add New Condition
From the menu select New Condition and the new window will appear.
Enter a column name and press “OK”
And you will see a new column will be added to your Decision Table.
To change the order of column or row, you just need to select it and then drag and drop it in a new position.
Click on any your that you want to change its order, and start dragging the row up and down:
When the row is where you want to put it, just release your mouse button.
If you go over the gray line on top of each column, your mouse cursor will be changed to the moving pointer. At this point, you can click and start dragging the column to left or right until you reach the position that you want to put the column in
and now release your mouse button and your column will be arranged accordingly.
When you select Properties from the menu, the following screen will appear that allows you to configure different parts of your decision table. It has 3 sections:
To save your changes in Decision Table, switch back to XML mode and press Save Contents.