How to Invoke a Synchronous BPMN Process Operation Using a Service Task

20-16 Modeling and Implementation Guide for Oracle Business Process Management

14. Click OK.

20.7.6 What Happens When You Invoke an Asynchronous BPMN Process Using Send and Receive Tasks

When you invoke an asynchronous service operation using a send task, the BPMN Service Engine does not wait for the service to answer. It continues running the flow objects that follow to the send task. The BPMN process can obtain the response of the asynchronous service by invoking the service callback operation using a receive task. Even if the service finishes running, the BPMN process does not receive the service response until it invokes the callback operation using a receive task. If the service is still running when the BPMN Service Engine runs the receive task, then the engine waits for the service operation to complete before passing the token to the next flow object in the process.

20.8 Introduction to Invoking a Process Using Call Activities

You can invoke a process from another process using call activities. The invoked process is a child of the process invoking it. When you run a call activity, the engine does not create a new token for the reusable process. The token in the parent process passes to the reusable process. When the token completes the child process, it returns to the parent process to continue running the activities that follow the call activity. The child process must be a reusable process. Reusable processes can be invoked from multiple processes. You can only start a reusable process by invoking it from a call activity. You cannot access reusable process from other SOA components because they are not part of the SOA composite. The start event of a reusable process must always be of type none. The end event can be a error or a message event.

20.9 Invoking a Process Using Call Activities

You can use call activities to invoke a process from another process. The child process must be a reusable process. You can invoke a reusable process from multiple processes within your BPM project.

20.9.1 How to Invoke a Process Using Call Activities

You can invoke a process from another process using call activities. The invoked process must be a reusable process. To invoke a process using call activities: 1. Add a call activity to your process. 2. Right-click the call activity.

3. Select Properties.

4. Click the Implementation tab.