Editing Decision Table Cells

12-44 Oracle Fusion Middleware Users Guide for Oracle Business Rules Figure 12–58 Added Rule in the Decision Table 3. Enter values for the condition cells. Notice that the new rule is added as the first rule of the Decision Table and the other rules have moved as required to keep the bucket values in their defined order. 4. Click an Action row to enter values for the action cells.

12.7.4.1 Editing Decision Table Cells

Each rule in a Decision Table contains cells pertaining to three sections: Conditions, Conflicts, and Actions. Working with Condition Cells Condition cells in the editable mode when the row having conditions cells is selected display the condition values in multichoice lists. When you add a new rule or when a condition value is unspecified, the condition cell is displayed as blank as shown in Figure 12–59 . Note: You can enter values for the condition cells or any other cells only when the row containing the cell is selected. Only when a row is selected, the condition cell lists are displayed. This is called the Click to Edit feature. Using Oracle SOA Composer with Oracle Business Rules 12-45 Figure 12–59 Unspecified Condition Value If you select All: ■ When the particular condition row is selected, the cell displays All ■ When the particular condition row is not selected or any other condition row is selected, the cell displays all the comma-separated values Figure 12–60 displays a Decision Table with two condition cells displaying the value All as well as all the comma-separated values. Figure 12–60 Displaying All Values for a Condition You can select any value that is available in the condition value list. Working with Action Cells When you add an action, an action row is created with the specified action type. There are two types of action cells: Note: When you edit the condition cells, the Decision Table is refreshed and the edited rule column may shift to the left or right depending on the selected condition cell value. 12-46 Oracle Fusion Middleware Users Guide for Oracle Business Rules ■ The Action form cells contain check boxes. You can disable the firing of a rule by deselecting an action form check box. In Figure 12–61 , R1 and R3 action check boxes are selected whereas the R2 action check box is deselected. In this case, at the time of execution, only R1 and R3 will fire. ■ The Action parameter cells contain the parameters of the action form. You can directly enter the action parameter values in the respective field or you can invoke the Condition Browser window to select a value. Figure 12–61 displays both types of action cells. You can see that the action parameter cells have edit fields with the Condition Browser icons next to them. Figure 12–61 The Action Cells in a Decision Table Figure 12–62 displays the Action Editor window where you can select the values for an action parameter cell. If you select the Always Selected check box, all the check boxes for the particular action form get selected. All the check boxes pertaining to the action form are also disabled, because the specified action is always selected. Figure 12–62 The Action Editor Window Note: The Edit Action icon is enabled only if the action form cell row is selected. The Edit Action icon invokes the Action Editor window. Using Oracle SOA Composer with Oracle Business Rules 12-47

12.7.5 Splitting and Compacting a Decision Table