Академический Документы
Профессиональный Документы
Культура Документы
0
Meera Srinivasan Senior Principal Product Manager
The following 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 Oracles products remains at the sole discretion of Oracle.
Agenda
Overview of BPMN 2.0
BPMN Gateways BPMN Subprocesses
BPMN Events (Start, End, Catch, Throw, Boundary & Event Subprocess)
Learn More
Progressive Refinement
Analyst Tools Developer Tools
Analysts model at their level of abstraction Developers refine the model with implementation details Different perspectives are maintained
No loss in translation
What you model is what you execute
Model portability
Process Execution Engines
Mastering BPM 11 g Webinar Series
BPM Composer
BPM Run-time
Source of truth
Activity
Gateway
Event
End Event
Task Types
Interactive Task Service Task Rules Task
Task
Atomic activity. Different types of tasks distinguished by different markers. Service Task (Synchronous system interaction ) Send and Receive Tasks (Asynchronous system interaction) Interactive 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)
BPMN Lanes
BPMN Lanes are similar to swimlanes. BPMN Lanes are Process Roles and have to be mapped to other Process Roles or LDAP users or groups. The assignee of Interactive Tasks is usually derived from the swimlane Role.
Lane
FYI
For notification only
Group
Parallel approval pattern Task is completed when the Voted Outcomes are in
Initiator
Initiate the process from the Task Work list Form
Management
Sequential list of approvers up the management chain Starting participant is the manager of the Role
User
Individual user(s) or group(s)
10
Business Catalog (1 of 2)
Shared artifacts promote collaborative process development.
BPM Project
Org Chart
BPMN Processes
Simulations
User Interfaces
Business Indicators
Business Catalog
Data Types Events Rules Exceptions Human Tasks
Services
(Adapters, External, BPEL, Mediator)
Business Catalog holds process related artifacts. Provides building blocks for implementing processes. Promotes sharing and reuse. Facilitates collaboration between Business and IT.
Business Catalog (2 of 2)
Linkage to Business Catalog artifact makes process step concrete
Business Catalog Artifact Business Object (Complex data type) Events (EDN) Exception Linkage to BPMN model 1. Arguments for Implementation artifacts 2. Arguments for Message Events 3. Data Objects (variables) Signal Event 1. Error Event 2. Message Event (in the case of Fault)
1. 2. 3. 4.
Business & IT share the same model Enrich model by linking process step to implementation artifacts.
Add Implementation Reference
Drag & drop Data Objects to set the input and output arguments
Output arguments
XSLT editor
Agenda
Overview of BPMN 2.0
BPMN Gateways BPMN Subprocesses
BPMN Events (Start, End, Catch, Throw, Boundary & Event Subprocess)
Learn More
Gateway Types
Requirement
Parallel paths all outgoing paths are taken
Gateway
AND Gateway
Details
Exclusive Gateway
OR Gateway
Multiple outgoing paths are taken but some of these paths Complex Gateway can be aborted based on some data condition One and only Event can be received
Mastering BPM 11 g Webinar Series
Exclusive Gateway (1 of 2)
Order of Evaluation
19
Exclusive Gateway (2 of 2)
Exclusive Gateways can be used to create arbitrary graphs
20
And Gateway
Parallel Split Parallel Join
21
OR Gateway
Inclusive or OR Gateways are Decisions where there is more than one possible outcome. They are usually followed by a corresponding merging Inclusive (OR) Gateway or Complex Gateway. Outgoing paths of an Inclusive Gateway have a default path as well.
22
Complex Gateway
Used when complex conditions needs to be specified.
23
Agenda
Overview of BPMN 2.0
BPMN Gateways BPMN Subprocesses
BPMN Events (Start, End, Catch, Throw, Boundary & Event Subprocess)
Learn More
24
Embedded Subprocess
Compound activity It has Start and End Event only None Start Event is allowed Cannot have Lanes and exhibits block-structure semantics Collapsed or expanded Usage
Simplified visualization; Hide implementation details Event handling across a set of activities Looping
25
Reusable subprocess ( 1 of 2)
Quote to cash Parent Process
Call Activity.
Call Activity is used to call another BPMN process. When invoking a child process (Re-usable subprocess), it is necessary to pass instance context from the parent to child process and vice-versa. Parent process waits until child process is complete.
Note: Reusable subprocess can have only None Start Event and Initiator user activity cannot be used.
26
Reusable subprocess (2 of 2)
Creating Reusable Subprocess Defining arguments for Reusable Subprocess
27
28
Before (check) = Evaluate condition before looping (WHILE loop), >= 0 Before (uncheck) = Evaluate condition after looping (REPEAT UNTIL loop) , >=1
29
Looping count
Termination condition
Completion Condition
Is Sequential
30
Completion Condition
31
Reusable Subprocess
Synchronous (two-way) Service Task invokes another BPMN Process exposed as a Service Reusable and called by multiple parent processes Need to pass variables back and forth; Does not have access to parent process context Events caught at the Boundary Event of Call Activity Reusable BPMN process cannot have Initiator Task and can have only None Start Event Can have swimlanes
Access to parent process variables and context Events caught by Boundary Event
Embedded subprocess cannot have Initiator Task and can have only None Start Event Cannot have swimlanes
Agenda
Overview of BPMN 2.0
BPMN Gateways BPMN Subprocesses
BPMN Events (Start, End, Catch, Throw, Boundary & Event Subprocess)
Learn More
33
34
35
Multiple start events of different trigger types. The first event that arrives triggers the process.
36
Process completes only when all Paths are completed. Common Types of End Events
o None Normal Completion. The control passes to the subsequent step in the main process if a subprocess completes normally. o Message Sends a Message before Completion. o Signal Broadcasts (publishes) signal before Completion. o Error Throws Error Before Completion. Running Parallel paths are aborted. Exception is thrown. o Terminate Process ends abruptly. Running parallel paths are aborted.
37
Signal Event
The Signal Events are used for publishing or subscribing to a well known topic using broadcast mechanisms. Browse for Events specified in the Business Catalog.
EDN Events are automatically added to the BPM Business Catalog and available for associating it with BPMN Signal Events
38
Error Event
Check for showing System Exceptions Browse for Business or System Exception Pre-defined Business Exceptions in Business Catalog Specify Business or System Exception
System Exceptions
39
Message Event (1 of 2)
Initiate Conversation
Conversation = Initiates You can either create a Service interface on the fly (or) Browse for an existing Service from the Business Catalog. Choose asynchronous or synchronous operation. Define the Payload Name the Operation
40
Message Event (2 of 2)
Continues Conversation
Conversation = Continues Message Endpoints Send (throw) nodes from other BPMN processes in BPM Project
Initiator Node = Start Event of Process Message Fault Choose Business Exception
41
42
catch Timer Intermediate Event Acts as a delay mechanism. Based on a specific time date or time cycle. catch Message Intermediate Event Receives Message. Used for requestresponse and receive-reply scenarios.
The catch events that occur in the middle of the process blocks or waits for the events to occur. The execution is stalled and does not proceed until the event arrives. Timer Intermediate Event is of Catch type only. The Timer Events use the system clock for scheduling.
45
Handling Exceptions ( 1 of 2)
System Exceptions
46
Handling Exceptions (2 of 2)
BPMN synchronous service
Message Fault
Message End Event defined as Message Fault Service Task is used for invoking Sync BPMN Process Fault thrown by Sync BPMN Process is caught by Boundary Error Event
Interrupting Boundary Error Event - the normal flow is interrupted and the exception path is taken
Non-Interrupting Boundary Timer Event Event Handling Path
Non- Interrupting Boundary Timer Event - both the normal flow and the event handling path is taken
48
49
50
51
Initiator
Fault
Operation Name
Message Conversations
Receive Reply
Request Response
A throw Message Intermediate Event (send) followed by catch Message Intermediate Event (receive) is Event (send) is asynchronous request-response scenario.
A catch Message Intermediate Event (receive) followed by throw Message Intermediate receivereply scenario.
54
Process Interactions
Call Activity & Reusable BPMN process
Synchronous (two way) Call Activity blocks until Reusable process is completed All types of Events thrown by Reusable process can be caught Unified audit trail
Service Task
Synchronous (two-way) Service Task invokes another BPMN Process exposed as a Service Only Message Faults can be thrown by the invoked process and caught No
Reusable BPMN process cannot have Initiator Task and can have only None Start Event
Agenda
Overview of BPMN 2.0
BPMN Gateways BPMN Subprocesses
BPMN Events (Start, End, Catch, Throw, Boundary & Event Subprocess)
Learn More
56
BPMN vs BPEL
We are agnostic customers can go all BPEL or all BPMN. But when they ask our best practices: BPEL
Developer models and implements (typically integrations) Want a programming language (block structured, flow-based, trycatch, etc) Limited to flows that are more structured Developers implementing coarse-grained service building blocks
BPMN
Top-level processes, true business processes Anytime business is involved in a process (see it, edit it, model it) Less structured processes Arbitrary directed graph good for some processes that are hard to implement in BPEL due to its structured nature
57
Available Now
Hands-On Tutorial
http://snipurl.com /bpm11packt
OTN
Coming Soon
Follow Us
Handbook
http://snipurl.com /bpm11handbook http://blogs.oracle http://bit.ly/ twitter.com/ .com/bpm dp3kIh oraclebpm
Mastering BPM 11 g Webinar Series