How to Define a Transformation

Importing BPMN Processes from a BPA Repository 9-1 9 Importing BPMN Processes from a BPA Repository This chapter describes how to create a BPM project using a BPMN process stored in a BPA repository. Importing BPA projects to Oracle BPM enables Process analysts to develop a project using Oracle BPA and then hand it over to process developers for them to complete the implementation details using Oracle BPM Studio. This chapter includes the following sections: ■ Section 9.1, Introduction to Importing Processes from the BPA Repository ■ Section 9.2, Creating a BPM Project from a BPA Project

9.1 Introduction to Importing Processes from the BPA Repository

Oracle BPM Studio enables you to create a BPM project based on a BPMN process stored in a BPA repository. You can create and implement a BPMN process in BPA and then import it to Oracle BPM. This creates a BPM Project that contains the BPMN process and all of the components used to implement it, such as Human Tasks, Service Adapters and Mediators. Figure 9–1 shows a BPMN model of the Sales Quote example implemented in BPA. 9-2 Modeling and Implementation Guide for Oracle Business Process Management Figure 9–1 BPMN Model of the Sales Quote example process implemented using BPA Architect This figure shows a BPM Model of the Sales Quote example created using the BPA Architect application.

9.2 Creating a BPM Project from a BPA Project

You can create a BPMN model using the BPA Architect application and import it to Oracle BPM. Oracle BPM Studio creates a BPM project that contains the BPMN process you selected and the components used to implement the activities in the BPMN model. Before importing a BPA project to BPM, ensure your BPA project respects the following rules: ■ If the Catalog and Repository information are missing in the BPA project, then the process created by importing the BPA project to Oracle BPM contains unimplemented business rule tasks. ■ If the Human Tasks in the BPA project are not associated with a swimlane, then importing the BPA project to Oracle BPM causes an error because the Human Task is not associated with a valid role. ■ It does not contain nested subprocesses. Table 9–1 shows how the different BPA constructs are translated to BPMN constructs when importing a project. Gateways and events remain the same. Note that since Oracle BPM Suite does not support pools and message flows, you can only translate one BPA tool at a time. Table 9–1 Correspondence Between BPA and BPMN constructs BPA Construct BPMN Construct Automated Activity Service Task Human Task User Task Rules Task Rules Task