Decision Tables Validation
TIBCO BusinessEvents Decision Manager validates the decision tables on startup, and every time you save a table. It also provides various tools that you can use to manually check the validity of your decision tables.
On startup, all existing tables are validated for syntax. However, only the delta is validated later.
If there are any access control violations or syntax errors in the tables, they are shown in the Problems View tab at the bottom of the application. New errors in syntax are added to these existing errors. Double-click errors to see the problematic view. Take any needed corrective actions and then validate the table again until all errors are resolved.
NullPointerExceptions are silently ignored. They occur when a null String is passed to a function that does not check for null, or because you accessed a property of a null contained concept (parent.child.property where child is null).
If a condition table cell is empty, contains an asterisk, or is disabled, it is skipped and treated as if it evaluates to true.
You can also validate decision tables at the command line. See Validating a Decision Table at the Command Line
Table Analyzer
Table Analyzer will create a sparse matrix data structure representing an optimized form of the decision table in memory. In the Table Analyzer view you can set example condition values and perform various validation checks on the currently displayed decision table.
- Table Analyzer works with decision table view only (and not graph or tree view).
- Table analyzer supports the Not Equal To (!=) operator.
When you open a table, the Table Analyzer view dynamically creates controls for setting values and ranges for each condition in the table.
If the condition is a range, for instance “< 40” or “> 10 && < 100”, then the corresponding control in the Table Analyzer view is a Slider that spans the range from the minimum value to the maximum value. You can then select a range of values within the range. The UP arrow shows the maximum value and the DOWN arrow shows the minimum value in the range.
- The Analyze Table Tool
The Analyze Table tool does not use the information in the Table Analyzer view. It analyzes the decision table based on the basic criterias - The Show Coverage Tool
When you click the Show Coverage button, Decision Manager highlights all rows in the table that meet all the criteria you specify in the Table Analyzer view. - The Generate Test Data Tool
When you click the Generate Test Data button, Decision Manager uses the criteria specified in the Table Analyzer view to generate one or more lines of test data for the relevant entities to test all possible combinations. - Auto-Fixing Issues
Table analyzer fixes certain Decision Table’s issues automatically. - Setting Table Analyzer Preferences
You can set preferences for table range conditions and to determine if table analyzer appears by default when you display a decision table. - Validating a Decision Table Using Test Data
Using test data you can verify if the decision table covers all the data that might be passed through the decision table. This enables you to add more rules to the decision table, if the decision table is not able to cover the test data. - Validating a Decision Table at the Command Line
You can validate a decision table using the command line. .