Decision Table form
|
C-634C-2458 Completing this tab is optional. To restrict the possible result to one of a fixed list of non-null values, enter the acceptable values in this tab, in any order. Complete this tab before the Table tab.
If you enter expressions or property references as result values, the system evaluates them each time it evaluates the rule.
If you select the Redirect this rule checkbox, the system at runtime ignores all the fields on this Decision Table form other than the rule name, rule resolution details, and the value in the Circumstance Value field.
Complete these fields to identify allowed results.
Field |
Description |
Allowed Values Property |
Optional. Select a property in the Applies To class (or a parent class) that offers, through the Table fields on the General tab, a set of values that are allowable results for this decision tree. Other aspects of this property may or may not be relevant to the rule. C-2478 |
Allowed Results |
Optional. You can list allowable results individually, and associate with each a set of property value changes that occur when this result is obtained at runtime. If the Allowed Values Property field is not blank, values you list here supplement values provided by that property. |
(1...) |
Identify an allowable result value for this decision table rule. Enter a constant, a property reference or an expression. MARIK 4/21/04 |
Click to access an optional array of target properties and values. Clickto hide the array. At runtime, the system evaluates the values and updates the target properties (in the order listed) only when the decision table result corresponds to the value in the numbered field. |
|
Sets Properties? |
The button indicates that this row includes one or more possibly hidden properties and values. A button indicates that no properties and values are defined for this row. R-11556 |
Property |
Optional. Identify a property to update with a new value. SR-3885 B-21021 |
Value |
Optional. Enter an expression that computes a value for the target property. For guided assistance in entering functions and parameters, click the magnifying glass icon () to start the Expression Builder. |
When the Table tab is complete, you can add options. (These options primarily restrict managers who are delegated access to only the Table tab, because anyone who has access to this tab can remove these restrictions.)
Field |
Description |
Options | B-17436 checkboxes |
Redirect this Rule |
This field appears only if the rule is circumstance-qualified. Select to indicate that the system is to execute another circumstance-qualified rule rather than this rule. PROJ-229 Redirection lets you share the function and processing of circumstance-qualified rules, reducing the need to maintain separate rules that produce the same results. Create the target circumstance-qualified rule before you create other rules that redirect to the target rule. For a redirected decision table rule, all fields on the Table tab and other fields on the Results tab are not meaningful. The Pages & Classes tab is not visible. Don't use rule redirection if the circumstance property is referenced in a row input or column input of the Matrix tab of the other circumstance-qualified decision table rule. BUG-4520 rejected AKGOK 4/27/07 |
Circumstance Value |
This field appears only after you select Redirect this rule. Select a value from the list to identify the target of redirection. PROJ-229 You can't redirect a rule to itself. However, use care to avoid creating a circular set of redirections (A to B and B to A). Doing so causes a runtime exception. |
Evaluate All Rows |
This checkbox controls runtime processing. PROJ-335 NORIR 5.3
|
Allowed to Update Row Layout? |
If selected, users who are delegated this rule can add, delete, or rearrange rows on the Table tab.C-2458 If not selected, the manager can change only values within the Table tab rows. |
Allowed to Update Column Layout? |
If selected, users who are delegated this rule can add, delete, or rearrange columns of the Table tab. If not selected, the users who are delegated this rule can change only values within the Table tab columns. B-17436 checkboxesB-19335 |
Allowed to Change Property Sets? |
Select to allow users who are delegated this rule to change the properties and values associated with a branch of the tree on the Table tab. |
Allowed to Build Expressions? |
Select to allow users who have access to the Table tab to use the Expression Builder and enter expressions. If not selected, users can enter only constants or property references rather than complete expressions. C-2478 5.2 |
Allowed to Return Values? |
Select if this decision table returns a result value that can be assigned to a property. Enter the values (or property references or expressions) in the Results column on the Table tab. C-2478 5.2 Clear if this decision table is to be evaluated only to perform the property changes identified in the Preset Property Values array on this tab (if any) and the Actions columns on the Table tab, with no single explicit value as the overall result of the rule execution. This field is not available if the Evaluate All Rows box is selected. NORIR 5/4/07 |
Optional. You can define a list of property updates that occur before the system processes information on the Decision tab. Order is significant. C-16755 R-17218
Field |
Description |
Preset Property Values |
|
Property | Optional. Identify a target property to be updated with a new value. |
Value |
Enter an expression to compute a new value for the property. For guided assistance in entering functions and parameters, click the magnifying glass button () to start the Expression Builder. |