SlideShare a Scribd company logo
BPMN 2.0 On One Page
KNOWLEDGE
QUOTA
“Mohamed Zakarya
Enterprise Architect
Bio
BPMN
let’s Play A Game !!
Course Content
▷Quick Overview
▷Your first Modeling
▷Process Flow & Token
▷Activities
▷Gateways
▷Events
▷Swimlane & Message flow
▷Artifacts & Data Objects
1 Quick Overview
▷BPMN on One Page
▷What is BPMN ?
▷History of BPMN
▷Goals of BPMN
▷BPMN & BPEL
BPMN on One Page
What is BPMN ?
BPMN - Business Process Model and Notation
▷ NOTATION Definition
- A system of symbols used to represent special things.
- Mathematics has lots of notation!
What is BPMN ?
▷ MODEL Definition
- Something that is made to be like another thing
- This is a model of a house.
- A Mathematical Model tries to copy how a real world thing works using equations.
- we can use the equations to try new things, such as predict what happens
when sizes, temperatures, prices, etc. change.
What is BPMN ?
▷ Business Process
- Collection of related, structured activities or tasks that produce a specific
service or product
- Business Process serve a particular goal for a particular customer(s)
What is BPMN ? – Real World Example
What is BPMN ?
▷ Business Process Modeling (BPM)
- Activity of representing processes of an enterprise, so that the current
process may be analyzed, improved, and automated
- BPM is typically performed by business analysts
BPMN Model Notation
What is BPMN ?
▷Event-Driven Process Chains (EDCs)
▷Unified Modeling Language (UML)
▷ Notations used for business process modeling also includes
EDC Model UML Model
History of BPMN
- Fundamental evolution of the original standard
- Extends the scope and capabilities of BPMN in several areas
▷ BPMN 2.0
Goals of BPMN
▷ Standardized graphical notation exists for modeling business processes.
▷Notation understood by all stakeholders—from business analyst to process implementer
▷Notation allows for mapping of a graphical notation to an executable XML-based process
language (BPEL)
▷ Allows an interchange of diagrams between tools, using an interchange format.
BPMN & BPEL
▷ BPEL
- XML-based language for describing a business process
- BPEL engine executes the process description
- BPEL messages are typically used to invoke remote services, orchestrate process
execution and manage events and exceptions
- Standardized by OASIS in 2004 after collaborative efforts to create the language
by Microsoft, IBM and other companies.
- BPEL is the Execution Phase of Business Process Management
BPMN & BPEL
- Standard set of diagramming conventions for describing business processes
- Visualize set of process flow semantics within a process and communication
between independent processes
- BPMN is the Design Phase of Business Process Management
▷ BPMN
There are multiple mapping tools between BPMN , BPEL
2 Your first Modeling
▷Basic elements of BPMN
▷Events
▷Activities
▷Gateways
Basic elements of BPMN
Set of activities to perform specific goal
▷ Process
1. Activity
Work that is performed within the process (Task)
2. Event
Something that happened during the course of process
3. Gateway
Decision points to control the path of flow.
4. Sequence Flow
Show order of flow between activities.
Events
something that happens during a business process
▷ Starts
Triggers a process and marks the beginning of the flow
▷ Ends
Marks the process end , after all Tokens reached , the process instance is terminated.
▷ Delays, or interrupts the flow.
Occurs between the start and the end event and influences the flow
Events – BPMN Example
Book Car with start , end events
Invoice Process with Intermediate Event
Events – Real World Example
Activities
Business processes consist of work steps (Activities) that are executed by
organization units or IT Systems to produces a service or product
▷ Task
An atomic activity within a process,
▷ Call Activity
A reusable Activity Task or Sub Process
▷ Sub Process
Compound activity represents a collection tasks and sub-processes
Activity Types :
Activities – BPMN Example
Eat Chinese Food task activity
Order PaymentOrder Request
Send Notification
Message
Order Payment Subprocess Activity
Activities – BPMN Example
SSO Login Call Activity
SSOLogin
Appointment
Request
Appointment
Message
Confirmation
Appointment
Confirmed
Activities – Real World Example
Gateways
Controls how the sequence flow spreads and merges within a process
▷Parallel Gateway
- Splits the sequence flow into two or more parallel flows
- Synchronizes or merges the parallel flows again
Basic Gateways Types:
▷ Exclusive Gateway
- Restricts flow only one alternative is selected from
a set of alternatives at runtime ( If … Else if …. )
Gateways – BPMN Example
Exclusive Gateway , only one task
will be executed A || B || C
Gateways – BPMN Example
Audit Sales , Audit Accounting will be parallel operates
after announce Audit Task finished
Gateways – Real World Example
Parallel
Exclusive
BPMN - Hello World
BPMN Demo using Microsoft Visio
- Show Events
- Show activities , activity types
- Show sequence flows
- Show basic gateway types
3 Process Flow & Token
▷Token Generation
▷Sequence flow
▷Conditional sequence flow
▷Default sequence flow
Token Generation
1
Token Generation
Token like a virtual marble , which is generated when a process is called.
Token never crosses the message floe to reach the flow of another pool
When a process begins , he start event generates a token.
The token migrates to the first activity along with the
Sequence flow
When token touches an activity , it executed
After activity execution , the token goes to the next flow
Object via the sequence flow.
Token Generation – BPMN Example
Flash sample for Token Generation – Parallel Gateway
BPMN – Token Generation Demo
BPMN Demo using Microsoft Visio
Sequence Flow
2
Sequence Flows
Describes the flow sequence of activities in the process
▷ Sequence Flow
Normal sequence flow , define execution order of activites
▷Default Sequence Flow
Whenever no condition of the other outgoing sequence flows is met
(Default: in [while] loop)
▷Conditional Sequence Flow
Sequence flow with a condition (if --- then)
Sequence Flows – Normal Sequence flow
- Sequence flow is only used for mapping possible flow sequences , not for
describing the message exchange between pools.
- Sequence flow not allowed beyond pool boundary , between pools ,
data objects and comments.
- Start event can’t have an incoming sequence flow.
- End event can’t have outgoing sequence flow.
Sequence Flows – Conditional Sequence flow
- Sequence flow with condition
- If the condition is true , the conditional sequence flow receive a token
after the activity has be completed
- It must never come from a gateway of event.
- If activity has several outbound conditional sequence flow , every sequence flow
receive a token whose condition is met.
- In contrast to exclusive gateway , the conditions don’t have to be mutually exclusive.
Sequence Flows – Default Sequence flow
- Sequence flow indicated with slash ( / )
- If no condition is true at a branch , the default flow receive the token , so the flow
don’t get stuck (deadlock).
- Like else in programming ( if .. Else if .. Else if .. Else) or (default in switch case) .
Sequence Flows – Real World Example
Economy class is the default sequence flow
Business class is the conditional sequence flow
Sequence Flows – BPMN Example
Sequence flow types
BPMN – Sequence flow Demo
BPMN Demo using Microsoft Visio
- Show Sequence flow
- Show Conditional sequence flow
- Show default sequence flow
4 Activities
▷Tasks , subprocess , process
▷Activity Types
▷Activities Markers
▷Task Types
Activity Types
Task / Sub-process
1
Activity Types : 1. Task / Sub-Process
Sub-Process : is a compound activity that represents a collection of
other tasks and sub-processes
Task object shares the same shape as the Sub-Process except + sign
Task : is an atomic activity within a process flow
Task Sample Sub-Process
Sample
Call Activity
2
Activity Types : 2. Call Activity
Activity defined in a process that is external to the current process definition.
Call Activity is a Point in the Process where a global Processor a Global Task is used
It allows you to create a reusable process definition that can be reused
in multiple other process definitions.
Activity Types : 2. Call Activity Real World Example
Login with
Google Cloud Identity
Activity Types : 2. Call Activity BPMN Example
Checkout
Login with Google
Cloud Identity
Select Payment
Method
Call Activity Sample
Activity Types : 2. Call Activity BPMN Hands-on
BPMN Demo using Microsoft Visio
Transaction Activity
3
Activity Types : 3. Transaction
Specialized type of sub-process that will have a special behavior that is
controlled through a transaction protocol (such as WS-Transaction)
Transaction
Sample
Logical unit of work which allows grouping of a set of individual
activities, so that they either succeed or fail collectively
Like atomic transaction type ( all success or nothing)
Activity Types : 3. Transaction Real World Example
Online Payment
Transactions
Activity Types : 3. Transaction BPMN Example
Transaction Activity Sample
Activity Types : 3. Transaction BPMN Hands-on
BPMN Demo using Microsoft Visio
Activity markers Types
Sub Process Activity
1
Activity markers Types – 1. Sub-Process
Subprocesses represent a collection of activities (and gateways and flows)
being represented collectively as a single activity
Sub-Process can have an expanded or collapsed representation
Reduce the complexity of the entire flow so it becomes
much easier to understand the logic of the process!
Sub-process Activity Notation
Activity markers Types – 1. Sub-Process Real World Example
Shipping process in
Online Purchase Orders
Activity markers Types – 1. Sub-Process BPMN Example
Sub-process Task Sample
Activity markers Types – 1. Sub-Process BPMN Hands-on
BPMN Demo using Microsoft Visio
2
Loop Activity
Activity markers Types – 2. Loop Activity
Loop Activity is repeated until the loop condition is met (While loop)
Loop condition is defined in the activity properties
Loop can applied into task or subprocess
Like while(condition) in programming
Loop Subprocess
Activity
Loop Task
Activity
Activity markers Types – 2. Loop Activity Real World Example
Continuous Learning Loop
Activity markers Types – 2. Loop Activity BPMN Example
Loop Task Sample
Brainstorm Draft Edit Draft Final Draft
Activity markers Types – 2. Loop Activity BPMN Hands-on
BPMN Demo using Microsoft Visio
3
Multi Instance Activity
Activity markers Types – 3. Multi Instance Activity
Multi-instance activity can run with other identical activities simultaneously.
Multi-instance marker will cause the activity to be executed multiple times at runtime.
The instances may executed in parallel or sequential
Like foreach in programming
Multi-instance Activity
Notation
Activity markers Types – 3. Multi Instance Activity Real World Example
Transport containers
from ship
Review Employees
Reports
Activity markers Types – 3. Multi Instance Activity BPMN Example
Multi Instance Sample
Ship arrived the
harbor station
Transport Container
from Ship
Activity markers Types – 3. Multi Instance Activity BPMN Hands-on
BPMN Demo using Microsoft Visio
Activity markers Types – Multi Instance VS Loop Activity
Use Loop when :
Use multi-instance when :
Loops for as long as the underlying looping condition is true.
Condition must be evaluated for every loop iteration (In beginning or end of iteration).
> While (condition)
Activity is performed many times with different data sets
For example : when a company’s manager receives reports from his employees
, he or she will need to evaluate them many times, each time with different data
> Foreach ( x in array of instants)
4
Ad Hoc Activity
Activity markers Types – 4. Ad Hoc Activity
Ad hoc subprocess is one in which the specified steps are defined,
but the order of operations is not
This type of representation is common for documenting of manual processes
that do not have defined sequences.
Use it if there is no execution dependency between activities inside
ad hoc process .
Ad hoc activity
Notation
Activity markers Types – 4. Ad Hoc Activity Real World Example
Ad hoc technical
support channels
Activity markers Types – 1 4. Ad Hoc Activity BPMN Example
Ad hoc activity Sample
Activity markers Types – 4. Ad Hoc Activity BPMN Hands-on
BPMN Demo using Microsoft Visio
5
Compensation Activity
Activity markers Types – 5. Compensation Activity
Compensation is concerned with undoing steps that were already successfully completed,
because their results and possibly side effects are no longer desired and need to be
reversed.
If an Activity is still active, it cannot be compensated, but rather needs to be canceled.
Compensation is performed by a compensation handler.
A compensation handler performs the steps necessary
to reverse the effects of an Activity
Compensation
Activity Notation
Activity markers Types – 5. Compensation Activity Real World Example
Flight Cancellation
Compensation plan
Activity markers Types – 5. Compensation Activity BPMN Example
Compensation Activity Sample
Compensation throw Event ,
which trigger compensation process
handling catch Compensation Event ,
Which connected to compensation undo task
Compensation marker task that will
Perform undo action
Event sub-process that will handle
the compensation process , in case of failure
Activity markers Types – 5. Compensation Activity BPMN Hands-on
BPMN Demo using Microsoft Visio
Task Behavior Types
User Task
1
Task Behavior Types – 1. User Task
Task where a human performer performs the Task with the assistance of a
software application ( process-aware app)
It represents a typical “workflow” Task
User Tasks are assumed to be performed via an application’s user interface
User Task
Notation
Task Behavior Types – 1. User Task Real World Example
A customer fulfils an
online registration form
An editor approves an
article for publishing
Task Behavior Types – 1. User Task BPMN Example
User Task Sample
Task Behavior Types – 1. User Task BPMN Hands-on
BPMN Demo using Microsoft Visio
Manual Task
2
Task Behavior Types – 2. Manual Task
Task that is expected to be performed without the aid of
▪ Any business process execution engine
▪ Or any application
Manual Task
Notation
Type of BPMN Task which requires human involvement to complete.
A Manual Task provides no system interface to the performer,
so it is inherently not executable in a BPMS.
Task Behavior Types – 2. Manual Task Real World Example
Loading a truck with product
A telephone technician
installs a telephone at a
customer location
Task Behavior Types – 2. Manual Task BPMN Example
Prepare
Sales Report
Sign-Off Report
by Sales Manager
Manual Task Sample
Task Behavior Types – 2. Manual Task BPMN Example
BPMN Demo using Microsoft Visio
Send Task
3
Task Behavior Types – 3. Send Task
Simple Task that is designed to send a Message to an external Participant
Once the Message has been sent, the Task is completed
The actual Participant who sends the Message can be identified by connecting the Send
Task to a Participant by using a Message Flow.
Send Task
Notation
Participant1Participant2
Task Behavior Types – 3. Send Task Real World Example
When the purchase is
complete, send the
invoice to the customer,
When the article is
published, inform the
author
Task Behavior Types – 3. Send Task BPMN Example
Send Task Sample
Task Behavior Types – 3. Send Task BPMN Example
BPMN Demo using Microsoft Visio
Receive Task
4
Task Behavior Types – 4. Receive Task
A Receive Task indicates that the process has to wait for a message
to arrive from external participant in order to continue ,
Task is completed once message has received
Receive Task is often used to start a Process.
Receive task is the opposite of the Send Task.
Receive Task
Notation
Task Behavior Types – 4. Receive Task Real World Example
Begin with the delivery
process as soon the shipping
address is approved
Teacher receive test
answer to start evaluating
students grades
Task Behavior Types – 4. Receive Task BPMN Example
Receive Task Sample
Task Behavior Types – 4. Receive Task BPMN Example
BPMN Demo using Microsoft Visio
Business Rule Task
5
Task Behavior Types – 5. Business Rule Task
▪ Provides a mechanism for the Process to provide input to a Business Rules Engine
and to get the output of calculations that the Business Rules Engine might provide
▪ InputOutputSpecification property of Task :
allow process to send data to and receive data from the Business Rules Engine
Business Rule
Task Notation
Task Behavior Types – 5. Business Rule Task – (BRE – BRMS)
Software component that allows non-programmers to add or change business logic
in a business process management system (BPMS)
Business rules engine will include the following :
Business Rule Repository
Database to store Business rules defined by Business Users
Business Rule Editor
User interface to manipulate business rules
Reporting Component
User interface to query , report current rules
Rules Engine Execution Core
Actual programming code that enforces the rules
Task Behavior Types – 5. Business Rule Task – (BRE – BRMS)
https://en.wikipedia.org/wiki/Business_process_management
Task Behavior Types – 5. Business Rule Task Real World Example
Send the appropriate product offer
according to the user’s behavior.
Calculate the insurance cost
according to the user’s profile
Task Behavior Types – 5. Business Rule Task BPMN Example
Business Rule Task Sample
Task Behavior Types – 5. Business Rule Task BPMN Example
BPMN Demo using Microsoft Visio
Service Task
6
Task Behavior Types – 6. Service Task
Service Task
Notation
▷ Service Tasks is a Task that uses some sort of service, which could be a Web
service or an automated application
▷ As opposed to the User Task and Manual Task, a Service Task does not
require any human interaction
▷ It is completed automatically, by using some sort of an external service
(outside the corresponding “process execution environment”)
Task Behavior Types – 6. Service Task Real World Example
A payment processed by
PayPal services
Converting a price into a specific
currency using an online currency
converter
Task Behavior Types – 6. Service Task BPMN Example
service Task Sample
Post article Publish on Twitter
Yes
No
Through
Twitter API
Task Behavior Types – 6. Service Task BPMN Example
BPMN Demo using Microsoft Visio
Script Task
7
Task Behavior Types – 7. Script Task
▷ The modeler or implementer defines a script in a language that
the engine can interpret
▷ In contrast to service task , script task is executed by a business process
engine.
▷ When the task is ready to start , the engine will execute the script
Script Task
Notation
Task Behavior Types – 7. Script Task Real World Example
Add a unique ID to a
help-desk ticket.
Calculate the total cost by
summing product cost and
shipping cost
Task Behavior Types – 7. Script Task BPMN Example
Script Task Sample
Task Behavior Types – 7. Script Task BPMN Example
BPMN Demo using Microsoft Visio
5 Gateways
▷Exclusive gateways
▷Parallel gateways
▷Inclusive gateway
▷Complex gateway
Exclusive Gateway
(If .. Else if .. )
1
Exclusive gateway
▪ Exclusive Gateway (Decision) is used to create alternative paths within a Process flow.
For a given instance of the Process, only one of the paths can be taken.
▪ A Decision can be thought of as a question that is asked at a particular point
in the Process.
▪ The question has a defined set of alternative answers. Each answer
is associated with a condition Expression
Exclusive Gateway Sample (Data-based Exclusive Gateway)
Exclusive gateway – Real world example
Road Diversion
Exclusive gateway - BPMN Example
Exclusive gateway Sample
(with X Marker or not is the same)
Process Request
Order
Amount > 1000
Order Sale by 10%
Order Delivery
Exclusive gateway - BPMN Hands-on
BPMN Demo using Microsoft Visio
https://knowhow.visual-paradigm.com/know-how_files/2009/12/04_Exclusive_gateway.html
Token Demo
Event-based gateway
2
Event-based gateway
Exclusive Gateway
Notation
▪ Event-Based Gateway are similar to exclusive gateway but the trigger of gateway is
base on event occur instead of evaluate condition.
▪ Event-base gateway , is always followed by catching events or receive tasks.
▪ Sequence flow is routed to the subsequent event/task which happens first.
▪ Basically, the decision is made by another Participant (which send message)
based on data that is not visible to Process
Event-based gateway
Event-Based Gateway example using
Message Intermediate Events
Event-Based Gateway example
using Receive Tasks
Event-based gateway – Real world example
Event-based Gateway
Triggered by time Alarm , sensor Alarm
Event-based gateway - BPMN Example
Event-based gateway Sample
Event-based gateway - BPMN Hands-on
BPMN Demo using Microsoft Visio
https://knowhow.visual-paradigm.com/know-how_files/2009/12/10_Event-Based_Gateway.html
Token Demo
Parallel gateway
3
Parallel gateway
▪ Parallel Gateway is used to synchronize (combine) parallel flows
and to create parallel flows
▪ A Parallel Gateway creates parallel paths without checking any condition , each
outgoing Sequence Flow receives a token upon execution of this Gateway
▪ For incoming flows, the Parallel Gateway will wait for all incoming flows before
triggering the flow through its outgoing Sequence Flows
Parallel Gateway Sample (Create & Combine)
Parallel gateway – Real world example
Multi Work (Parallel)
Parallel gateway - BPMN Example
Parallel gateway Sample
Prepare
Results
Email Results
of Vote
Post Results
on Web site
Enable
Feedback
Parallel gateway - BPMN Hands-on
BPMN Demo using Microsoft Visio
https://knowhow.visual-paradigm.com/know-how_files/2009/12/11_Parallel_Gateway.html
Token Demo
Inclusive gateway
4
Inclusive gateway
Inclusive Gateway Notation
▪ Inclusive gateway can be used to create alternative but also parallel paths within a
Process flow.
▪ Unlike the Exclusive Gateway, all condition Expressions are evaluated. The true
evaluation of one condition Expression does not exclude the evaluation of other
condition Expressions.
▪ All Sequence Flows with a true evaluation will be traversed by a token.
▪ Since each path is considered to be independent, all
combinations of the paths MAY be taken, from zero to all.
Inclusive gateway – Real world example
Applicable for Exclusive OR Parallel
OR
Mixer can Squeeze one or multiple fruits or vegetables
Inclusive gateway - BPMN Example
Inclusive gateway Sample
Ship goods
By Air Contract
Airlines
By Sea
Contact
Container Port
Prepare
Delivery Note
Exclusive || Parallel || or Both Gateway
Inclusive gateway - BPMN Hands-on
BPMN Demo using Microsoft Visio
https://knowhow.visual-paradigm.com/know-how_files/2009/12/07_Inclusive_gateway.html
Token Demo
6 Events
▷Start Event
▷End Event
▷Intermediate Event
Events
something that happens during a business process
▷ Starts
Triggers a process and marks the beginning of the flow
▷ Ends
Marks the process end , after all Tokens reached , the process instance is terminated.
▷ Intermediate (Delays, or interrupts the flow)
Occurs between the start and the end event and influences the flow
Events - Markers
Events – Real World Example
Events like Triggers
Start Event
1
Start Event
the Start Event indicates where a particular Process will start.
In terms of Sequence Flows, the Start Event starts the flow of the Process, and thus,
will not have any incoming Sequence Flows
Start Event is OPTIONAL , Process MAY (is NOT REQUIRED to) have a Start Event
If there is an End Event, then there MUST be at least one Start Event.
All Flow Objects that do not have an incoming Sequence Flow SHALL be instantiated
when the Process is instantiated
Start Event – triggers Types
Start Event – triggers Types
End Event
2
End Event
End Event indicates where a Process will end.
In terms of Sequence Flows, the End Event ends the flow of the Process , and thus,
will not have any outgoing Sequence Flows—no Sequence Flow can connect
from an End Even
End Event is OPTIONAL , Process MAY (is NOT REQUIRED to) have a End Event
If there is an Start Event, then there MUST be at least one End Event.
All the tokens that were generated within the Process MUST be consumed by an End
Event before the Process has been completed.
End Event – triggers Types
End Event – triggers Types
Intermediate Event
3
Intermediate Event
Intermediate Event indicates where something happens (an Event) somewhere
between the start and end of a Process
It will affect the flow of the Process, but will not start or (directly) terminate the
Process
Intermediate Events can be used to:
▪ Show where Messages are expected or sent within the Process,
▪ Show delays are expected within the Process
▪ Disrupt the normal flow through exception handling, or
▪ Show the extra work needed for compensation
Intermediate Event – triggers Types
Intermediate Event – triggers Types
Trow & Catch
Interrupting & Non- Interrupting
Throw & Catch Events
You can set an event to be catch or throw.
Catch means to react to a trigger,
while Throw means to create a trigger
Interrupting & Non- Interrupting
Non-interrupting events :
The difference is that when the event is triggered, the exceptional flow
occurs in parallel to the main flow
7 Swimlane & Message flow
▷Pool
▷Lane
▷Message flow
Swimlane
- In a swimming pool, there are lanes designated for swimmers. Swimmers get
their own lanes to swim in without swimming across another.
- Swimlanes may be arranged horizontally or vertically.
- For horizontal swimlanes, process flows from left to right, while process in
vertical swimlanes flow from top to bottom.
A Swimlane is a graphical container for
partitioning a set of activities from other
activities.
BPMN has two different types
of Swimlanes “Pool” and “Lane.”
Pool
1
Pool
- Pools represent participants in a business process
- A Pool is a container for partitioning a Process from other Pools/Participants
- A Pool is the graphical representation of a Participant in a Collaboration
- It can be a specific entity (e.g. Partner Company , Department)
- A Pool acts as a container for Sequence Flows between Activities (of a contained Process)
Pool Notation
Name
Pool – Black box
- A Pool is not required to contain a Process, i.e., it can be a “black box.”
- Blackbox pool is often used when modeling entities external to the business process.
- As it is external, its internal flow does not have any impact on the process being
modeled, hence can be skipped, producing a Blackbox
Blackbox Pool Notation
Pool – BPMN Example
Customer Pool Example
Pool – BPMN Example
BPMN Demo using Microsoft Visio
Lane
2
Lane
A Lane is a sub-partition within a Process(often within a Pool).
Lanes should represent specific roles. For instance, when you have a pool Department,
you may have Department Head and General Clerk as lanes.
BPMN Lanes should not represent individuals. ( represent Role not individual )
Lanes may contain other lanes to form a nested structure when needed.
Lane within Pool Notation
Lane – Real world Example
Word press User Roles Example
Lane – BPMN Example
Pizza Vendor Roles Example
Lane – BPMN Example
BPMN Demo using Microsoft Visio
Message Flow
3
Message flow
A Message Flow is used to show the flow of Messages between two Participants
that are prepared to send and receive them.
A Message Flow MUST connect two separate Pools. They connect either to
Pool boundary or to Flow Objects within the Pool boundary.
Message flows can be attached to a pool, activity or event.
Message Flows cross the boundaries of a pool , An activity or event in one pool
can initiate a message to another pool.
Message Flow
Notation
Message flow VS Sequence flow
Message Flows cross the boundaries of a pool, and represent exchange of
information between participants.
whereas Sequence Flows represent sequence of flow between flow objects
within a specific participant (will never cross over the boundaries of a pool)
Message Flow
Notation
Sequence Flow
Notation
Message Flow – Real world Example
Supply chain exchange messages between Process participants
Message Flow – BPMN Example
Message flow with attached message
https://knowhow.visual-paradigm.com/know-how_files/2009/12/01_Simple_BPD.html
Collaboration Diagram
BPMN Collaboration Diagram
- A Collaboration represents interactions between two or more business entities.
- A Collaboration depicts a global point of view. It shows the interactions between
participants in general
- A Collaboration contains two or more pools, representing participants in the
collaboration , even with external participants
- Messages exchanged between participants are shown by message flows that connect
two pools together (or objects within the pools)
BPMN Collaboration Diagram – Real world Example
Team Work Collaboration
BPMN Collaboration Diagram - Example
Collaboration diagram with two Black Box Pools
BPMN Collaboration Diagram - Example
Collaboration diagram with two Pools showing process
BPMN Collaboration Diagram – BPMN Example
BPMN Demo using Microsoft Visio
8 Artifacts & Data Objects
▷Group
▷ Comment
▷ Association
▷ Data object
Data Object
Goup
Assosiation
Text
Annotation
Artifacts : Group
1
Group
- The Group object is an Artifact that provides a visual mechanism
to group elements of a diagram informally.
- As an Artifact, a Group is not an Activity or any Flow Object, and, therefore,
cannot connect to Sequence Flows or Message Flows.
- Groups are not constrained by restrictions of Pools and Lanes , This means Group
can stretch across the boundaries of a Pool to surround Diagram elements
- Use groups to better arrange your BPMN diagram and increase
its usefulness to your organization. Group
Notation
Goup
Group - BPMN Example
Group Sample
Usually, you need this when you want to represent that a group of BPMN Activities
exist within a distributed business-to-business transaction.
Group - BPMN Hands-on
BPMN Demo using Microsoft Visio
Artifacts : Text Annotation
(Comment)
2
Text Annotation
- Text Annotations are a mechanism for a modeler to provide additional information
for the reader of a BPMN Diagram
- Text Annotation can be connected to a specific object on Diagram with an
Association, but does not affect the flow of the Process.
- Text associated with the Annotation can be placed within the bounds
of the open rectangle.
- Add annotations to make your BPMN more readable and
further increase understanding of your process. Text Annotation
Notation
Text
Annotation
Text Annotation - BPMN Example
Text Annotation Sample
Text Annotation - BPMN Hands-on
BPMN Demo using Microsoft Visio
Artifacts : Association
3
Association
- An Association is used to associate information and Artifacts with Flow Objects.
- Associations are usually used to link a Text Annotation or a Data Object
to an element of the process flow.
- Association can show the direction of a flow
Association
Notation
Association - BPMN Example
Association Sample
Friday
Retrieve Issue List Review Issue List
Issue
List
Issue List
[Initial]
Process Triggered every
Friday morning
Association - BPMN Hands-on
BPMN Demo using Microsoft Visio
Data Object
Data Object
- Data Objects represent information flowing through the process such as business
documents ,e-mails or letters.
- Data Objects show the inputs and outputs of Activities, Processes, and Global Tasks
and do not affect the process flow.
- If a process instance is cancelled, all of its Data Object instances become
inactive and, therefore, inaccessible to any external processes
Data Object
Notation
Data Object - Types
Data objects can represent :
- Data placed to the process,
- Data resulting from the process,
- Data that needs to be collected,
- Data that needs to be stored
Data Object – 1. Data Input
Tasks are often data-dependent, meaning the task cannot proceed until
certain data has been collected.
Data inputs represent those data requirements of the business process.
Data Input
Notation
Data Object – 2. Data Output
IF a process generates data, a data output represents the information
produced as a result.
For instance, a BPMN diagram that represents the survey collection
process would output result data and require a data output shape.
Data Output
Notation
Data Object – 3. Data Collection
Represent collection of information like list of order items.
Data collection is denoted differently than a one-time data requirement.
Data Collection
Notation
Data Object – 4. Data Store
Datastore provides a mechanism for Activities to retrieve or update
stored information that will persist beyond the scope of the Process
In a BPMN diagram, you can determine where you will store data
to keep track of your data and increase efficiency.
Data Store
Notation
Data Object - BPMN Example
Data Object Sample
Friday
Retrieve Issue List Review Issue List
Issue
List
Issue List
Process Triggered every
Friday morning
Data Object - BPMN Hands-on
BPMN Demo using Microsoft Visio
“
References
Togaf Online Documentation
Process Group for Togaf
Open 2 Study Course
Togaf Arabic Playlist
“To Be continue .. ☺
Thanks!
Any questions?
You can find me at:
@MohamedZekus
eng.mohamedzakarya@gmail.com

More Related Content

What's hot

BPM Standards - What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)
BPM Standards -  What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)BPM Standards -  What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)
BPM Standards - What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)
Denis Gagné
 
BPMN 2.0 Introduction
BPMN 2.0 IntroductionBPMN 2.0 Introduction
BPMN 2.0 Introduction
Bjoern Reinhold
 
Introduction to BPM
Introduction to BPMIntroduction to BPM
Introduction to BPM
Sandy Kemsley
 
Implementing BPMN 2.0 with Microsoft Visio
Implementing BPMN 2.0 with Microsoft VisioImplementing BPMN 2.0 with Microsoft Visio
Implementing BPMN 2.0 with Microsoft Visio
Goutama Bachtiar
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process Modeling
guest2c3da5c7
 
How to use BPMN* for modelling business processes
How to use BPMN* for modelling business processesHow to use BPMN* for modelling business processes
How to use BPMN* for modelling business processes
Alexander SAMARIN
 
What is BPM?
What is BPM?What is BPM?
What is BPM?
Atle Skjekkeland
 
BPMN 2.0 overview
BPMN 2.0 overviewBPMN 2.0 overview
BPMN 2.0 overview
solomd
 
BPMN tutorial – BPMN 2
BPMN tutorial – BPMN 2BPMN tutorial – BPMN 2
BPMN tutorial – BPMN 2
Eliza Wright
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process Modeling
Sandy Kemsley
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process Modeling
Ang Chen
 
Fundamentals of business process management and BPMN
Fundamentals of business process management and BPMNFundamentals of business process management and BPMN
Fundamentals of business process management and BPMN
Gregor Polančič
 
BPMN 2.0 - an introduction to the Level 1 Palette
BPMN 2.0 - an introduction to the Level 1 PaletteBPMN 2.0 - an introduction to the Level 1 Palette
BPMN 2.0 - an introduction to the Level 1 Palette
Declan Chellar
 
Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)
Peter R. Egli
 
Business Process Management Approach
Business Process Management Approach  Business Process Management Approach
Business Process Management Approach
Navitsumo Consulting Ltd.
 
Concepts Of business analyst Practices - Part 1
Concepts Of business analyst Practices - Part 1Concepts Of business analyst Practices - Part 1
Concepts Of business analyst Practices - Part 1
Moutasm Tamimi
 
How To Explain BPMN To Business Users
How To Explain BPMN To Business UsersHow To Explain BPMN To Business Users
How To Explain BPMN To Business Users
Sandy Kemsley
 
آموزش سریع BPMN - آموزش گام به گام تمامی اجزای زبان مدلسازی
آموزش سریع BPMN - آموزش گام به گام تمامی اجزای زبان مدلسازیآموزش سریع BPMN - آموزش گام به گام تمامی اجزای زبان مدلسازی
آموزش سریع BPMN - آموزش گام به گام تمامی اجزای زبان مدلسازی
pouyafani
 
BPM Fundamentals: Develop Your Game Plan For BPM Success
BPM Fundamentals: Develop Your Game Plan For BPM SuccessBPM Fundamentals: Develop Your Game Plan For BPM Success
BPM Fundamentals: Develop Your Game Plan For BPM Success
Clay Richardson
 

What's hot (20)

BPM Standards - What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)
BPM Standards -  What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)BPM Standards -  What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)
BPM Standards - What is new in BPMN 2.0 and XPDL 2.2 (BBC 2011)
 
BPMN 2.0 Introduction
BPMN 2.0 IntroductionBPMN 2.0 Introduction
BPMN 2.0 Introduction
 
Introduction to BPM
Introduction to BPMIntroduction to BPM
Introduction to BPM
 
Webinar: BPMN with camunda
Webinar: BPMN with camundaWebinar: BPMN with camunda
Webinar: BPMN with camunda
 
Implementing BPMN 2.0 with Microsoft Visio
Implementing BPMN 2.0 with Microsoft VisioImplementing BPMN 2.0 with Microsoft Visio
Implementing BPMN 2.0 with Microsoft Visio
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process Modeling
 
How to use BPMN* for modelling business processes
How to use BPMN* for modelling business processesHow to use BPMN* for modelling business processes
How to use BPMN* for modelling business processes
 
What is BPM?
What is BPM?What is BPM?
What is BPM?
 
BPMN 2.0 overview
BPMN 2.0 overviewBPMN 2.0 overview
BPMN 2.0 overview
 
BPMN tutorial – BPMN 2
BPMN tutorial – BPMN 2BPMN tutorial – BPMN 2
BPMN tutorial – BPMN 2
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process Modeling
 
Business Process Modeling
Business Process ModelingBusiness Process Modeling
Business Process Modeling
 
Fundamentals of business process management and BPMN
Fundamentals of business process management and BPMNFundamentals of business process management and BPMN
Fundamentals of business process management and BPMN
 
BPMN 2.0 - an introduction to the Level 1 Palette
BPMN 2.0 - an introduction to the Level 1 PaletteBPMN 2.0 - an introduction to the Level 1 Palette
BPMN 2.0 - an introduction to the Level 1 Palette
 
Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)Business Process Model and Notation (BPMN)
Business Process Model and Notation (BPMN)
 
Business Process Management Approach
Business Process Management Approach  Business Process Management Approach
Business Process Management Approach
 
Concepts Of business analyst Practices - Part 1
Concepts Of business analyst Practices - Part 1Concepts Of business analyst Practices - Part 1
Concepts Of business analyst Practices - Part 1
 
How To Explain BPMN To Business Users
How To Explain BPMN To Business UsersHow To Explain BPMN To Business Users
How To Explain BPMN To Business Users
 
آموزش سریع BPMN - آموزش گام به گام تمامی اجزای زبان مدلسازی
آموزش سریع BPMN - آموزش گام به گام تمامی اجزای زبان مدلسازیآموزش سریع BPMN - آموزش گام به گام تمامی اجزای زبان مدلسازی
آموزش سریع BPMN - آموزش گام به گام تمامی اجزای زبان مدلسازی
 
BPM Fundamentals: Develop Your Game Plan For BPM Success
BPM Fundamentals: Develop Your Game Plan For BPM SuccessBPM Fundamentals: Develop Your Game Plan For BPM Success
BPM Fundamentals: Develop Your Game Plan For BPM Success
 

Similar to BPMN on One Page

BPMN tutorial by Draw Libre Office
BPMN  tutorial by Draw Libre OfficeBPMN  tutorial by Draw Libre Office
BPMN tutorial by Draw Libre Office
Massimo Talia
 
From Site to System (specifically, business process management systems)
From Site to System (specifically, business process management systems)From Site to System (specifically, business process management systems)
From Site to System (specifically, business process management systems)
Adam Khan
 
ch02-part1.pptx
ch02-part1.pptxch02-part1.pptx
ch02-part1.pptx
ssuser0d0f881
 
jBPM5 (Argentina workshop)
jBPM5 (Argentina workshop)jBPM5 (Argentina workshop)
jBPM5 (Argentina workshop)Kris Verlaenen
 
Role of BPMN in Business
Role of BPMN in BusinessRole of BPMN in Business
Role of BPMN in Business
Ecommerce Solution Provider SysIQ
 
About work flow
About work flowAbout work flow
About work flow
Narender Singh
 
15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5b15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5bguest4c12f7
 
15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5b15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5bguest4c12f7
 
15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5b15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5bguest4c12f7
 
The process approach (and business process management)
The process approach (and business process management)The process approach (and business process management)
The process approach (and business process management)
Nicola Mezzetti
 
EMEA Partner Summit: jBPM 5 - Bringing More Power to BPM
EMEA Partner Summit: 	jBPM 5 - Bringing More Power to BPMEMEA Partner Summit: 	jBPM 5 - Bringing More Power to BPM
EMEA Partner Summit: jBPM 5 - Bringing More Power to BPM
Eric D. Schabell
 
Carasik BPM ECM
Carasik BPM ECMCarasik BPM ECM
Carasik BPM ECM
Bob Carasik
 
method_style_ch02.pptx
method_style_ch02.pptxmethod_style_ch02.pptx
method_style_ch02.pptx
ssuser0d0f881
 
Kris Verlaenen on jBPM5 at JBUG.be
Kris Verlaenen on jBPM5 at JBUG.beKris Verlaenen on jBPM5 at JBUG.be
Kris Verlaenen on jBPM5 at JBUG.beAndries Inzé
 
BPMN2 primer
BPMN2 primerBPMN2 primer
BPMN2 primer
Kris Verlaenen
 
jBPM5: Bringing more Power to your Business Processes
jBPM5: Bringing more Power to your Business ProcessesjBPM5: Bringing more Power to your Business Processes
jBPM5: Bringing more Power to your Business Processes
Kris Verlaenen
 
JBoss jBPM, the future is now for all your Business Processes
JBoss jBPM, the future is now for all your Business ProcessesJBoss jBPM, the future is now for all your Business Processes
JBoss jBPM, the future is now for all your Business Processes
Eric D. Schabell
 

Similar to BPMN on One Page (20)

172298
172298172298
172298
 
BPMN tutorial by Draw Libre Office
BPMN  tutorial by Draw Libre OfficeBPMN  tutorial by Draw Libre Office
BPMN tutorial by Draw Libre Office
 
From Site to System (specifically, business process management systems)
From Site to System (specifically, business process management systems)From Site to System (specifically, business process management systems)
From Site to System (specifically, business process management systems)
 
ch02-part1.pptx
ch02-part1.pptxch02-part1.pptx
ch02-part1.pptx
 
jBPM5 (Argentina workshop)
jBPM5 (Argentina workshop)jBPM5 (Argentina workshop)
jBPM5 (Argentina workshop)
 
Role of BPMN in Business
Role of BPMN in BusinessRole of BPMN in Business
Role of BPMN in Business
 
BPMN and Bizagi
BPMN and BizagiBPMN and Bizagi
BPMN and Bizagi
 
About work flow
About work flowAbout work flow
About work flow
 
15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5b15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5b
 
15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5b15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5b
 
15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5b15 2 Eleni Pm Lesson 5b
15 2 Eleni Pm Lesson 5b
 
The process approach (and business process management)
The process approach (and business process management)The process approach (and business process management)
The process approach (and business process management)
 
EMEA Partner Summit: jBPM 5 - Bringing More Power to BPM
EMEA Partner Summit: 	jBPM 5 - Bringing More Power to BPMEMEA Partner Summit: 	jBPM 5 - Bringing More Power to BPM
EMEA Partner Summit: jBPM 5 - Bringing More Power to BPM
 
Carasik BPM ECM
Carasik BPM ECMCarasik BPM ECM
Carasik BPM ECM
 
method_style_ch02.pptx
method_style_ch02.pptxmethod_style_ch02.pptx
method_style_ch02.pptx
 
Kris Verlaenen on jBPM5 at JBUG.be
Kris Verlaenen on jBPM5 at JBUG.beKris Verlaenen on jBPM5 at JBUG.be
Kris Verlaenen on jBPM5 at JBUG.be
 
SAP workflow events
SAP workflow eventsSAP workflow events
SAP workflow events
 
BPMN2 primer
BPMN2 primerBPMN2 primer
BPMN2 primer
 
jBPM5: Bringing more Power to your Business Processes
jBPM5: Bringing more Power to your Business ProcessesjBPM5: Bringing more Power to your Business Processes
jBPM5: Bringing more Power to your Business Processes
 
JBoss jBPM, the future is now for all your Business Processes
JBoss jBPM, the future is now for all your Business ProcessesJBoss jBPM, the future is now for all your Business Processes
JBoss jBPM, the future is now for all your Business Processes
 

More from Mohamed Zakarya Abdelgawad

EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)
Mohamed Zakarya Abdelgawad
 
Mohammed Zakarya Resume
Mohammed Zakarya ResumeMohammed Zakarya Resume
Mohammed Zakarya Resume
Mohamed Zakarya Abdelgawad
 
Mohamed zakarya certificates
Mohamed zakarya certificatesMohamed zakarya certificates
Mohamed zakarya certificates
Mohamed Zakarya Abdelgawad
 
Mohammed Zakarya Resume
Mohammed Zakarya ResumeMohammed Zakarya Resume
Mohammed Zakarya Resume
Mohamed Zakarya Abdelgawad
 
EA foundations (views + repository)
EA foundations (views + repository)EA foundations (views + repository)
EA foundations (views + repository)
Mohamed Zakarya Abdelgawad
 
EA foundations - 01 (views & viewpoints)
EA foundations - 01 (views & viewpoints)EA foundations - 01 (views & viewpoints)
EA foundations - 01 (views & viewpoints)
Mohamed Zakarya Abdelgawad
 
Accenture/Insead Business Strategy Part 1 Certificate
Accenture/Insead Business Strategy Part 1 CertificateAccenture/Insead Business Strategy Part 1 Certificate
Accenture/Insead Business Strategy Part 1 Certificate
Mohamed Zakarya Abdelgawad
 
Dpbok context i
Dpbok   context iDpbok   context i
Digital Practitioner Capability Context
Digital Practitioner Capability ContextDigital Practitioner Capability Context
Digital Practitioner Capability Context
Mohamed Zakarya Abdelgawad
 
DPBOK Foundation
DPBOK FoundationDPBOK Foundation
DPBOK Foundation
Mohamed Zakarya Abdelgawad
 
Certified Microservice Archtiect
Certified Microservice ArchtiectCertified Microservice Archtiect
Certified Microservice Archtiect
Mohamed Zakarya Abdelgawad
 
Certified Business Architect
Certified Business ArchitectCertified Business Architect
Certified Business Architect
Mohamed Zakarya Abdelgawad
 
ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)
Mohamed Zakarya Abdelgawad
 
Architecture thinking w002 - Business Strategy Intro
Architecture thinking w002 - Business Strategy IntroArchitecture thinking w002 - Business Strategy Intro
Architecture thinking w002 - Business Strategy Intro
Mohamed Zakarya Abdelgawad
 
Architecture thinking w001
Architecture thinking w001Architecture thinking w001
Architecture thinking w001
Mohamed Zakarya Abdelgawad
 
Business Architecture Foundations
Business Architecture FoundationsBusiness Architecture Foundations
Business Architecture Foundations
Mohamed Zakarya Abdelgawad
 
Togaf 9.2 Introduction
Togaf 9.2 IntroductionTogaf 9.2 Introduction
Togaf 9.2 Introduction
Mohamed Zakarya Abdelgawad
 
Discover Your IT Career Path
Discover Your IT Career PathDiscover Your IT Career Path
Discover Your IT Career Path
Mohamed Zakarya Abdelgawad
 
ITIL V4 Foundation
ITIL V4 FoundationITIL V4 Foundation
ITIL V4 Foundation
Mohamed Zakarya Abdelgawad
 
SOA foundation - Generation 2
SOA foundation - Generation 2SOA foundation - Generation 2
SOA foundation - Generation 2
Mohamed Zakarya Abdelgawad
 

More from Mohamed Zakarya Abdelgawad (20)

EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)EA foundations (Views, Repository, Artifacts and Metamodel)
EA foundations (Views, Repository, Artifacts and Metamodel)
 
Mohammed Zakarya Resume
Mohammed Zakarya ResumeMohammed Zakarya Resume
Mohammed Zakarya Resume
 
Mohamed zakarya certificates
Mohamed zakarya certificatesMohamed zakarya certificates
Mohamed zakarya certificates
 
Mohammed Zakarya Resume
Mohammed Zakarya ResumeMohammed Zakarya Resume
Mohammed Zakarya Resume
 
EA foundations (views + repository)
EA foundations (views + repository)EA foundations (views + repository)
EA foundations (views + repository)
 
EA foundations - 01 (views & viewpoints)
EA foundations - 01 (views & viewpoints)EA foundations - 01 (views & viewpoints)
EA foundations - 01 (views & viewpoints)
 
Accenture/Insead Business Strategy Part 1 Certificate
Accenture/Insead Business Strategy Part 1 CertificateAccenture/Insead Business Strategy Part 1 Certificate
Accenture/Insead Business Strategy Part 1 Certificate
 
Dpbok context i
Dpbok   context iDpbok   context i
Dpbok context i
 
Digital Practitioner Capability Context
Digital Practitioner Capability ContextDigital Practitioner Capability Context
Digital Practitioner Capability Context
 
DPBOK Foundation
DPBOK FoundationDPBOK Foundation
DPBOK Foundation
 
Certified Microservice Archtiect
Certified Microservice ArchtiectCertified Microservice Archtiect
Certified Microservice Archtiect
 
Certified Business Architect
Certified Business ArchitectCertified Business Architect
Certified Business Architect
 
ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)ITIL 4 Strategist Direct, Plan and Improve (DPI)
ITIL 4 Strategist Direct, Plan and Improve (DPI)
 
Architecture thinking w002 - Business Strategy Intro
Architecture thinking w002 - Business Strategy IntroArchitecture thinking w002 - Business Strategy Intro
Architecture thinking w002 - Business Strategy Intro
 
Architecture thinking w001
Architecture thinking w001Architecture thinking w001
Architecture thinking w001
 
Business Architecture Foundations
Business Architecture FoundationsBusiness Architecture Foundations
Business Architecture Foundations
 
Togaf 9.2 Introduction
Togaf 9.2 IntroductionTogaf 9.2 Introduction
Togaf 9.2 Introduction
 
Discover Your IT Career Path
Discover Your IT Career PathDiscover Your IT Career Path
Discover Your IT Career Path
 
ITIL V4 Foundation
ITIL V4 FoundationITIL V4 Foundation
ITIL V4 Foundation
 
SOA foundation - Generation 2
SOA foundation - Generation 2SOA foundation - Generation 2
SOA foundation - Generation 2
 

Recently uploaded

Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
Alison B. Lowndes
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
Dorra BARTAGUIZ
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
DianaGray10
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
Frank van Harmelen
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Product School
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Thierry Lestable
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Inflectra
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Product School
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
g2nightmarescribd
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
OnBoard
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
Product School
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Jeffrey Haguewood
 

Recently uploaded (20)

Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........Bits & Pixels using AI for Good.........
Bits & Pixels using AI for Good.........
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
Elevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object CalisthenicsElevating Tactical DDD Patterns Through Object Calisthenics
Elevating Tactical DDD Patterns Through Object Calisthenics
 
Connector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a buttonConnector Corner: Automate dynamic content and events by pushing a button
Connector Corner: Automate dynamic content and events by pushing a button
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*Neuro-symbolic is not enough, we need neuro-*semantic*
Neuro-symbolic is not enough, we need neuro-*semantic*
 
Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...Designing Great Products: The Power of Design and Leadership by Chief Designe...
Designing Great Products: The Power of Design and Leadership by Chief Designe...
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
Empowering NextGen Mobility via Large Action Model Infrastructure (LAMI): pav...
 
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered QualitySoftware Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
Software Delivery At the Speed of AI: Inflectra Invests In AI-Powered Quality
 
Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...Mission to Decommission: Importance of Decommissioning Products to Increase E...
Mission to Decommission: Importance of Decommissioning Products to Increase E...
 
Generating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using SmithyGenerating a custom Ruby SDK for your web service or Rails API using Smithy
Generating a custom Ruby SDK for your web service or Rails API using Smithy
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Leading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdfLeading Change strategies and insights for effective change management pdf 1.pdf
Leading Change strategies and insights for effective change management pdf 1.pdf
 
How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...How world-class product teams are winning in the AI era by CEO and Founder, P...
How world-class product teams are winning in the AI era by CEO and Founder, P...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
Slack (or Teams) Automation for Bonterra Impact Management (fka Social Soluti...
 

BPMN on One Page

  • 1. BPMN 2.0 On One Page KNOWLEDGE QUOTA
  • 4. Course Content ▷Quick Overview ▷Your first Modeling ▷Process Flow & Token ▷Activities ▷Gateways ▷Events ▷Swimlane & Message flow ▷Artifacts & Data Objects
  • 5. 1 Quick Overview ▷BPMN on One Page ▷What is BPMN ? ▷History of BPMN ▷Goals of BPMN ▷BPMN & BPEL
  • 6. BPMN on One Page
  • 7. What is BPMN ? BPMN - Business Process Model and Notation ▷ NOTATION Definition - A system of symbols used to represent special things. - Mathematics has lots of notation!
  • 8. What is BPMN ? ▷ MODEL Definition - Something that is made to be like another thing - This is a model of a house. - A Mathematical Model tries to copy how a real world thing works using equations. - we can use the equations to try new things, such as predict what happens when sizes, temperatures, prices, etc. change.
  • 9. What is BPMN ? ▷ Business Process - Collection of related, structured activities or tasks that produce a specific service or product - Business Process serve a particular goal for a particular customer(s)
  • 10. What is BPMN ? – Real World Example
  • 11. What is BPMN ? ▷ Business Process Modeling (BPM) - Activity of representing processes of an enterprise, so that the current process may be analyzed, improved, and automated - BPM is typically performed by business analysts BPMN Model Notation
  • 12. What is BPMN ? ▷Event-Driven Process Chains (EDCs) ▷Unified Modeling Language (UML) ▷ Notations used for business process modeling also includes EDC Model UML Model
  • 13. History of BPMN - Fundamental evolution of the original standard - Extends the scope and capabilities of BPMN in several areas ▷ BPMN 2.0
  • 14. Goals of BPMN ▷ Standardized graphical notation exists for modeling business processes. ▷Notation understood by all stakeholders—from business analyst to process implementer ▷Notation allows for mapping of a graphical notation to an executable XML-based process language (BPEL) ▷ Allows an interchange of diagrams between tools, using an interchange format.
  • 15. BPMN & BPEL ▷ BPEL - XML-based language for describing a business process - BPEL engine executes the process description - BPEL messages are typically used to invoke remote services, orchestrate process execution and manage events and exceptions - Standardized by OASIS in 2004 after collaborative efforts to create the language by Microsoft, IBM and other companies. - BPEL is the Execution Phase of Business Process Management
  • 16. BPMN & BPEL - Standard set of diagramming conventions for describing business processes - Visualize set of process flow semantics within a process and communication between independent processes - BPMN is the Design Phase of Business Process Management ▷ BPMN There are multiple mapping tools between BPMN , BPEL
  • 17. 2 Your first Modeling ▷Basic elements of BPMN ▷Events ▷Activities ▷Gateways
  • 18. Basic elements of BPMN Set of activities to perform specific goal ▷ Process 1. Activity Work that is performed within the process (Task) 2. Event Something that happened during the course of process 3. Gateway Decision points to control the path of flow. 4. Sequence Flow Show order of flow between activities.
  • 19. Events something that happens during a business process ▷ Starts Triggers a process and marks the beginning of the flow ▷ Ends Marks the process end , after all Tokens reached , the process instance is terminated. ▷ Delays, or interrupts the flow. Occurs between the start and the end event and influences the flow
  • 20. Events – BPMN Example Book Car with start , end events Invoice Process with Intermediate Event
  • 21. Events – Real World Example
  • 22. Activities Business processes consist of work steps (Activities) that are executed by organization units or IT Systems to produces a service or product ▷ Task An atomic activity within a process, ▷ Call Activity A reusable Activity Task or Sub Process ▷ Sub Process Compound activity represents a collection tasks and sub-processes Activity Types :
  • 23. Activities – BPMN Example Eat Chinese Food task activity Order PaymentOrder Request Send Notification Message Order Payment Subprocess Activity
  • 24. Activities – BPMN Example SSO Login Call Activity SSOLogin Appointment Request Appointment Message Confirmation Appointment Confirmed
  • 25. Activities – Real World Example
  • 26. Gateways Controls how the sequence flow spreads and merges within a process ▷Parallel Gateway - Splits the sequence flow into two or more parallel flows - Synchronizes or merges the parallel flows again Basic Gateways Types: ▷ Exclusive Gateway - Restricts flow only one alternative is selected from a set of alternatives at runtime ( If … Else if …. )
  • 27. Gateways – BPMN Example Exclusive Gateway , only one task will be executed A || B || C
  • 28. Gateways – BPMN Example Audit Sales , Audit Accounting will be parallel operates after announce Audit Task finished
  • 29. Gateways – Real World Example Parallel Exclusive
  • 30. BPMN - Hello World BPMN Demo using Microsoft Visio - Show Events - Show activities , activity types - Show sequence flows - Show basic gateway types
  • 31. 3 Process Flow & Token ▷Token Generation ▷Sequence flow ▷Conditional sequence flow ▷Default sequence flow
  • 32.
  • 34. Token Generation Token like a virtual marble , which is generated when a process is called. Token never crosses the message floe to reach the flow of another pool When a process begins , he start event generates a token. The token migrates to the first activity along with the Sequence flow When token touches an activity , it executed After activity execution , the token goes to the next flow Object via the sequence flow.
  • 35. Token Generation – BPMN Example Flash sample for Token Generation – Parallel Gateway
  • 36. BPMN – Token Generation Demo BPMN Demo using Microsoft Visio
  • 38. Sequence Flows Describes the flow sequence of activities in the process ▷ Sequence Flow Normal sequence flow , define execution order of activites ▷Default Sequence Flow Whenever no condition of the other outgoing sequence flows is met (Default: in [while] loop) ▷Conditional Sequence Flow Sequence flow with a condition (if --- then)
  • 39. Sequence Flows – Normal Sequence flow - Sequence flow is only used for mapping possible flow sequences , not for describing the message exchange between pools. - Sequence flow not allowed beyond pool boundary , between pools , data objects and comments. - Start event can’t have an incoming sequence flow. - End event can’t have outgoing sequence flow.
  • 40. Sequence Flows – Conditional Sequence flow - Sequence flow with condition - If the condition is true , the conditional sequence flow receive a token after the activity has be completed - It must never come from a gateway of event. - If activity has several outbound conditional sequence flow , every sequence flow receive a token whose condition is met. - In contrast to exclusive gateway , the conditions don’t have to be mutually exclusive.
  • 41. Sequence Flows – Default Sequence flow - Sequence flow indicated with slash ( / ) - If no condition is true at a branch , the default flow receive the token , so the flow don’t get stuck (deadlock). - Like else in programming ( if .. Else if .. Else if .. Else) or (default in switch case) .
  • 42. Sequence Flows – Real World Example Economy class is the default sequence flow Business class is the conditional sequence flow
  • 43. Sequence Flows – BPMN Example Sequence flow types
  • 44. BPMN – Sequence flow Demo BPMN Demo using Microsoft Visio - Show Sequence flow - Show Conditional sequence flow - Show default sequence flow
  • 45. 4 Activities ▷Tasks , subprocess , process ▷Activity Types ▷Activities Markers ▷Task Types
  • 46.
  • 49. Activity Types : 1. Task / Sub-Process Sub-Process : is a compound activity that represents a collection of other tasks and sub-processes Task object shares the same shape as the Sub-Process except + sign Task : is an atomic activity within a process flow Task Sample Sub-Process Sample
  • 51. Activity Types : 2. Call Activity Activity defined in a process that is external to the current process definition. Call Activity is a Point in the Process where a global Processor a Global Task is used It allows you to create a reusable process definition that can be reused in multiple other process definitions.
  • 52. Activity Types : 2. Call Activity Real World Example Login with Google Cloud Identity
  • 53. Activity Types : 2. Call Activity BPMN Example Checkout Login with Google Cloud Identity Select Payment Method Call Activity Sample
  • 54. Activity Types : 2. Call Activity BPMN Hands-on BPMN Demo using Microsoft Visio
  • 56. Activity Types : 3. Transaction Specialized type of sub-process that will have a special behavior that is controlled through a transaction protocol (such as WS-Transaction) Transaction Sample Logical unit of work which allows grouping of a set of individual activities, so that they either succeed or fail collectively Like atomic transaction type ( all success or nothing)
  • 57. Activity Types : 3. Transaction Real World Example Online Payment Transactions
  • 58. Activity Types : 3. Transaction BPMN Example Transaction Activity Sample
  • 59. Activity Types : 3. Transaction BPMN Hands-on BPMN Demo using Microsoft Visio
  • 62. Activity markers Types – 1. Sub-Process Subprocesses represent a collection of activities (and gateways and flows) being represented collectively as a single activity Sub-Process can have an expanded or collapsed representation Reduce the complexity of the entire flow so it becomes much easier to understand the logic of the process! Sub-process Activity Notation
  • 63. Activity markers Types – 1. Sub-Process Real World Example Shipping process in Online Purchase Orders
  • 64. Activity markers Types – 1. Sub-Process BPMN Example Sub-process Task Sample
  • 65. Activity markers Types – 1. Sub-Process BPMN Hands-on BPMN Demo using Microsoft Visio
  • 67. Activity markers Types – 2. Loop Activity Loop Activity is repeated until the loop condition is met (While loop) Loop condition is defined in the activity properties Loop can applied into task or subprocess Like while(condition) in programming Loop Subprocess Activity Loop Task Activity
  • 68. Activity markers Types – 2. Loop Activity Real World Example Continuous Learning Loop
  • 69. Activity markers Types – 2. Loop Activity BPMN Example Loop Task Sample Brainstorm Draft Edit Draft Final Draft
  • 70. Activity markers Types – 2. Loop Activity BPMN Hands-on BPMN Demo using Microsoft Visio
  • 72. Activity markers Types – 3. Multi Instance Activity Multi-instance activity can run with other identical activities simultaneously. Multi-instance marker will cause the activity to be executed multiple times at runtime. The instances may executed in parallel or sequential Like foreach in programming Multi-instance Activity Notation
  • 73. Activity markers Types – 3. Multi Instance Activity Real World Example Transport containers from ship Review Employees Reports
  • 74. Activity markers Types – 3. Multi Instance Activity BPMN Example Multi Instance Sample Ship arrived the harbor station Transport Container from Ship
  • 75. Activity markers Types – 3. Multi Instance Activity BPMN Hands-on BPMN Demo using Microsoft Visio
  • 76. Activity markers Types – Multi Instance VS Loop Activity Use Loop when : Use multi-instance when : Loops for as long as the underlying looping condition is true. Condition must be evaluated for every loop iteration (In beginning or end of iteration). > While (condition) Activity is performed many times with different data sets For example : when a company’s manager receives reports from his employees , he or she will need to evaluate them many times, each time with different data > Foreach ( x in array of instants)
  • 78. Activity markers Types – 4. Ad Hoc Activity Ad hoc subprocess is one in which the specified steps are defined, but the order of operations is not This type of representation is common for documenting of manual processes that do not have defined sequences. Use it if there is no execution dependency between activities inside ad hoc process . Ad hoc activity Notation
  • 79. Activity markers Types – 4. Ad Hoc Activity Real World Example Ad hoc technical support channels
  • 80. Activity markers Types – 1 4. Ad Hoc Activity BPMN Example Ad hoc activity Sample
  • 81. Activity markers Types – 4. Ad Hoc Activity BPMN Hands-on BPMN Demo using Microsoft Visio
  • 83. Activity markers Types – 5. Compensation Activity Compensation is concerned with undoing steps that were already successfully completed, because their results and possibly side effects are no longer desired and need to be reversed. If an Activity is still active, it cannot be compensated, but rather needs to be canceled. Compensation is performed by a compensation handler. A compensation handler performs the steps necessary to reverse the effects of an Activity Compensation Activity Notation
  • 84. Activity markers Types – 5. Compensation Activity Real World Example Flight Cancellation Compensation plan
  • 85. Activity markers Types – 5. Compensation Activity BPMN Example Compensation Activity Sample Compensation throw Event , which trigger compensation process handling catch Compensation Event , Which connected to compensation undo task Compensation marker task that will Perform undo action Event sub-process that will handle the compensation process , in case of failure
  • 86. Activity markers Types – 5. Compensation Activity BPMN Hands-on BPMN Demo using Microsoft Visio
  • 89. Task Behavior Types – 1. User Task Task where a human performer performs the Task with the assistance of a software application ( process-aware app) It represents a typical “workflow” Task User Tasks are assumed to be performed via an application’s user interface User Task Notation
  • 90. Task Behavior Types – 1. User Task Real World Example A customer fulfils an online registration form An editor approves an article for publishing
  • 91. Task Behavior Types – 1. User Task BPMN Example User Task Sample
  • 92. Task Behavior Types – 1. User Task BPMN Hands-on BPMN Demo using Microsoft Visio
  • 94. Task Behavior Types – 2. Manual Task Task that is expected to be performed without the aid of ▪ Any business process execution engine ▪ Or any application Manual Task Notation Type of BPMN Task which requires human involvement to complete. A Manual Task provides no system interface to the performer, so it is inherently not executable in a BPMS.
  • 95. Task Behavior Types – 2. Manual Task Real World Example Loading a truck with product A telephone technician installs a telephone at a customer location
  • 96. Task Behavior Types – 2. Manual Task BPMN Example Prepare Sales Report Sign-Off Report by Sales Manager Manual Task Sample
  • 97. Task Behavior Types – 2. Manual Task BPMN Example BPMN Demo using Microsoft Visio
  • 99. Task Behavior Types – 3. Send Task Simple Task that is designed to send a Message to an external Participant Once the Message has been sent, the Task is completed The actual Participant who sends the Message can be identified by connecting the Send Task to a Participant by using a Message Flow. Send Task Notation Participant1Participant2
  • 100. Task Behavior Types – 3. Send Task Real World Example When the purchase is complete, send the invoice to the customer, When the article is published, inform the author
  • 101. Task Behavior Types – 3. Send Task BPMN Example Send Task Sample
  • 102. Task Behavior Types – 3. Send Task BPMN Example BPMN Demo using Microsoft Visio
  • 104. Task Behavior Types – 4. Receive Task A Receive Task indicates that the process has to wait for a message to arrive from external participant in order to continue , Task is completed once message has received Receive Task is often used to start a Process. Receive task is the opposite of the Send Task. Receive Task Notation
  • 105. Task Behavior Types – 4. Receive Task Real World Example Begin with the delivery process as soon the shipping address is approved Teacher receive test answer to start evaluating students grades
  • 106. Task Behavior Types – 4. Receive Task BPMN Example Receive Task Sample
  • 107. Task Behavior Types – 4. Receive Task BPMN Example BPMN Demo using Microsoft Visio
  • 109. Task Behavior Types – 5. Business Rule Task ▪ Provides a mechanism for the Process to provide input to a Business Rules Engine and to get the output of calculations that the Business Rules Engine might provide ▪ InputOutputSpecification property of Task : allow process to send data to and receive data from the Business Rules Engine Business Rule Task Notation
  • 110. Task Behavior Types – 5. Business Rule Task – (BRE – BRMS) Software component that allows non-programmers to add or change business logic in a business process management system (BPMS) Business rules engine will include the following : Business Rule Repository Database to store Business rules defined by Business Users Business Rule Editor User interface to manipulate business rules Reporting Component User interface to query , report current rules Rules Engine Execution Core Actual programming code that enforces the rules
  • 111. Task Behavior Types – 5. Business Rule Task – (BRE – BRMS) https://en.wikipedia.org/wiki/Business_process_management
  • 112. Task Behavior Types – 5. Business Rule Task Real World Example Send the appropriate product offer according to the user’s behavior. Calculate the insurance cost according to the user’s profile
  • 113. Task Behavior Types – 5. Business Rule Task BPMN Example Business Rule Task Sample
  • 114. Task Behavior Types – 5. Business Rule Task BPMN Example BPMN Demo using Microsoft Visio
  • 116. Task Behavior Types – 6. Service Task Service Task Notation ▷ Service Tasks is a Task that uses some sort of service, which could be a Web service or an automated application ▷ As opposed to the User Task and Manual Task, a Service Task does not require any human interaction ▷ It is completed automatically, by using some sort of an external service (outside the corresponding “process execution environment”)
  • 117. Task Behavior Types – 6. Service Task Real World Example A payment processed by PayPal services Converting a price into a specific currency using an online currency converter
  • 118. Task Behavior Types – 6. Service Task BPMN Example service Task Sample Post article Publish on Twitter Yes No Through Twitter API
  • 119. Task Behavior Types – 6. Service Task BPMN Example BPMN Demo using Microsoft Visio
  • 121. Task Behavior Types – 7. Script Task ▷ The modeler or implementer defines a script in a language that the engine can interpret ▷ In contrast to service task , script task is executed by a business process engine. ▷ When the task is ready to start , the engine will execute the script Script Task Notation
  • 122. Task Behavior Types – 7. Script Task Real World Example Add a unique ID to a help-desk ticket. Calculate the total cost by summing product cost and shipping cost
  • 123. Task Behavior Types – 7. Script Task BPMN Example Script Task Sample
  • 124. Task Behavior Types – 7. Script Task BPMN Example BPMN Demo using Microsoft Visio
  • 125. 5 Gateways ▷Exclusive gateways ▷Parallel gateways ▷Inclusive gateway ▷Complex gateway
  • 126.
  • 127. Exclusive Gateway (If .. Else if .. ) 1
  • 128. Exclusive gateway ▪ Exclusive Gateway (Decision) is used to create alternative paths within a Process flow. For a given instance of the Process, only one of the paths can be taken. ▪ A Decision can be thought of as a question that is asked at a particular point in the Process. ▪ The question has a defined set of alternative answers. Each answer is associated with a condition Expression Exclusive Gateway Sample (Data-based Exclusive Gateway)
  • 129. Exclusive gateway – Real world example Road Diversion
  • 130. Exclusive gateway - BPMN Example Exclusive gateway Sample (with X Marker or not is the same) Process Request Order Amount > 1000 Order Sale by 10% Order Delivery
  • 131. Exclusive gateway - BPMN Hands-on BPMN Demo using Microsoft Visio https://knowhow.visual-paradigm.com/know-how_files/2009/12/04_Exclusive_gateway.html Token Demo
  • 133. Event-based gateway Exclusive Gateway Notation ▪ Event-Based Gateway are similar to exclusive gateway but the trigger of gateway is base on event occur instead of evaluate condition. ▪ Event-base gateway , is always followed by catching events or receive tasks. ▪ Sequence flow is routed to the subsequent event/task which happens first. ▪ Basically, the decision is made by another Participant (which send message) based on data that is not visible to Process
  • 134. Event-based gateway Event-Based Gateway example using Message Intermediate Events Event-Based Gateway example using Receive Tasks
  • 135. Event-based gateway – Real world example Event-based Gateway Triggered by time Alarm , sensor Alarm
  • 136. Event-based gateway - BPMN Example Event-based gateway Sample
  • 137. Event-based gateway - BPMN Hands-on BPMN Demo using Microsoft Visio https://knowhow.visual-paradigm.com/know-how_files/2009/12/10_Event-Based_Gateway.html Token Demo
  • 139. Parallel gateway ▪ Parallel Gateway is used to synchronize (combine) parallel flows and to create parallel flows ▪ A Parallel Gateway creates parallel paths without checking any condition , each outgoing Sequence Flow receives a token upon execution of this Gateway ▪ For incoming flows, the Parallel Gateway will wait for all incoming flows before triggering the flow through its outgoing Sequence Flows Parallel Gateway Sample (Create & Combine)
  • 140. Parallel gateway – Real world example Multi Work (Parallel)
  • 141. Parallel gateway - BPMN Example Parallel gateway Sample Prepare Results Email Results of Vote Post Results on Web site Enable Feedback
  • 142. Parallel gateway - BPMN Hands-on BPMN Demo using Microsoft Visio https://knowhow.visual-paradigm.com/know-how_files/2009/12/11_Parallel_Gateway.html Token Demo
  • 144. Inclusive gateway Inclusive Gateway Notation ▪ Inclusive gateway can be used to create alternative but also parallel paths within a Process flow. ▪ Unlike the Exclusive Gateway, all condition Expressions are evaluated. The true evaluation of one condition Expression does not exclude the evaluation of other condition Expressions. ▪ All Sequence Flows with a true evaluation will be traversed by a token. ▪ Since each path is considered to be independent, all combinations of the paths MAY be taken, from zero to all.
  • 145. Inclusive gateway – Real world example Applicable for Exclusive OR Parallel OR Mixer can Squeeze one or multiple fruits or vegetables
  • 146. Inclusive gateway - BPMN Example Inclusive gateway Sample Ship goods By Air Contract Airlines By Sea Contact Container Port Prepare Delivery Note Exclusive || Parallel || or Both Gateway
  • 147. Inclusive gateway - BPMN Hands-on BPMN Demo using Microsoft Visio https://knowhow.visual-paradigm.com/know-how_files/2009/12/07_Inclusive_gateway.html Token Demo
  • 148. 6 Events ▷Start Event ▷End Event ▷Intermediate Event
  • 149.
  • 150. Events something that happens during a business process ▷ Starts Triggers a process and marks the beginning of the flow ▷ Ends Marks the process end , after all Tokens reached , the process instance is terminated. ▷ Intermediate (Delays, or interrupts the flow) Occurs between the start and the end event and influences the flow
  • 152. Events – Real World Example Events like Triggers
  • 154. Start Event the Start Event indicates where a particular Process will start. In terms of Sequence Flows, the Start Event starts the flow of the Process, and thus, will not have any incoming Sequence Flows Start Event is OPTIONAL , Process MAY (is NOT REQUIRED to) have a Start Event If there is an End Event, then there MUST be at least one Start Event. All Flow Objects that do not have an incoming Sequence Flow SHALL be instantiated when the Process is instantiated
  • 155. Start Event – triggers Types
  • 156. Start Event – triggers Types
  • 158. End Event End Event indicates where a Process will end. In terms of Sequence Flows, the End Event ends the flow of the Process , and thus, will not have any outgoing Sequence Flows—no Sequence Flow can connect from an End Even End Event is OPTIONAL , Process MAY (is NOT REQUIRED to) have a End Event If there is an Start Event, then there MUST be at least one End Event. All the tokens that were generated within the Process MUST be consumed by an End Event before the Process has been completed.
  • 159. End Event – triggers Types
  • 160. End Event – triggers Types
  • 162. Intermediate Event Intermediate Event indicates where something happens (an Event) somewhere between the start and end of a Process It will affect the flow of the Process, but will not start or (directly) terminate the Process Intermediate Events can be used to: ▪ Show where Messages are expected or sent within the Process, ▪ Show delays are expected within the Process ▪ Disrupt the normal flow through exception handling, or ▪ Show the extra work needed for compensation
  • 163. Intermediate Event – triggers Types
  • 164. Intermediate Event – triggers Types
  • 165. Trow & Catch Interrupting & Non- Interrupting
  • 166. Throw & Catch Events You can set an event to be catch or throw. Catch means to react to a trigger, while Throw means to create a trigger
  • 167. Interrupting & Non- Interrupting Non-interrupting events : The difference is that when the event is triggered, the exceptional flow occurs in parallel to the main flow
  • 168. 7 Swimlane & Message flow ▷Pool ▷Lane ▷Message flow
  • 169.
  • 170. Swimlane - In a swimming pool, there are lanes designated for swimmers. Swimmers get their own lanes to swim in without swimming across another. - Swimlanes may be arranged horizontally or vertically. - For horizontal swimlanes, process flows from left to right, while process in vertical swimlanes flow from top to bottom. A Swimlane is a graphical container for partitioning a set of activities from other activities. BPMN has two different types of Swimlanes “Pool” and “Lane.”
  • 171. Pool 1
  • 172. Pool - Pools represent participants in a business process - A Pool is a container for partitioning a Process from other Pools/Participants - A Pool is the graphical representation of a Participant in a Collaboration - It can be a specific entity (e.g. Partner Company , Department) - A Pool acts as a container for Sequence Flows between Activities (of a contained Process) Pool Notation Name
  • 173. Pool – Black box - A Pool is not required to contain a Process, i.e., it can be a “black box.” - Blackbox pool is often used when modeling entities external to the business process. - As it is external, its internal flow does not have any impact on the process being modeled, hence can be skipped, producing a Blackbox Blackbox Pool Notation
  • 174. Pool – BPMN Example Customer Pool Example
  • 175. Pool – BPMN Example BPMN Demo using Microsoft Visio
  • 176. Lane 2
  • 177. Lane A Lane is a sub-partition within a Process(often within a Pool). Lanes should represent specific roles. For instance, when you have a pool Department, you may have Department Head and General Clerk as lanes. BPMN Lanes should not represent individuals. ( represent Role not individual ) Lanes may contain other lanes to form a nested structure when needed. Lane within Pool Notation
  • 178. Lane – Real world Example Word press User Roles Example
  • 179. Lane – BPMN Example Pizza Vendor Roles Example
  • 180. Lane – BPMN Example BPMN Demo using Microsoft Visio
  • 182. Message flow A Message Flow is used to show the flow of Messages between two Participants that are prepared to send and receive them. A Message Flow MUST connect two separate Pools. They connect either to Pool boundary or to Flow Objects within the Pool boundary. Message flows can be attached to a pool, activity or event. Message Flows cross the boundaries of a pool , An activity or event in one pool can initiate a message to another pool. Message Flow Notation
  • 183. Message flow VS Sequence flow Message Flows cross the boundaries of a pool, and represent exchange of information between participants. whereas Sequence Flows represent sequence of flow between flow objects within a specific participant (will never cross over the boundaries of a pool) Message Flow Notation Sequence Flow Notation
  • 184. Message Flow – Real world Example Supply chain exchange messages between Process participants
  • 185. Message Flow – BPMN Example Message flow with attached message https://knowhow.visual-paradigm.com/know-how_files/2009/12/01_Simple_BPD.html
  • 187. BPMN Collaboration Diagram - A Collaboration represents interactions between two or more business entities. - A Collaboration depicts a global point of view. It shows the interactions between participants in general - A Collaboration contains two or more pools, representing participants in the collaboration , even with external participants - Messages exchanged between participants are shown by message flows that connect two pools together (or objects within the pools)
  • 188. BPMN Collaboration Diagram – Real world Example Team Work Collaboration
  • 189. BPMN Collaboration Diagram - Example Collaboration diagram with two Black Box Pools
  • 190. BPMN Collaboration Diagram - Example Collaboration diagram with two Pools showing process
  • 191. BPMN Collaboration Diagram – BPMN Example BPMN Demo using Microsoft Visio
  • 192. 8 Artifacts & Data Objects ▷Group ▷ Comment ▷ Association ▷ Data object
  • 195. Group - The Group object is an Artifact that provides a visual mechanism to group elements of a diagram informally. - As an Artifact, a Group is not an Activity or any Flow Object, and, therefore, cannot connect to Sequence Flows or Message Flows. - Groups are not constrained by restrictions of Pools and Lanes , This means Group can stretch across the boundaries of a Pool to surround Diagram elements - Use groups to better arrange your BPMN diagram and increase its usefulness to your organization. Group Notation Goup
  • 196. Group - BPMN Example Group Sample Usually, you need this when you want to represent that a group of BPMN Activities exist within a distributed business-to-business transaction.
  • 197. Group - BPMN Hands-on BPMN Demo using Microsoft Visio
  • 198. Artifacts : Text Annotation (Comment) 2
  • 199. Text Annotation - Text Annotations are a mechanism for a modeler to provide additional information for the reader of a BPMN Diagram - Text Annotation can be connected to a specific object on Diagram with an Association, but does not affect the flow of the Process. - Text associated with the Annotation can be placed within the bounds of the open rectangle. - Add annotations to make your BPMN more readable and further increase understanding of your process. Text Annotation Notation Text Annotation
  • 200. Text Annotation - BPMN Example Text Annotation Sample
  • 201. Text Annotation - BPMN Hands-on BPMN Demo using Microsoft Visio
  • 203. Association - An Association is used to associate information and Artifacts with Flow Objects. - Associations are usually used to link a Text Annotation or a Data Object to an element of the process flow. - Association can show the direction of a flow Association Notation
  • 204. Association - BPMN Example Association Sample Friday Retrieve Issue List Review Issue List Issue List Issue List [Initial] Process Triggered every Friday morning
  • 205. Association - BPMN Hands-on BPMN Demo using Microsoft Visio
  • 207. Data Object - Data Objects represent information flowing through the process such as business documents ,e-mails or letters. - Data Objects show the inputs and outputs of Activities, Processes, and Global Tasks and do not affect the process flow. - If a process instance is cancelled, all of its Data Object instances become inactive and, therefore, inaccessible to any external processes Data Object Notation
  • 208. Data Object - Types Data objects can represent : - Data placed to the process, - Data resulting from the process, - Data that needs to be collected, - Data that needs to be stored
  • 209. Data Object – 1. Data Input Tasks are often data-dependent, meaning the task cannot proceed until certain data has been collected. Data inputs represent those data requirements of the business process. Data Input Notation
  • 210. Data Object – 2. Data Output IF a process generates data, a data output represents the information produced as a result. For instance, a BPMN diagram that represents the survey collection process would output result data and require a data output shape. Data Output Notation
  • 211. Data Object – 3. Data Collection Represent collection of information like list of order items. Data collection is denoted differently than a one-time data requirement. Data Collection Notation
  • 212. Data Object – 4. Data Store Datastore provides a mechanism for Activities to retrieve or update stored information that will persist beyond the scope of the Process In a BPMN diagram, you can determine where you will store data to keep track of your data and increase efficiency. Data Store Notation
  • 213. Data Object - BPMN Example Data Object Sample Friday Retrieve Issue List Review Issue List Issue List Issue List Process Triggered every Friday morning
  • 214. Data Object - BPMN Hands-on BPMN Demo using Microsoft Visio
  • 215. “ References Togaf Online Documentation Process Group for Togaf Open 2 Study Course Togaf Arabic Playlist
  • 216. “To Be continue .. ☺
  • 217. Thanks! Any questions? You can find me at: @MohamedZekus eng.mohamedzakarya@gmail.com