View
8
Download
0
Category
Preview:
DESCRIPTION
BPMN
Citation preview
<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 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
•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.
© 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 metamodeland 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:
•ProcessMaps–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).
•ProcessModels–flow charts extended with enough
information so that the process can be analyzed, simulated,
and/or executed
and/or executed
•ProcessCollaborations –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.
End Event
Start Event
Sequence Flows
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
Activity
Task Types
•Task
•Atomic activity. Different types of tasks distinguished by different markers.
•Task Types are:
Rules Task
Service Task
User Task
•Task Types are:
•Service Task (Synchronous system interaction )
•Send and Receive Tasks (Asynchronous system interaction)
•User Task (Human step –managed by workflow engine)
•Manual Task (Not managed by a workflow engine)
•Rules Task (Managed by Business Rules engine)
•Script Task (Used for running scripts)
•None Task (For just documentation and mapping purposes)
•Call Activity (To call another independent BPMN process –Process
chaining)
© 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.
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
Lane
BPMN by Example –Task types
System steps, Gateways
and Events can go in to
any Lanes.
Rules Task
Service
Task
User
Task
© 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
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
Alternative Path
chosen if the
condition based on
data becomes true
BPMN by Example –Exclusive Conditional
Split
Exclusive conditional
split
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
Exclusive
Merge
BPMN by Example –Exclusive Merges
Merge without XOR Gateway
Merge with XOR Gateway
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
XOR Gateway is not a must for merging exclusive
conditional flows.
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 –Parallel Paths
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
Parallel forking
Parallel join
BPMN by Example –Sales Quote Process
Rules Task
Service
Task
Parallel
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
Lane
XOR branching
Parallel
Branching
Merge
Join
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 –Inclusive Split
Inclusive
The following are possible scenarios
(1)Both Approve Quote and Approver
Term
s are executed.
(2)Only Approve Quote is executed.
(3)Only Approve Term
s is executed.
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
Inclusive
split.
Inclusive Join
Complex Gateway
•Complex Gateways are Decisions where there is more advanced
definitions of behavior can be defined
•Represented by
M out of N sequence flows to arrive before the join is
complete (Voting pattern).
Chained split –The latter
splits are determ
ined by the
evaluation of previous split.
© 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 Term
s is executed based on
conditional evaluation.
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
Complex Split
Parallel join
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 –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.
•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 –Embedded Sub
process
Collapsed sub-
process
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
Expanded sub-process
BPMN by Example –Subprocess design
Incorrect sub-process and exception handling
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
Correct sub-process and exception handling
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
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
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.
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.
•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 by Example –Reusable subprocess
Call Activity.
Quote to cash –Main Process
Quote Process –Child Process
© 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 & Oracle BPM Suite 11g
Process Portal
Create and
Submit Order
Process
Payment
Notify
User
Download
Video
Customer
Customer
Copy to
S3
Create and
Submit Order
Process
Payment
Notify
User
Download
Video
Customer
Customer
Copy to
S3
Shared BPMN
Model
Business View
BPA
Web based customization
Of BPMN processes
Process Composer
Rich User Interactions & Monitoring
(BPMN Process Views)
Unified Runtime
BPMN
Human
Workflow
Business Rules
Repository
31
Process Portal
BPM Studio
(Model in BPMN 2.0)
Run natively on the
BPMN 2.0 run-time
engine
BPEL
Oracle Confidential –Do Not Distribute
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
•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
BPMN at Design-Time
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
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.
•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
BPMN at Run-time
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
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.
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
Variable Panel to
add/delete
Project/Process
Variables and
Business Indicators
Simulation Panel to
create simulation
models and
execution
Log Tab
where
studio is
reporting
errors
concurrently. Each project
can be expanded to see
different project assets
Documentation Tab to enter
process, activity, use cases and
on line Help
© 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
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
Receive
•Sub-process Activities: Call Activity,
Embedded Sub-process
•Events : None, Message, Timer, Error,
Signal
© 2009 Oracle Corporation –Proprietary and
Confidential BPMN for BPM Bootcamp 11g
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.
© 2009 Oracle Corporation –Proprietary and
Confidential BPMN for BPM Bootcamp 11g
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
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
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
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?
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
Knowledge Check
1.What’s the difference between Exclusive and Inclusive Gateways?
2.Draw the synchronization of two parallel paths
3.What do Lanes generally represent? And what can they represent?
4.How do Associations affect the main flow of a Process?
© 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.
© 2009 Oracle Corporation –Proprietary and Confidential BPMN for BPM Bootcamp 11g
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.
Recommended