Double-click the OrderAmount bucketset icon to display the Edit Bucketset Click Add Bucket to add a bucket. Click Add Bucket again to add another bucket. In the Range Bucket Values area, in the top Endpoint field enter 1000 for the In the Range Bucket Val
5.4.5 How to Add Bucketsets to the Data Model for Order Approval
To use a Decision Table you need to define bucketsets that specify how to draw values for each cell for the conditions that constitute the Decision Table. For this example the bucketsets are defined with a list of ranges that you define in Rules Designer. To add OrderAmount bucketset to the data model: 1. In Rules Designer, select the Bucketsets navigation tab. 2. From the dropdown next to the Create BucketSet... icon, select List of Ranges. 3. In the Name field, enter OrderAmount In Rules Designer be sure to press Enter to accept the name.4. Double-click the OrderAmount bucketset icon to display the Edit Bucketset
dialog.5. Click Add Bucket to add a bucket.
6. Click Add Bucket again to add another bucket.
7. In the Range Bucket Values area, in the top Endpoint field enter 1000 for the
endpoint value.8. In the Range Bucket Values area, for the middle bucket in the Endpoint field enter
500 for the endpoint value.9. In the Included Endpoint field for each bucket ensure the checkbox is selected, as
shown in Figure 5–27 . Working with Decision Tables 5-33 Figure 5–27 Adding the OrderAmount Bucketset10. Modify the Alias field for each value to High, Medium, and Low, as shown in
Figure 5–28 . Figure 5–28 Adding the OrderAmount Bucketset with Low Medium and High Aliases11. Click OK.
To add CreditScore bucketset to data model: 1. In Rules Designer select the Bucketsets navigation tab. 2. From the dropdown next to the Create BucketSet... icon, select List of Ranges. 3. In the Name field, enter CreditScore. 4. Double-click the CreditScore bucketset icon to display the Edit Bucketset dialog. 5. Click Add Bucket to add a bucket. 6. Click Add Bucket again to add another bucket. 7. In the top bucket, in the Endpoint field enter 750. 8. For the middle bucket, in the Endpoint field enter 400. 9. In the Included Endpoint field for each bucket, ensure the checkbox is selected as shown in Figure 5–29 . 5-34 Oracle Fusion Middleware Users Guide for Oracle Business Rules Figure 5–29 Adding the CreditScore Bucketset10. Modify the Alias field for each endpoint value to solid for 750, avg for 400, and
risky for -Infinity as shown in Figure 5–30 .11. Click OK.
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