Previewing decision tables
You can display and sort information about a decision table in the preview
window.
About this task
You can preview a decision table and sort its contents in the Business console. You can also display information about selected items.
Procedure
The following steps take you through preview features.
-
Click your decision table in Decision Artifacts.
A preview of the table opens. To open a different artifact, click the file in the column of decision artifacts. You can also filter the artifacts by using the All Projects and All Types buttons.
- Select your decision table in Decision Artifacts, and click Open Decision Table View.
-
To display information about an item in a decision table, such as a column, row, or error
tag:
- Point at the item in the decision table. A preview window opens.
- Check the preview window for information about the selected item. In the image above, the pointer is at the beginning of a row, and the preview window shows the rule that is formed by the cells in the row.
-
To view the preconditions:
-
Click Preconditions to display the preconditions.
The preview shows the rule statement for the preconditions.
- Click Preconditions again to hide the preconditions.
-
Click Preconditions to display the preconditions.
-
To sort or filter the contents of a column in a decision table:
- Click the arrow next to the condition column header in your decision table. A window opens with sorting and filtering options.
-
You can select the sorting of values in ascending, or descending order.
The behavior of the sorting depends on the row ordering mode. When you preview a table for which no row ordering mode is explicitly set, the default view is in Manual mode, and sorting restrictions apply. For example, you cannot sort an action column. If you edit the table in Automatic mode and save it, then you can view it in Automatic mode.
- To filter values in a column, apply your filter in the section Filter. You can filter by value from an enumeration, by text, or use comparison operators and intervals for columns with numbers and dates. Filtering is semantic, which means that it takes into account all cells whose expressions include the value of your filtering. For example, if you filter with a value of > 100, results would include a cell that displays an interval from 0 to 200.
- You can clear the filter for each column in the Sort and Filter window, or press Backspace to return to the original layout of the table.