In the Partner Link field, click the Search icon to select the partner link that Click Apply, then click OK.

14-16 Oracle Fusion Middleware Developers Guide for Oracle SOA Suite 15 Coordinating Master and Detail Processes 15-1 15 Coordinating Master and Detail Processes This chapter describes how to coordinate master and detail processes in a BPEL process. This coordination enables you to specify the tasks performed by a master BPEL process and its related detail BPEL processes. This is sometimes referred to as a parent and child relationship. This chapter includes the following sections: ■ Section 15.1, Introduction to Master and Detail Process Coordinations ■ Section 15.2, Defining Master and Detail Process Coordination in Oracle JDeveloper

15.1 Introduction to Master and Detail Process Coordinations

Master and detail coordinations consist of a one-to-many relationship between a single master process and multiple detail processes. For example, assume a business process imports sales orders into an application. Each sales order consists of a header customer information, ship-to address, and so on and multiple lines item name, item number, item quantity, price, and so on. The following tasks are performed to execute the order: ■ Validate the header. If the header is invalid, processing stops. ■ Validate each line. If any lines are invalid, they are marked as invalid and processing stops. ■ Perform inventory checks for each item. If an item is not available, a work order is created to assemble it. ■ Stage items at the shipping dock after items for each line are available. ■ Ship the order to the customer. To perform these tasks, create a master process to check and validate each header and multiple BPEL processes to check and validate each line item. Potential coordination points are as follows: ■ The master process must signal the detail processes that header validation is successful and to continue processing. ■ Each detail process must signal the master process after line item validation is complete. ■ Each detail process must signal the master process after the line item is available in inventory.