You are on page 1of 40

<Insert Picture Here>

Oracle BPM Suite 11gR1 Training


Basic BPMN & Introduction to Oracle BPM
Studio
Basic BPMN & Introduction to
Oracle BPM Studio

• Objectives
• Understand basic BPMN concepts
• Get familiar with the Oracle BPM Studio IDE
• Understand Projects
• Understand how to create simple BPMN Process
• Understand how to create Roles & Organizations
• Process Consistency

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN Introduction
• What is BPMN ?
• Stands for Business Process Modeling Notation
• Graphical (flow-chart like) notation for capturing business processes and interactions.
• Public standard maintained by OMG; Current version is 1.1
• Vendor neutral
• Business Friendly
• Versatile enough to be used for different levels, starting from a high-level process
description to a detailed process flow for implementation
• Simple enough to be understood by business users yet rich in semantics to be used
by developers for implementation
• Has capabilities to model non-executable elements or processes
• Execution Ready
• Through a combination of graphical and supporting elements, allows a model to be
populated with sufficient information to generate executable processes.
• Provides a mechanism to generate executable (Business Process Execution
Language – BPEL) model from the Process Model. Maps a subset of BPMN to WS-
BPEL.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN 2.0 Highlights
• Extends and addresses BPMN 1.1 Limitations
• No interchange format in 1.1
• 2.0 provides visual model and accompanying interchange format.
• No explicit meta model in 1.1
• 2.0 provides semantic metamodel and accompanying interchange format.
• No choreography support
• 2.0 provides semantic for process interactions and public processes.
• Semantics of modeling constructs not well defined in 1.1.
• 2.0 provides refined and formalized BPMN execution semantics.
• In addition, BPMN 2.0 addresses
• Extensibility mechanism for both process model and graphical extensions
• XMI-based and XSD-based interchange formats.
• Refines event composition and correlation
• Data flow and association
• Covers human interactions
• Does not cover
• Organizational models, Data and Information models, Strategy and Rule Models.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN & Processes

• There are different levels of process modeling:


• Process Maps – simple flow charts of the activities
• Process Descriptions – flow charts extended with additional
information, but not enough to fully define actual Performance
(abstract process diagrams).
• Process Models – flow charts extended with enough
information so that the process can be analyzed, simulated,
and/or executed
• Process Collaborations – interaction of processes for fulfilling
a specific Business Function.

BPMN supports defining each of these levels

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
Basic BPMN 2.0

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN Concepts
• BPMN consists of three main objects:
• Activity: Represents work to be done
• Gateway: Controls flow logic of the process. Used for splitting and merging paths.
• Event: Supports asynchronous communication with other processes, error handling,
and controlling flow logic

Activity Gateway Event

Sequence Flow BPMN connection object


A Sequence Flow is used to show the order that activities will be performed in a Process.

Start Event Activity Sequence Flows End Event

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example - Lanes
Lanes - Provide a visual
means of categorizing
process activities based
on roles.

Lane

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example – Task types
Service
System steps, Gateways
Task and Events can go in to
any Lanes.
Rules Task

User
Task

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
Task Types

User Task Service Task Rules Task

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example – Exclusive Conditional
Split

Exclusive conditional
split

Exclusive
Merge

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
XOR Data Gateway
• Exclusive conditional split. Represented by or
• One and only one of the paths can be taken based on
conditional evaluation of data on the branches.
• Used for showing multiple alternative paths.
• Good practice to specify a “catch all” default path.

Default Path

Alternative Path
chosen if the
condition based on
data becomes true

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example – Exclusive Merges

Merge without XOR Gateway Merge with XOR Gateway

XOR Gateway is not a must for merging exclusive


conditional flows.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example – Parallel Paths

Parallel join
Parallel forking

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
AND Gateway
• Parallel fork and join. Represented by
• All output paths are taken.
• Parallel paths may be joined downstream by a corresponding
Parallel Gateway or may lead to separate end events.
• Parallel Joins are used for merging unconditional parallel paths
only.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example – Sales Quote Process

Service Rules Task


Task

Parallel
Join
Branching
XOR branching

Merge
Lane

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example – Inclusive Split

The following are possible scenarios


(1)Both Approve Quote and Approver
Terms are executed.
(2)Only Approve Quote is executed.
(3)Only Approve Terms is executed.

Inclusive
Inclusive Join
split.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
Other Gateway types- OR Gateway
• Inclusive or “OR” Gateways are Decisions where there is more than
one possible outcome. Represented by
• They are usually followed by a corresponding merging Inclusive
(OR) Gateway.
• Outgoing paths of an Inclusive Gateway can have a default path as
well.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example – Complex split
The following are possible scenarios
(1)Approve Quote is always executed.
(2)Approve Terms is executed based on
conditional evaluation.

Parallel join
Complex Split

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
Complex Gateway

• Complex Gateways are Decisions where there is more advanced


definitions of behavior can be defined
• Represented by

Chained split – The latter


splits are determined by the
evaluation of previous split.
M out of N sequence flows to arrive before the join is
complete (Voting pattern).

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN Loops using XOR Gateway
While loop (Enter Quote Details
executed 1 or more times)

• Loops can be created using an XOR Gateway and by connecting


a Sequence Flow to a previous step (“upstream” object).
• Commonly used for checking conditions and performing redos.
• Synonymous to a while loop and executed 1 or more times.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example - Looping

Loop
Back

Loop
Back

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example – Embedded Sub
process
Collapsed
sub-process

Expanded sub-process

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN – Embedded Sub-process

• Embedded sub-process denotes a compound activity


(scope)
• Similar to a BPEL scope.
• It can have it’s own Start and End Event but cannot have Lanes.
• Sequential Flows cannot cross embedded sub-process
boundaries.
• It can be collapsed to hide details or expanded to show details.
• You can have embedded sub-process inside another embedded
sub-process. Nesting can be many levels deep.
• Usage
• Used for simplified representation of Processes.
• Embedded sub-process is also used to set the scope of event
handling (More on this later …….)

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example – Subprocess design

Incorrect sub-process and exception handling

Correct sub-process and exception handling

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN by Example – Reusable subprocess
Quote to cash – Main Process

Call Activity.

Quote Process – Child Process

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
Call Activity and Re-usable subprocess

• Call Activity is used to call a another BPMN process.


• It is drawn with a thick boundary.
• Call Activity represents the calling element and the child process
is the called element.
• The called element is the Re-usable subprocess or child process.
• When invoking a Re-usable subprocess, it is necessary to pass
instance context from the calling process to called element and
vice-versa.
• When the Re-usable subprocess completes, control is returned
to the calling process.
• Double-clicking a Call Activity should display the called process.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
Why are Reusable subprocesses
important?

• Provide better process modularization and encapsulation


• Provide better reusability
• Provide a better readable process flow
• They provide a way to better adopt TOP-DOWN implementation
strategies
• Promotes multi-owner ship of different parts of the process.
• Used to enforce compliance
• Promote best practices
• Easy enforcement of access privileges.
• Defines Event-handling scope.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN – Process Annotation

• Annotations
• Sticky notes (Arbitrary text)
• Can be associated with process or process
steps via Association Flows.
• Are Artifacts and have no defined semantics

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
Oracle BPM Suite 11g & BPMN 2.0

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN at Design-Time
• BPM Studio –
Business user friendly process modeling and simulation tool.
BPM Studio now supports BPMN 2.0. BPM Studio has 2
perspectives : (1) Business (2) IT. The IT Perspective is
used to overlay the implementation details on top of the
BPMN process models. Both Business and IT use the same
language and no translation is required.
• Process Composer
Process Composer is the new web-based BPMN tooling that
lets business users customize BPMN processes created in
BPM Studio. If the business user changes are restricted to
certain constraints, they can deploy from Composer without
engaging IT.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPMN at Run-time
• BPMN Run-time Engine
The Oracle BPM Suite 11g has a native BPMN 2.0 run-time
engine. Business Processes modeled and implemented in BPM
Studio can be run natively on the BPMN run-time engine.
• BPMN based Monitoring
• Enterprise Manager for BPM – EM allows for rich end-to-end
tracking and monitoring of BPMN processes, including
exception management.
• Process Portal - Process Portal is a collaborative workspace
built on top of Web Center Spaces and enables more productive
BPM by leveraging collaboration. Includes BPMN view based
process dashboards.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
Oracle BPM Studio IDE
BPMN
Palette

Main Canvas for editing processes, BPM Objects, BPM


Object Presentations, Participant/Role/Group
Definitions, etc.

Project Navigator where


multiple projects can be
opened and managed
concurrently. Each project
can be expanded to see
different project assets

Log Tab
where Simulation Panel to
studio is create simulation Documentation Tab to enter
reporting models and process, activity, use cases and
errors execution on line Help
Variable Panel to
add/delete
Project/Process
Variables and
Business Indicators

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPM Projects inside BPM Studio

• Each Project will have several assets


like Processes, Organization
Resources, Simulation Models,
Business Catalog, etc.
• Business Catalog holds the different
types of Services (System, BPEL
processes, Task Services, Rule
Services) as well as Business Objects
(Data).
• Each Project can have many
Processes.
• Right Click on the different Project
subfolders to trigger different actions.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
BPM Studio – BPMN Palette
• Oracle BPM Studio provides a rich
set of activity semantics to implement
different activity patterns:
• Human Centric Activities: User,
Management, Group, FYI, Initiate, Complex
• Gateway Activities: XOR, OR, AND,
Complex
• Automated Activities: Service, Send,
Receive
• Sub-process Activities: Call Activity,
Embedded Sub-process
• Events : None, Message, Timer, Error,
Signal

02/02/20 © 2009 Oracle Corporation – Proprietary and


Confidential BPMN for BPM Bootcamp 11g
35
11
BPM Studio - Process Consistency
Checking
• As a Business Analyst or Developer is modeling a business process,
Oracle BPM Studio will incrementally validate that the process is well
formed and constructed
• Any problems with the process structure will be reported in a visual
fashion on the business process diagram. A problem description and
way to remediate it will be provided when the visual icon is selected.

The strictness of
validation can
be configured.

02/02/20 © 2009 Oracle Corporation – Proprietary and


Confidential BPMN for BPM Bootcamp 11g
36
11
BPM Studio - Process Documentation
• As a Business Analyst or Developer is
modeling a business process, it will be
required to capture the description of each
process step in the form of documentation.
This documentation will become online
help for the User activities exposed
through the Oracle BPM WorkSpace
• In addition to the process activity,
Business Analysts and Developers can
implement Use Cases providing a
mechanism for these 2 audiences to
communicate specific requirements
• Process Documentation can be localized
to different languages as project
languages are available

© 2009 Oracle Corporation – Proprietary and


02/02/2011
37
Confidential BPMN for BPM Bootcamp 11g
Knowledge Check

1. How many processes can be created in a project?


2. How many Begin and End activities can be added to a
process?
3. Can User Tasks be placed in an Automatic Handler Role?
4. Can more than one unconditional transition can be defined
going out of an activity?
5. Sub-processes are important for modularization and
reusability. True or False?
6. Sub-process calls automatically inherit all the instance
variables of the invoker process. True or False
7. What is the difference between a Task and a Embedded
Sub-Process?
8. What are the main restrictions for Sequence Flow?

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g
The preceding is intended to outline our general
product direction. It is intended for information
purposes only, and may not be incorporated into any
contract. It is not a commitment to deliver any
material, code, or functionality, and should not be
relied upon in making purchasing decisions.
The development, release, and timing of any
features or functionality described for Oracle’s
products remains at the sole discretion of Oracle.

© 2009 Oracle Corporation – Proprietary and Confidential BPMN for BPM Bootcamp 11g

You might also like