How to Use the Receive Task to Invoke the Callback Operation of an Asynchronous Service What Happens When You Invoke an Asynchronous Service Using Send and Receive Tasks How to Use the Send Task to Invoke an Asynchronous BPMN Process Operation

Communicating With Other BPMN Processes and Services 20-19 8. Select an event.

9. Click OK.

The Type dialog disappears and the type name appears in the type field.

10. Click OK.

20.11.2 What Happens When You Broadcast a Signal

When the BPMN Engine runs a throw or an end signal event, it published an event to Oracle EDN. Oracle EDN delivers this event to all SOA components configured to listen to that specific signal.

20.11.3 How to Configure Your Process React to a Specific Signal

Before following this procedure you must add the events you want to react to, to your SOA project. To configure your process to react to a specific signal: 1. Change the implementation type of the process start event to signal, or add a new signal start event to your process. 2. Right-click the start event.

3. Select Properties.

4. Click the Implementation tab.

5. Click the Browse button next to the event field.

The Type dialog appears. 6. Select an event.

7. Click OK.

The Type dialog disappears and the type name appears in the type field.

8. Click OK.

20.11.4 What Happens When You Configure a Process To React to a Specific Signal

The process does not start until another BPMN process or SOA component broadcasts a specific signal. When a BPMN process or an SOA component broadcasts this signal using Oracle EDN, the process gets triggered by this signal. 20-20 Modeling and Implementation Guide for Oracle Business Process Management Defining the Process Interface 21-1 21 Defining the Process Interface This chapter describes how to configure a BPMN process to expose it as a service for other processes or services to invoke it. Oracle BPM enables you to expose the flow objects in the BPMN process as process operations. Other BPMN processes and services can invoke these operations. This chapter includes the following sections: ■ Section 21.1, Defining the Process Interface ■ Section 21.2, Using Message Events to Define the BPMN Process Interface ■ Section 21.3, Using Message Events to Define Asynchronous Operations in a BPMN Processes ■ Section 21.4, Using Message Events to Define a Synchronous Operation in a BPMN Processes Interface ■ Section 21.5, Using Message Events with an Interface from the Business Catalog to Define Your Process Interface ■ Section 21.6, Defining the BPMN Process Interface Using Send and Receive Tasks ■ Section 21.7, Defining Asynchronous Processes Operations Using Send and Receive Tasks ■ Section 21.8, Using Send and Receive Tasks to Define a Synchronous Operation in a BPMN Process ■ Section 21.9, Using Send and Receive Tasks with an Interface from the Business Catalog to Define Your Process Interface ■ Section 21.10, Defining the Process Input and Output This chapter assumes that you are familiar with SOA Composites. For more information about SOA Composites see Oracle Fusion Middleware Developers Guide for Oracle SOA Suite.

21.1 Defining the Process Interface

The process interface is a group of operations a BPMN process exposes for other processes or services to use. The SOA Composite shows the BPMN process interface in the Exposed Services section. You must define an interface for your BPMN process if you want other processes and services to use it. The interface you define contains the operations other processes and services can invoke. Synchronous process operations define input and output arguments.