Decision Table Editor Reference
You can create and edit a decision table in WebStudio using the Decision Table editor.
The decision table editor displays the condition and action columns of the decision table and provide various options to edit and manage the decision table. The decision table also displays the auto-generated ID for each row (on the left-most column) and Priority of each row (on the right-most column). The default Priority value for each new row is 5 but if required, you can select a different value from the drop-down. For details about decision tables, see Decision Table Overview.
The following sample screen displays a decision table editor in WebStudio and provides brief description of its elements.
Element No. | Element | Description |
---|---|---|
1 | Table Title | Displays the decision table name |
2 | More Options | Lists more options for decision table. The options are:
|
3 | Save | Saves the changes to the decision table locally, but does not commit to RMS for approval |
4 | Commit | Commits the changes to the decision table for approval |
5 | Validate | Validates a decision table, for any access control violations or syntax errors in the table.
EAR file for the project must be present in the deploy location; otherwise, the validate command fails. All the errors are displayed on the Problems tab at the bottom of the editor. New errors in syntax are added to these existing errors. Double-click errors to see the problematic view. |
6 | Undo | Reverts last edit done to the decision table |
7 | Redo | Performs the action again that was reverted using the Undo command |
8 | Analyze | Opens table analyzer for analyzing the table. For details about table analyzer, see Analyzing a Decision Table |
9 | Effective Date/Time | Specifies the date and time on which the decision table becomes valid in the runtime application |
10 | Expiration Date/Time | Specifies the date and time after which the decision table is no longer valid in the runtime application |
11 | Priority | Sets a priority for the decision table as desired. When a VRF has multiple implementations (decision tables), the decision table’s Priority setting determines the order in which the decision tables executes |
12 | Single Row Execution | Set the toggle to ON, if you want the decision table to stop after one row (rule) passes the condition tests. Only the actions of that row are considered (until the next time the decision table’s rule function is called). |
13 | Add Column | Opens the Add Column window. The fields available in the Add Column window are:
|
14 | Add Row | Add an empty row at the end of the decision table. For your convenience, the newly added row is displayed at the bottom of the selected page of the decision table. Click
Save to save the newly added row and its content.
Once the new row is added, you can also right-click a cell in the row to perform operations like copy-pasting, duplicating, removing, or disabling the row. For specifying conditions with parameters of type Date/Time, you can right-click the cell and set the condition using the Date/Time picker. Select the operator from the Select dropdown and set the date and time. |
15 | Problems | Displays the errors and warnings after decision table validation. |
16 | Properties | Displays the properties for the decision table, cell, and the rule.
|
17 | TestData | Test data is used for validating decision table. Using test data you can verify if the decision table covers all the data that might be passed through the decision table. The test data is not managed in the decision table. The test data must be in the project in your repository. |
18 | Errors and Warning Icon | The icon displays the number of errors and warnings. Click on the icon to open the Problems tab |
19 | Properties Icon | Opens the Properties tab |
20 | Lock Indicator | Indicates whether the artifact (decision table) is locked or unlocked |