Book Image

Oracle BPM Suite 11g Developer's cookbook

By : Vivek Acharya
Book Image

Oracle BPM Suite 11g Developer's cookbook

By: Vivek Acharya

Overview of this book

Oracle Business Process Management Suite is a complete set of tools for creating, executing, and optimizing business processes.Oracle BPM Suite 11g offers the flexibility that business demands, hand-in-hand with the power IT requires. The result is an agile platform that brings together your existing applications, enabling you to react quickly to new business requirements.With this cookbook we will develop rich, interactive business processes using the Oracle Business Process Management suite.With Oracle BPM Suite 11g Developer's Cookbook, a common process model based on BPMN is presented to the specific role assigned to readers in each chapter. Explore Oracle BPM 11g with Modelling, Implementation, Simulation, Deployment, Exception Management, BPM and SOA in Concert, Advanced Rules and Human tasks, End User Interaction and Run-time.Oracle BPM Suite 11g Developer's Cookbook will help readers learn BPM 11g through a Real World Sample Process.This book is divided into four sections: the first section, Modeling, lays the foundation and demonstrates how to implement the Modeling of Business processes for a Use Case of a Fictitious Organization which needs BPM to be implemented at their site (with data objects and information handling). In the second section, Implementation, we learn about Process Implementation, Human Interaction, Business Rules, and much more. In the third section, Measuring, we learn about Post Process Development, Performance Analysis and Simulation Models. In the last section, Deployment, Migration and Run-Time, we learn deployment and migration, and Post Deployment Run-Time.
Table of Contents (20 chapters)
Oracle BPM Suite 11g Developer's Cookbook
Credits
About the Author
Acknowledgement
About the Reviewers
www.PacktPub.com
Preface
Oracle BPM—Application Development Lifecycle

Communicating with external processes and services


Till this point, you have finalized the contract. Let's save the contract information in the database. We can achieve it by communicating with either an external service, which performs the service of interacting with the desired database and performs an insert operation into it. This external service could be a BPEL Service, Mediator service, Adapter Service, or another BPM Process itself. Let's take the case of invoking an Adapter Service (Database Adapter) to perform the insert operation. As a Process Analyst, you will model the service call in the process. However you will implement it in Implementation phase.

How to do it...

  1. 1. Go to Component Palette | BPM | Default Activities and select the Service Task activity.

  2. 2. Click on the Contract swimlane between the Finalize Contracts User task and End event.

  3. 3. This will open the Properties dialog for the Service Task activity.

  4. 4. In the Basic tab, enter Name as Save Quote.

  5. 5. Leave other tabs as default. We will implement it at the implementation phase.

  6. 6. Create an unconditional sequence flow from the Contracts Finalize User task to the Save Quote service and from the Save Quote service to the End event.

  7. 7. When you have finished the preceding steps, click Save.

How it works...

Process Analysts can add the service task when they know that a process must invoke an external service or process to communicate with other processes and services, such as BPMN process, BPEL process, SOA service, Adapter Services and mediator services.

Service task invokes processes and service, synchronously. When the service task invokes a process or service, the token waits at the service task until a response is returned. After the response is received, the token continues to the next sequence flow in the process.

There's more...

Service Adapter (Database Adapter) will be configured in Composite.xml.

In the Service Activity Save Quote properties, on the Implementation tab, you can browse the service that you will carry out in the Implementation phase to implement it.