Application Navigator Rules Designer Window

Getting Started with Oracle Business Rules 24-7 Figure 24–4 Create Business Rules Dialog

3. Provide the required details. For more information on providing Inputs and

Outputs and on using the Import Dictionary option with this dialog, see Oracle Fusion Middleware Users Guide for Oracle Business Rules.

4. Click OK.

24.3.2 Introduction to Working with Business Rules in Rules Designer

When you are working with business rules Oracle JDeveloper displays Rules Designer.

24.4 Adding Business Rules to a BPEL Process

You can use a Decision component, also called a business rule service component, to execute business rules in a BPEL process.

24.4.1 How to Add Business Rules to a BPEL Process

You add business rules to a BPEL process using a Business Rule component. When you add a business rule component to a BPEL process, you must include input and output variables to provide input to the rules and obtain results back from the business rules. A business rule component enables you to execute business rules and make business decisions based on the rules. To create a business rule component, also called a Decision component, you drag-and-drop a Business Rule from the component palette into the BPEL process. To add a business rule to a BPEL process: 1. Create a BPEL process service component. For more information, see Section 4.1, Introduction to the BPEL Process Service Component. 24-8 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite 2. Expand the BPEL process by double-clicking the process item. For example, expand the BPEL process to view receiveInput and callbackClient as shown in Figure 24–5 . Figure 24–5 Adding A Business Rule to a BPEL Process

3. Select Business Rule from the SOA Components section of the Component Palette

and drag-and-drop a Business Rule into the position where the business rules are needed. For example, drag-and-drop a Business Rule between receiveInput and callbackClient, as shown in Figure 24–6 . Figure 24–6 Drag-and-drop a Business Rule into a BPEL Process