Professional Documents
Culture Documents
Introduction
Business Process Management is a structured, coherent and consistent way of
understanding, documenting, modeling, analyzing, executing, monitoring and
optimizing business processes as well as associated resources leading to business
improvement. The BPM lifecycle is iterative and does not follow a water-fall model.
BPM is a management practice, a business philosophy that provides for governance
of a business process environment toward the goal of improving responsiveness and
operational performance. It is a journey not a destination.
Today's processes are increasingly complex, full of deeper interactions across
systems and dependent on more collaborative activities between users.
You need a comprehensive, standards-based and easy to use solution for creating,
deploying and managing composite business processes with content, automated and
human workflow steps.
BPM is not about technology
BPM is not about architecture
BPM is not about creating diagrams
BPM is about improving processes, and there are multiple ways to approach
BPM
Oracle BPM 11g Suite contains:
Business Driven Modeling
BPM Runtime
Process Analytics
Process Spaces
This guide covers installation and startup of the VM, and overview of what is
included, and a set of hands-on lab steps.
Please direct comments to: Dennis Foley
Objectives
Learn how to import, configure, start and connect to the VM.
Understand the Sale Quote Demo.
Run Sales Quote Demo.
Outline
Introduction ...........................................................................2
Objectives ......................................................................... 2
Outline.............................................................................. 3
Setting up a local VM ..............................................................4
Create a new Virtual Machine............................................... 4
Understanding the Sales Quote Demo process ......................11
Running the Sales Quote Process .........................................29
Module 400
Getting Started with the Demonstration VM
Page 400 – 4 BPM 11g Workshop
Setting up a local VM
There are two options for accessing the VM. You can either: run it locally or connect
to a hosted image. This section deals with setup of Virtual Box image for running the
VM locally -- if you will be accessing a hosted copy of the VM, you can skip to the
next section.
Bring up VirtualBox (ver. 4.0 or higher) and select the New icon .
Click Next at the first dialog.
Enter the Name: BPM 11gR1 PS4 Workshop, Operating System: Linux,
Version: Oracle. Click Next.
Module 400
Getting Started with the Demonstration VM
Page 400 – 6 BPM 11g Workshop
Navigate to the directory where you extracted the VMDK files. Select the
Linux_EL5.6_withConfig.vmdk file and click Open then click Next
Verify that all the information is correct on the Summary screen and click
Finish.
MODIFY VM PARAMETERS
The new image is created. Now, we’ll modify some more parameters.
With the new Virtual Machine selected click Settings to bring up the Machine
configuration.
Module 400
Getting Started with the Demonstration VM
Page 400 – 8 BPM 11g Workshop
Click Storage to bring up the storage configuration. By default the disk are
added as SATA disk. We will want to remove the disk and add both disks to
the IDE Controller.
Select the Linux_EL5.6_withConfig.vmdk disk and click the remove
attachment icon
Select IDE Controller and click the Add Hard Disk icon to the right of the
Controller
Module 400
Getting Started with the Demonstration VM
Page 400 – 10 BPM 11g Workshop
You may now setup Network and Shared Folders as needed. Click OK to
complete the configuration.
Module 400
Getting Started with the Demonstration VM
Page 400 – 12 BPM 11g Workshop
STEP 1: Start JDeveloper by double clicking on the JDeveloper 11g icon on the
Desktop OR right-click on the icon and select Open.
Module 400
Getting Started with the Demonstration VM
Page 400 – 14 BPM 11g Workshop
Note also that different symbols or icons are used to denote the various process
steps. The green rectangular box with the human icon represents an Interactive
or human step.
Note: The Interactive Tasks refers to a step that is managed by the workflow
engine. The Performers represent the business users who need to carry out the
Interactive Task. The associated Task (work to be performed) is shown in the
inbox of the assigned Performers when the Interactive Task is triggered. The
actual work is performed only when the Performer executes on his Task. The
Task is presented to the Performers through a browser based worklist application.
In BPM Studio, the Performer is automatically set to the “Role” associated with the
swim lane in to which the Interactive Task is dropped.
Note: There is a special icon or marker on the Approve Quote Interactive step. This
represents a more complex form of role assignment to the Interactive step.
The yellow rectangular box with the wheel and 2 green arrow spokes represent
the business rules step.
Note: The swim lanes or roles only matter for the Interactive step. Moving the
Interactive process activities across swim lanes changes the roles assigned to
them. You can also move swim lanes in the process model and rearrange
them. The process is automatically refreshed to map to the new location of the
swim lanes. The rules step is an automated step that does not involve a
human participant and can be placed in any swim lane.
Module 400
Getting Started with the Demonstration VM
Page 400 – 16 BPM 11g Workshop
You are already familiar with the Interactive Task and Rules Task. Other
interesting activities are
Service Task to invoke an external service,
Manual Task to carry out a manual step,
Send Task to send a message to another process and
Receive Task to receive a message from another process.
Note: Both Manual and Interactive Tasks are performed by a human but the
former is not managed by a process execution engine while the latter is managed
by a process execution engine.
In addition, to the process activities, the Sales Quote process also uses a
Gateway BPMN object to capture a split decision. This is the BPMN Exclusive
(XOR) Gateway . Based on certain data conditions only one of the outgoing
paths will be executed. In the Sales Quote process given here, based on
evaluation of Business Practices Review, either the Yes path or the No path is
taken. Note that the No path has a slash mark on it. This is used to denote a
default sequential path.
Go to Organization node under the BPM Project. Right-click and select Open
to bring up the Organization Editor.
Note: In BPM Studio, the swim lanes in the BPMN process point to logical Roles.
A logical role represents a process participant (user or group) and needs to be
mapped to physical roles (LDAP users/groups) before the process is deployed. .
The Organization Pane shows the roles corresponding to the process swim lanes.
Module 400
Getting Started with the Demonstration VM
Page 400 – 18 BPM 11g Workshop
In the BPM Project Navigator, highlight the process and open up the Structure
Pane (ViewStructure).
Oracle Human Workflow Service supports chaining tasks to create a task flow. The
Approve Quote Interactive step has complex assignment and has 3 tiers of
approvals namely – Tier1, Tier2 and Tier3. The tasks can be chained in sequential or
Module 400
Getting Started with the Demonstration VM
Page 400 – 20 BPM 11g Workshop
The Tier3 approval step is based off the Sequential Management Chain workflow
pattern. The starting participant is the manager of the Sales Rep and this is
dynamically set based off the incoming Quote data. The number of levels that need
to be traversed across the management chain is determined by the Quote Approval
Rules evaluation in the previous step. The Approval Flow - Rules Output contains this
information. You can also skip the step based on whether the Approval
Flow.selfApproval is set to "TRUE" by the Quote Approval Rules.
Tier2 Approvals is a Parallel Voting Pattern. The assignees are all the people
belonging to the swim lane Role. Task is completed when all of the Voted Outcomes
are in or if a certain percentage is met. Task status is calculated based on the
evaluation of the Voted Outcomes. In this example, all Tier2 Approvers have to
"APPROVE". The Tier2 Approver List is set by the Quote Approval Rules in the
Approval Flow data object.
The Human workflow Service in Oracle BPM 11g supports Approval Management
Extensions for sophisticated routing requirements including ability for business
administrators to override process/rules determined flow. The Tier1 Approval is
based off the Approval Management Extensions. The Tier1ApprovalGroup is created
in the BPM Workspace.
Module 400
Getting Started with the Demonstration VM
Page 400 – 22 BPM 11g Workshop
the list of approvers for each tier. In addition, it is used to determine whether
Business Practices step is required or not. The Approval Rules for the Sales Quote
Process is as follows:
• If Discount <= • Sales Rep can self approve. The Approve Deal step and the
25% Business Practices Review step are completely bypassed.
• If Discount is • Business Practices Review is required. For Approve Deal step, the
>25% but less Tier 2 and Tier 1 Approvals are not required. However, the
than 60% manager of the Sales Rep needs to approve as part of Tier3
Approval for the Approve Deal step
• If Discount is • Business Practices Review is required. For Approve Deal step, the
between 60% to Tier 1 Approvals is not required. However, the manager of the
90% Sales Rep needs to approve as part of Tier3 Approval for the
Approve Deal step. In addition, as part of Tier2 Approval, “wfaulk”
needs to approve as well.
• If Discount is > • Business Practices Review is required. For Approve Deal step, the
90% and Total Tier 1 Approvals is not required. However, the manager as well as
Revenue is < the manager’s manager (2 levels up the management chain) of
550000 the Sales Rep needs to approve as part of Tier3 Approval for the
Approve Deal step. In addition, as part of Tier2 Approval for
Approve Deal step, “wfaulk” needs to approve as well.
• If Discount is > • Business Practices Review is required. For Approve Deal step, all
60% and Total the 3 tiers of approvals are required including Tier 1 Approval. The
Revenue is > manager as well as the manager’s manager (2 levels up the
550000 management chain) of the Sales Rep needs to approve as part of
Tier3 Approval for the Approve Deal step. In addition, as part of
Tier2 Approval for Approve Deal step, “wfaulk” and “jlondon”
needs to approve as well.
These rules are captured in the form of a Decision Table in the BPM Project provided
to you. The Decision Table is easy to understand, create, and change by the business
user.
To take a quick look at the Approval Rules, go to Business
Catalog/Rules/SalesQuoteProcess and double-click on the .rules file.
Module 400
Getting Started with the Demonstration VM
Page 400 – 24 BPM 11g Workshop
Information for any discount being offered. The discount could be different for
each selected product
Any terms and conditions that need to be added to the quote
The Auto-generate option creates a default task-flow with a single page. To ease the
page design, you are provided with page templates that already have the basic page
layout completed. To create a multi-page flow the additional pages have to be
created using the standard ADF page designer.
The Enter Quote UI project is the part of the Sales Quote Demo application that
contains the user interfaces page flows for the Enter Quote step of the process. It is
a multi-page flow with five pages.
back to the “Enter Quote Details” so that the Sales Representative can refine the
quote and resubmit.
Module 400
Getting Started with the Demonstration VM
Page 400 – 26 BPM 11g Workshop
The input and output arguments of the process step are the same as the inputs and
the outputs of the Service (Task, Rules, System) that it is bound to. The data objects
(variables) are used for data transformation to match the input and output
arguments of the process step.
BPM Studio supports 3 ways of performing data mapping.
Simple Mode – Business user friendly mode. The input/output arguments
are mapped to data objects of similar type. Simple logical type of checks can
also be done in the Simple mode.
XPATH Mode – Involves XPATH expression editor for more complex mapping
XLST Transformation – Uses XSLT transformation for mapping the data
objects to the input/output arguments.
In the case of Business Practices Review, the outcome output argument of the
Business Practices Review step is mapped to the businessPracticeaReviewOutcome
String data object. In addition, the approvalTaskInfo data is also passed to this
step to display the approval information in the Business Practices Review user
interfaces. This is later used to validate if the process needs to go forward to
Approvals Gateway or loop back to Enter Quote.
Module 400
Getting Started with the Demonstration VM
Page 400 – 28 BPM 11g Workshop
The Counter is set at the Enter Quote step. Right-click on the step and choose the
Counter option. This brings up the Counter tab and you can choose the Counter to be
incremented.
Module 400
Getting Started with the Demonstration VM
Page 400 – 30 BPM 11g Workshop
The Inbox option shows the list of task items assigned to you and your Group in
the right pane of the WorkSpace (similar to an email inbox). If this is the first
time you are using Workspace, you won’t see any tasks listed.
Module 400
Getting Started with the Demonstration VM
Page 400 – 32 BPM 11g Workshop
Once the quote has been thoroughly created by the Sales Representative, it is
time to submit. The final summary page is shown below (Submit Quote step in
the top flow diagram).
Click on the “SUBMIT” button to submit it to the next step. The task should
disappear from jcooper’s inbox.
The data entered should trigger Business Practices Review to be true. In addition,
all 3 tiers of approvals are required. Tier2 Approver list consists of “wfaulk,
jlondon”.
Log out as “jcooper” and log in as “jstein” to act on the Business Practices
Review step. Click APPROVE on the Action menu.
Module 400
Getting Started with the Demonstration VM
Page 400 – 34 BPM 11g Workshop
The process now goes to the Approvers and Contracts role at the same time for
the Approve Quote and Approve Terms process steps.
Log in as jstein, wfaulk and cdickens for tier-3, wfaulk and jlondon for tier-
2, and cdoyle for tier-1 to complete the Approve Quote step.
Log in as cdickens and perform approvals of Approve Terms and Finalize
Contracts steps.
This completes the process.