Decision Table form - Completing the Results tab

Complete the fields on this tab to restrict the possible values returned by this decision table. Additional options allow you to control the actions that other users can take on the Table tab.

It is recommended that you update this tab before you define the rows and columns on the Table tab. Any expression or property reference you provide on this tab is evaluated by the system when the decision table is run.

Redirecting a decision table

Redirect a decision table to leverage the functionality of a circumstance-qualified rule and reduce the need to maintain separate rules that produce the same results.

The following fields appear when a decision table has circumstance-qualified versions defined:

  • Redirect this rule — Select this check box to instruct the system to redirect processing to a circumstanced-qualified version of this decision table when it is run.

  • Circumstance Value — Select a property value from the drop-down list that identifies the target of the redirection.

Consider this guidance when using redirection:

  • After you redirect a decision table, the system ignores all fields on the form, except for the rule name and other rule resolution details, and value in the Circumstance Value field.

  • After you redirect a decision table, the Parameters tab becomes hidden.

  • Do not use redirection if the property in the Circumstance Value field is referenced in a row input or column input field on the Table tab.

  • You cannot redirect a rule to itself.

  • Avoid creating a circular set of redirection because it causes a run-time exception.

    For example, do not define redirection from decision table A to decision table B if decision table B already redirects to decision table A.

Delegation options

The following options impact the initial presentation and available options on the Table tab.

For example, you can prevent users from accessing the Expression Builder or modifying the column layout of the decision table. This helps you customize the development experience for delegated users, such as line managers, who may not require access to the full set of decision table options.

All users, including delegated users, can remove these restrictions if they hold a rule-editing privilege.

Field Description
Evaluate all rows Select this check box to process each row in the table when the decision table is run.

Clear this check box to stop processing after the system finds the first row that evaluates as true.

Allowed to update row layout Select this check box to allow row manipulation, such as insertion, deletion, and position updates, on the Table tab.

Clear this check box to prevent row manipulation. Users with rule-editing privileges can still update the cell values within an individual row.

Allowed to update column layout Select this check box to allow column manipulation, such as insertion, deletion, and position updates, on the Table tab.

Clear this check box to prevent column manipulation. Users with rule-editing privileges can still update the cell values within an individual column.

Allowed to change property sets Select this check box to allow cell value changes on the Table tab.

Clear this check box to prevent cell value updates.

Allowed to build expressions Select this check box to allow access to the Expression Builder from any cell on the Table tab.

Clear this check box to hide the Expression Builder icon. Users with rule-editing privileges can still add constants or property references in a row or column cell.

Allowed to return values Select this check box to indicate that this decision table returns a value that can be assigned to a property. You can restrict the list of possible return values in the Results section of this tab.

Clear this check box to hide the Result column on the Table tab. This indicates that the decision table does not return an explicit value representing the overall processing result.

This check box is disabled when you select the Evaluate all rows check box.

Results

Use the options in this section of the tab to define the possible values that this decision table can return. You can also specify a list of preset properties that are calculated before the decision table is run.

To define allowed results:

  1. Enter a property or linked property name in the Results defined by property field.

    This property must use table validation because the table values are used to populate the Result field.

  2. Select a value from the Result list.

    Alternatively, you can enter a string value without quotes to supplement the existing table values.

  3. Define a list of Target Property and Value pairs that are set when the decision table returns the corresponding Result.

    You can enter a constant, property name, or expression in the Value fields.

  4. Repeat steps 2 and 3 as necessary.

At run time, the system sets target properties using the order you specify.

To define preset properties:

  1. Enter a property name in the Property field.

  2. Enter a constant, property name, expression, or input parameter in the Value field.

  3. Click the add icon and repeat this process for as many properties as are required.

These properties are set before the rows and columns on the Table tab are processed.

About Decision Tables