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


Chapter 34 Working with Decision Tables in WebStudio : Working With Decision Tables

Working With Decision Tables
This section presents process to perform various decision table operations in TIBCO BusinessEvents WebStudio.
Create/Remove a Decision Table
A decision table can only be created using a virtual rule function (VRF). For instructions on adding a VRF, see Chapter 16, Rules and Rule Functions.
You can delete a newly added table as well as any existing table. If the table you want to delete has been checked into the RMS project, then you must submit the deletion for approval. After approval, the deleted table is removed from the RMS project.
To Add a Decision Table to a Project
1.
Select Projects group.
2.
In the Group Contents section, right click the virtual rule function (VRF) you want to use and click New Decision Table.
3.
New empty decision table is displayed in the work area.
To Remove a Decision Table
1.
In Group Contents, right-click the decision table name and select Delete.
In Group Contents, select the decision table name. Then click the delete icon in the Edit toolbar.
2.
Edit a Decision Table
Open a decision table
In the Group Contents section, double click the decision table you want to open. You can now edit, analyze, and export the open decision table.
Add Rows and Columns
See Working With Rows and Columns in WebStudio for more details on adding rows and columns to a decision table in TIBCO BusinessEvents WebStudio.
Set Decision Table Properties
Follow below steps to set properties of a new decision table:
1.
2.
In the Effective Date field, you can optionally define the date and time on which the decision table becomes valid in the runtime application. Click the calendar icon and use the Calendar dialog to set the date and then edit the time as needed.
3.
Similarly in the Expiry Date field, you can optionally define the date and time after which the decision table is no longer valid in the runtime application.
4.
Check the Take Actions of One Row at Most check box if you want the decision table to stop after one row (rule) passes the condition tests. Only the actions of that one row are taken (until the next time the decision table’s rule function is called).
5.
In the Priority field, set a priority 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.
6.
The decision table is still open for you to edit and changes are not applied to RMS unless you commit the changes to RMS.
Export a Decision Table
You can export decision tables fromTIBCO BusinessEvents WebStudio to Microsoft Excel spreadsheets. Sample exported Microsoft Excel Sheet:
To Export the Decision Table
1.
2.
Click the export icon in the Tools toolbar. You see the Save As dialog for the exported file.
3.
4.
Click Save.
Import a Decision Table
You can import correctly formatted Microsoft Excel file to create a decision table in TIBCO BusinessEvents WebStudio.
To Import the Decision Table
1.
Open the Import dialog in either of the following ways:
2.
Click Choose File in the Import dialog.
3.
4.

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