Click the Show Advanced Settings icon next to the rule or Decision Table name Select Advanced Mode. Select insert pattern to add a pattern. In the Surround With dialog select Pattern Block. For more information, see Click OK. In the pattern select the fir
2. Click the Show Advanced Settings icon next to the rule or Decision Table name
see Section 4.5.1, How to Show and Hide Advanced Settings in a Rule or Decision Table .3. Select Advanced Mode.
4. Enter the fact type you want to work with.5. Select insert pattern to add a pattern.
6. Select the new pattern. 7. Right-click the pattern and select Surround With.... This displays the Surround With dialog.8. In the Surround With dialog select Pattern Block. For more information, see
Section 4.7.1, How to Use Advanced Mode Pattern Matching Options .9. Click OK.
10. In the pattern select the first field. By default this field contains for each case
where , as shown in Figure 4–50 . Working with Rulesets and Rules 4-39 Figure 4–50 Adding an Advanced Pattern Match Option11. Select the aggregate option. This adds the context sensitive fields for an aggregate,
as shown in Figure 4–51 . Figure 4–51 Using Aggregate Functions in a Rule12. Click function and select a function from the list.
13. In the condition, click fact type and select a fact type from the list.
14. Click expression and select an expression from the list.
15. Rules Designer by default constructs variable names as you create the aggregate pattern. If needed for the rule you are constructing enter variable names to replace the default variable names. Figure 4–52 shows a completed rule using aggregate. In this example, for clarity the rule shows the variable names total_cost and item_x . 4-40 Oracle Fusion Middleware Users Guide for Oracle Business Rules Figure 4–52 Completed Aggregate Function in a Rule16. Enter additional tests as required. For this example you enter the test for items
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