Working with Decision Tables

The values in a Decision Tables can be modified within the Business Rules Manager.

Before you begin

In the Business Rule Editor, a Decision Table is a business rule record in table format as shown in this figure.

This figure shows an example of a Decision Table with the conditions Purchase
Amount on the top row and Member Type on the left column. The action Discount
on the middle and right columns.

The Business Rules Editor provides a Web interface which shows Decision Tables in tabular form with each variable in bold characters. The orientation of conditions and actions are shown by arrows like the ones shown in the figure above. A Decision Table functions as a condition-action. If a condition is met, then the corresponding action(s) are executed.

Parent topic: Business Rules

Parent topic: Business Rules

Parent topic: Business Rules

Modifying values of a Decision Table

Why and when to perform this task

You can edit a Decision Table by directly typing in the values into the input fields or selecting a value form the field's list box. There is also a special Edit menu which appears by clicking on the Page icon.This figure show the page icon located
to the left of the condition.
Table 1. Edit options
Menu   Condition Action
Add below Adds a new condition value below the cell (orientation is vertical) Yes  
Add to the right Adds a new condition value on the right of the cell (orientation is horizontal) Yes  
Change template Changes the template of a cell Yes Yes
Move up Moves the condition value up one row (orientation is vertical) Yes  
Move down Moves the condition value down orientation is horizontal) Yes  
Move left Moves the condition value to the left (orientation is horizontal) Yes  
Move right Moves the condition value to the right (orientation is vertical) Yes  
Delete Deletes the condition value Yes  
Close menu Close the menu Yes yes
To modify the values of an Decision Table follow these steps.

Steps for this task

  1. From either the Navigation or Content sections, select theTable to be modified.
  2. Click the Edit button.
  3. Modify the appropriate values.

    You can modify the values by either directly typing in the by either directly typing in the values, using the field's list box or clicking the page icon beside the field. , using the field's list box or clicking the page icon beside the field.

  4. Click the Save button.

Result

The rule is modified locally and is ready to be published to the server.

What to do next

Related tasks
Working with Rulesets
Publishing business rules