In the Action Editor dialog, in the Facts area select OrderApproval. In the Action Editor dialog, in the Properties table for the property status select In the Action Editor dialog, select the Always Selected checkbox as shown in In the Decision Table, cl
2. In the Actions area, double-click assert new. This displays the Action Editor
dialog.3. In the Action Editor dialog, in the Facts area select OrderApproval.
4. In the Action Editor dialog, in the Properties table for the property status select
the Parameterized checkbox and the Constant checkbox. This specifies that each rule independently sets the status.5. In the Action Editor dialog, select the Always Selected checkbox as shown in
Figure 5–35 . Working with Decision Tables 5-39 Figure 5–35 Adding an Action to a Decision Table with the Action Editor Dialog6. In the Action Editor dialog, click OK.
Next you need to add rules to the Decision Table and specify an action for each rule.5.4.7.1 Split the Cells in the Decision Table and Add Actions
You can use the Decision Table split operation to create rules for the bucketsets associated with the condition rows in the Decision Table. This creates one rule for every combination of condition buckets. There are three order amount buckets, three credit score buckets, and two boolean buckets for the annual spending amount for a total of eighteen rules 3 x 3 x 2 = 18. To split cells in a decision table: 1. Select the Decision Table.2. In the Decision Table, click the Split Table icon and from the list select Split
Table . The split table operation eliminates the do not care cells from the table. The table now shows eighteen rules that cover all ranges as shown in Figure 5–36 . These steps produce validation warnings for action cells with missing expressions. You fix these in later steps. 5-40 Oracle Fusion Middleware Users Guide for Oracle Business Rules Figure 5–36 Splitting a Decision Table Using Split Table Operation To add actions for each rule in the decision table: In the Decision Table you specify a value for the status property associated with OrderApproval for each action cell in the Actions area. The possible choices are: Status.MANUAL , Status.REJECTED, or Status.ACCEPTED. In this step you fill in a value for status for each of the 18 rules. The values you enter correspond to the conditions that form each rule in the Decision Table.1. In the Actions area, double-click the action cell for the rule you want to work with,
as shown in Figure 5–37 . Figure 5–37 Adding Action Cell Values to a Decision Table 2. In the list, select and enter a value for the action cell. For example, enter Status.MANUAL . Working with Decision Tables 5-41 3. For each action cell, enter the appropriate value as determined by the logic of your application. For this sample application use the values for the Decision Table actions as shown in Table 5–5 .4. Select Save All from the File main menu to save your work.
Parts
» Oracle Fusion Middleware Online Documentation Library
» What Are Rule Conditions? What Are Rule Actions?
» What Are Decision Tables? What Are Facts and Bucketsets? What Are Rulesets?
» Oracle Business Rules SDK Rules Designer
» Declarative Rules The RETE Algorithm
» How to Display and Edit XML Facts How to Reload XML Facts with Updated Schema
» What You Need to Know About XML Facts
» How to Display and Edit Java Facts What You Need to Know About Java Facts
» What You Need to Know About List of Values Bucketsets What You Need to Know About Range Bucketsets
» What You Need to Know About Bucketset Allowed in Actions Option
» In the Filter Query field, click insert test to insert a default test as
» How to Add Rules How to Define a Test in a Rule
» What You Need to Know About Advanced Mode Rules
» Introduction to Tree Mode Rules
» What You Need to Know About Tree Mode Rules
» How to Use Bucketsets to Provide Options for Test Expressions
» From the list next to the Add icon, select Rule.
» Introduction to Decision Table Operations
» Introduction to Decision Point API How to Obtain the Car Rental Sample Application
» How to Create Data Model Elements for Use with a Decision Point
» How to Add a Decision Point Using Decision Point Builder
» How to Create and Use Decision Point Instances
» What You Need to Know About Decision Point and Decision Tracing
» Testing Oracle Business Rules at Runtime Introduction to the Grades Sample Application
» Enter a name and test score and click Submit. This returns results as shown in
» Understanding Oracle Business Rules ADF Business Components Fact Types
» Understanding Oracle Business Rules Decision Point Action Type
» How to Call a Decision Point with ADF Business Components Facts
» How to Call a Decision Function with Java Decision Point Interface
» What You Need to Know About Decision Function Configuration with ADF Business Components
» How to Add the Outside Manager Finder Class
» How to Update ADF META INF for Local Dictionary Access
» How to Add the Employee Raises Java Class
» Working with Decision Component Metadata
» Introduction to Decision Components Decision Service Architecture
» Working with Advanced Mode Options
» Expression Builder Condition Browser
» Editing Decision Table Cells
» Understanding the Validation Panel Updating the Validation Panel
Show more