Decision Table Editor Reference

You can create and edit a decision table in WebStudio using the Decision Table editor.

The following sample screen displays a decision table editor in WebStudio and provides brief description of its elements.
Decision Table Editor Reference
Element No. Element Description
1 Table Title Displays the decision table name
2 More Options Lists more options for decision table. The options are:
Delete
Deletes the artifact. Click Confirm on the confirmation screen to delete the artifact. After deletion commit the changes to the project using the tree view
Commit
Commits the changes to the artifact for approval. In the Commit Changes window, enter a comment for the changes in Message text box. Click the artifact name to review the changes for commit. Click Confirm to commit the changes to RMS repository.
Synchronize
Synchronizes the update from the server to your local copy of the artifact. For more details on the fields present on the Synchronize Artifact window, see Synchronize Artifact Details Window Reference.
Revert
Reverts the update (if not committed) done to an artifact. In the Revert window, click the artifact name to review the changes to revert. Click Confirm to revert the changes.
Lock
Locks the artifact for the user and other user cannot commit any changes to the table until it is unlocked. This option works only if the ws.scs.locking.enable property is set to true in RMS.cdd.
Rename
Provide a new name to the artifact. After changing the file name, commit the changes so the artifact is treated as a new artifact.
History
View list of the revisions of the artifact that were committed. For each revision, you can click View Content to view the revision that was committed or you can click View Commit to view the revision details.
Audit Trail
Displays the list of actions performed on the artifact by users. You can refine the results using the filters available in the Audit Trail window. For more information on the fields, see Management Page Reference.
Export
Exports the artifact to your system. Decision table is exported as a Microsoft Excel (.xls) file.
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 on 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:
Custom Type
Toggle the switch to ON to add a custom column or toggle the switch to OFF to add a regular column.
Select Columns
Select the properties to be added as regular column to the decision table. You can select multiple fields and they each of those fields is added as separate column. This field is available only when Custom Type is OFF.
Column Name
Enter the custom condition or action. The custom condition or action can use the rule language, standard functions, and data in the scope of the function at run time (for example, scorecards and global variables). It can also contain complex formulas.
Column Type
Select Condition or Action to add the selected column as condition or action column.
Property Type
(Read only) Specifies property type of the custom condition or action.
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.
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.