How to Use a Send Task to Invoke an Asynchronous Service Operation

20-18 Modeling and Implementation Guide for Oracle Business Process Management Figure 20–4 Signal Broadcast This figure shows a process A that broadcasts a signal. Processes B, C and D are configured to react to that signal.

20.11 Communicating Between Processes Using Signal Events

You can use signal events to communicate a message to all the processes that are configured to wait for that message.

20.11.1 How to Broadcast a Signal to Multiple Processes

Before following this procedure you must add the events you want to broadcast, to your SOA project. To broadcast a signal to multiple processes: 1. Locate the point in your process where you want to broadcast the signal.

2. From the Component Palette, from the Throw Events section, select Signal.

If you want to broadcast the signal immediately after the process finished, change the implementation type of the existing end event to signal or add new end event of type signal.

3. Drop the signal event in your process.

4. Right-click the signal event.

5. Select Properties.

6. Click the Implementation tab.

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

The Type dialog appears. 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.