Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 34 Working with Decision Tables in WebStudio : Working With Rows and Columns in WebStudio

Working With Rows and Columns in WebStudio
This section presents various operations you can perform as needed while working with rows and columns of a decision table in TIBCO BusinessEvents WebStudio.
Add Condition and Action Columns
The columns of a decision table are made up of condition columns on the left, and action columns on the right. Each column represents one condition or one action.
A condition is a test that must evaluate to true before the action is executed. If a decision table rule uses multiple conditions, all conditions for a row must evaluate to true in order for the action to execute.
Add condition and action columns from arguments under the VRF scope or using the rule language, standard functions, and data in the scope of the function at runtime (for example, scorecards and global variables).
To Add Condition and Action Columns from Arguments
1.
2.
A plus icon is displayed in front of the decision table for argument list expansion.
 
3.
The decision table arguments are listed under the decision table.
4.
A Create Column pop-up window appears to create condition or action column.
5.
Click on the Condition or Action radio button and click OK to create a Condition or Action column. New Condition or Action column is added at the end of the Condition or Action column-sets respectively.
To Add Custom Condition and Action Columns
1.
2.
Click Custom in the decision table editor menu and select either of the following options:
Select Add a custom Condition to insert a custom condition column at the end of condition column set.
Select Add a custom Action to insert a custom action column at the end of action column set.
Working with Columns
You can perform actions on a column to resize, sort, associate to domain model, or remove from a decision table.
Resize a column
Perform any of the following actions to resize a column in the TIBCO BusinessEvents WebStudio:
Open the column header menu using either of the following ways and click Auto Fit to resize the column to fit to the content size:
Open the column header menu using either of the above mentioned ways and click Auto Fit All Columns to resize all columns to fit their content size.
Sort the decision table
Sort the decision tables in TIBCO BusinessEvents WebStudio in one of the following ways:
Open the column header menu using either of the following ways and click Sort Ascending or Sort Descending to sort the table in ascending or descending order of the column:
 
Associate and Remove Domain Association
A domain model specifies the values that you may find useful for defining ontology item properties. For example, instead of typing text for a certain concept property, you can pick a value from a list, or enter a value within a predefined range.
To associate a domain model, right click on the column and from the menu click Associate Domain. The setting toggles to ON. To clear the domain association click Associate Domain again. The setting toggles to OFF.
Remove a Column
Right click the column header and click Remove to remove the column from the decision table.
Add a Row
Each row in a decision table represents a separate business rule. You can control the order in which sets of rows are executed using the row priority setting, see Setting Rule (Row) Priorities.
Set Row Priority in TIBCO BusinessEvents WebStudio
To set the row priority, with ten as the lowest priority and one as the highest, do the following:
1.
2.
3.
4.
In the Priority field, select the appropriate value.
5.
Setting Rule (Row) Priorities
Each row is like a separate business rule. You can control the order in which sets of rows are executed using the row priority setting. Rows with higher priorities are executed before those with lower priorities, as follows:
1.
2.
3.
To Set Row Priority
Ten is the lowest priority and one is the highest. Five is the default priority.
1.
2.
3.
Filter the Rows
Filtering rows helps you to focus on certain rows instead of entire table. Apply filters on multiple columns for more refined results. In TIBCO BusinessEvents WebStudio decision table filter makes only textual comparison between the row values and filter values.
Click Filter > Decision Table in the decision table editor menu to enable the filter for the decision table. Enter the values in filter cells (above column header) to filter the table.
To remove the filter click Filter > Remove in the decision table editor.
Remove a Row
Select the row you need to remove and click Remove in the decision table editor. Click OK in the Remove Decision Table Record window to confirm removal of the row. You can remove only one row at time.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved