What You May Need to Know About Rule Firing Limit Option for Debugging Rules What You May Need to Know to About Decision Function Arguments
2. Select the decision function to edit and click the Edit icon or double-click the
decision function icon.3. Select the input argument you want to move. Click either Move Up or Move
Down to reorder the input argument. To change the order of outputs: 1. In Rules Designer, select the Decision Functions navigation tab. 2. Select the decision function to edit and click the Edit icon or double-click the decision function icon.3. Select the output argument you want to move. Click either Move Up or Move
Down to reorder the output argument.6.3 What You Need to Know About Decision Functions
A decision function is a function that is configured declaratively.6.3.1 What You May Need to Know About Rule Firing Limit Option for Debugging Rules
The Rule Firing Limit allows you to set the maximum number of steps rule firings that are allowed at runtime. Using this option and specifying a value other than unlimited can help you debug certain rule design problems and in some cases might help prevent java.lang.OutOfMemoryError errors at runtime. This is can be useful when debugging infinitely recursive rule firings.6.3.2 What You May Need to Know to About Decision Function Arguments
Oracle Business Rules generates a corresponding RL Language function for each decision function. The signature of a generated decision function is similar to: function nameInputFactType1 input1, ... InputFactTypeN inputN returns List In a decision function, each parameter is generated depending on the List option, with the decision function input, as follows: ■ Input argument, List option unselected: for FactTypei the input must be a single object and the assertion applies only to that single input object. ■ Input List option selected: ListFactTypei the input must be a List of objects and the assertion applies to each object in the input List java.util.List. The generated RL Language function includes calls either to assert or assertTree for each argument, depending on the decision function Input option, Tree. When Tree is unselected the input is asserted using the assert function. When Tree is selected, the input is asserted using the assertTree function. When Tree is selected it is expected that the input object or objects are the root of an object tree that is connected in one-to-many relationships with other objects using List or array type properties. For the decision function selected rulesets, as specified in the Rulesets and Decision Functions area Selected box, the generated RL Language function includes a call to run with the selected rulesets in the selected ruleset stack order. The generated RL Language function returns a list. The list has an element for each decision function output in order. If the output is declared to be a list, then the corresponding element is a list. However, if the output is not declared to be a list, then the corresponding element is the output fact or null if there is no output fact of the 6-6 Oracle Fusion Middleware Users Guide for Oracle Business Rules declared type. If an output is not declared to be a list, and more than one output fact of the specified type is found in the working memory of Oracle Business Rules Engine, then an exception is thrown. After you edit a decision function, for example, to change or add inputs and outputs, the changes are visible in BPEL for new Business Rule activities. However, the changes are not visible to existing Business Rule activities. For more information, see Getting Started with Oracle Business Rules in the Oracle Fusion Middleware Developers Guide for Oracle SOA Suite.6.3.3 What You May Need to Know About the Decision Function Stateless Option
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