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

Introduction


The following are the key elements that are involved in understanding and setting up approval routing rules:

  • Approval Request Task: Business processes need human intervention such as you have used in the SalesToContract process in this book. The document Approval Request Task lets you send approval requests to approvers, enabling them to make decisions and thus advance the process:

  • Task Configuration: You need to configure event-driven and data-driven configuration for the document approval task before submitting documents for approval.

  • Stage: Stages let you organize your approval routing rules into logical groupings, and each stage is associated with a collection. A collection contains a set of attributes at a specific purchasing document level, such as header, lines, and so on, which can be used to author routing rules.

  • Participant: You can add or edit task participants inside stages. Participants are assigned based on routing patterns, such as single, parallel, serial, and FYI.

  • Rule: Approval rules, within a participant, are composed of rule name, condition, list builder and its attributes, response type, and auto action. The rule name will identify the approval rule:

    • Condition will indicate when the approval rule will be applied. A condition is defined based on the attributes seeded in a collection. Once the condition is satisfied, List Builder will identify the type of users needed to approve or receive notification.

    • List Builder: There are many list builders supported, such as Approval Group, job level, position, supervisory, and resource. Each list builder has a set of properties that defines it. Response Type indicates if the participants are required to approve the task. If not, they are FYI participants.

    • Auto action: specifies if the list builder will automatically act on tasks. The auto action value specifies the outcome to be set, such as approve or reject.

Your business requirement is to generate approvers list dynamically. They have a basic business fulfillment to be taken care of, based on the industry type, and then as per business defined logics, a list of approvers will be generated. The business needs to incorporate the following logic to derive approvers dynamically:

If Industry IS 'Sales' Then
Approvers are - Salesbusinessanalyst1 and Salesbusinessanalyst2
If Industry IS 'IT' Then
Approvers are - ITbusinessanalyst1 and ITbusinessanalyst2
Else
Approvers are - businessanalyst and businessanalystmanager

To generate a list dynamically, the process needs to interact with the enterprise database. The enterprise database would have a procedure defined to take care of logic and to return approvers list. To fulfill the business requirement, you have to follow the ensuing steps:

  • Modify approval task you would modify business analyst review task to build list using business rule

  • Implementing dynamic approval mechanism

You have defined user hierarchy in the Defining assignments—powerment, and business alignment. What make management chain participant section in Chapter 5, Human Workflow in BPM Process. Ensure that following users are created in security realm in Oracle SOA or are available in your identity management solution:

  • Salesbusinessanalyst1

  • Salesbusinessanalyst2

  • itbusinessanalyst1

  • itbusinessanalyst2

  • businessanalyst

  • businessanalystmanager