What You May Need to Know About Invoking Business Rules in a BPEL Process What You May Need to Know About Decision Component Stateful Operation

24-18 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite Figure 24–16 Create Business Rules Dialog with Input and Output Set options and create decision service and business rules dictionary: 1. In the Create Business Rules dialog, select Expose as Composite Service. 2. If you do not want to use the default service name, then select the Advanced tab and in the Service Name field enter the service name.

3. In the Create Business Rules dialog, click OK. This creates the Business Rule

component, also called a Decision component, and Oracle JDeveloper shows the Business Rule component in the canvas workspace as shown in Figure 24–17 . Figure 24–17 Business Rule Component in SOA Composite Getting Started with Oracle Business Rules 24-19

4. Double-click the Decision component for example the OracleRules1 business

rule. This opens Rules Designer, as shown in Figure 24–18 . The validation log shows validation warnings for the input and output facts. By working with Rules Designer to define rules or decision tables, you remove these warning messages. Figure 24–18 Rules Designer Showing New Dictionary for SOA Composite Application For information on Rules Designer, see Oracle Fusion Middleware Users Guide for Oracle Business Rules.

24.5.2 How to Select and Modify a Decision Function in a Business Rule Component

You can specify one or more decision functions as inputs for calling Oracle Business Rules as a component in a composite application. For example, you can specify a particular decision function as the input when multiple decision functions are available in an Oracle Business Rules dictionary. To specify a decision function in a composite application: 1. Add a decision function to the Oracle Business Rules dictionary. For more information, see Oracle Fusion Middleware Users Guide for Oracle Business Rules. 2. Add a Business Rule component to the composite application. For more information, see Section 24.5.1, How to Add Business Rules to a SOA Composite Application . 3. Select a business rule component, as shown in Figure 24–19 .