Escolar Documentos
Profissional Documentos
Cultura Documentos
____________________________________________________
OMG Document Number: dtc/2010-06-xx
Standard document URL: http://www.omg.org/spec/acronym/1.0/PDF
Associated File(s)*: http://www.omg.org/spec/acronym/200xxxxx
http://www.omg.org/spec/acronym/200xxxxx
____________________________________________________
LICENSES
The companies listed above have granted to the Object Management Group, Inc. (OMG) a nonexclusive, royalty-
free, paid up, worldwide license to copy and distribute this document and to modify this document and distribute
copies of the modified version. Each of the copyright holders listed above has agreed that no person shall be deemed
to have infringed the copyright in the included material of any such copyright holder by reason of having used the
specification set forth herein or having conformed any computer software to the specification.
Subject to all of the terms and conditions below, the owners of the copyright in this specification hereby grant you a
fully-paid up, non-exclusive, nontransferable, perpetual, worldwide license (without the right to sublicense), to use
this specification to create and distribute software and special purpose specifications that are based upon this
specification, and to use, copy, and distribute this specification as provided under the Copyright Act; provided that:
(1) both the copyright notice identified above and this permission notice appear on any copies of this specification;
(2) the use of the specifications is for informational purposes and will not be copied or posted on any network
computer or broadcast in any media and will not be otherwise resold or transferred for commercial purposes; and (3)
no modifications are made to this specification. This limited permission automatically terminates without notice if
you breach any of these terms or conditions. Upon termination, you will destroy immediately any copies of the
specifications in your possession or control.
PATENTS
The attention of adopters is directed to the possibility that compliance with or adoption of OMG specifications may
require use of an invention covered by patent rights. OMG shall not be responsible for identifying patents for which
a license may be required by any OMG specification, or for conducting legal inquiries into the legal validity or
scope of those patents that are brought to its attention. OMG specifications are prospective and advisory only.
Prospective users are responsible for protecting themselves against liability for infringement of patents.
WHILE THIS PUBLICATION IS BELIEVED TO BE ACCURATE, IT IS PROVIDED "AS IS" AND MAY
CONTAIN ERRORS OR MISPRINTS. THE OBJECT MANAGEMENT GROUP AND THE COMPANIES
LISTED ABOVE MAKE NO WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, WITH REGARD TO
THIS PUBLICATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTY OF TITLE OR OWNERSHIP,
IMPLIED WARRANTY OF MERCHANTABILITY OR WARRANTY OF FITNESS FOR A PARTICULAR
PURPOSE OR USE. IN NO EVENT SHALL THE OBJECT MANAGEMENT GROUP OR ANY OF THE
COMPANIES LISTED ABOVE BE LIABLE FOR ERRORS CONTAINED HEREIN OR FOR DIRECT,
INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, RELIANCE OR COVER DAMAGES, INCLUDING
LOSS OF PROFITS, REVENUE, DATA OR USE, INCURRED BY ANY USER OR ANY THIRD PARTY IN
CONNECTION WITH THE FURNISHING, PERFORMANCE, OR USE OF THIS MATERIAL, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
The entire risk as to the quality and performance of software developed using this specification is borne by you. This
disclaimer of warranty constitutes an essential part of the license granted to you to use this specification.
TRADEMARKS
MDA®, Model Driven Architecture®, UML®, UML Cube logo®, OMG Logo®, CORBA® and XMI® are
registered trademarks of the Object Management Group, Inc., and Object Management Group™, OMG™ , Unified
Modeling Language™, Model Driven Architecture Logo™, Model Driven Architecture Diagram™, CORBA
logos™, XMI Logo™, CWM™, CWM Logo™, IIOP™ , MOF™ , OMG Interface Definition Language (IDL)™ ,
and OMG SysML™ are trademarks of the Object Management Group. All other products or company names
mentioned are used for identification purposes only, and may be trademarks of their respective owners.
COMPLIANCE
The copyright holders listed above acknowledge that the Object Management Group (acting itself or through its
designees) is and shall at all times be the sole entity that may authorize developers, suppliers and sellers of computer
software to use certification marks, trademarks or other special designations to indicate compliance with these
materials.
Software developed under the terms of this license may claim compliance or conformance with this specification if
and only if the software compliance is of a nature fully matching the applicable compliance points as stated in the
specification. Software developed only partially matching the applicable compliance points may claim only that the
software was based on this specification, but may not claim compliance or conformance with this specification. In
the event that testing suites are implemented or approved by Object Management Group, Inc., software developed
using this specification may claim compliance or conformance with the specification only if the software
satisfactorily completes the testing suites.
OMG’s Issue Reporting Procedure
All OMG specifications are subject to continuous review and improvement. As part of this process we encourage
readers to report any ambiguities, inconsistencies, or inaccuracies they may find by completing the Issue Reporting
Form listed on the main web page http://www.omg.org, under Documents, Report a Bug/Issue
(http://www.omg.org/technology/agreement.)
Table of Contents
1 Scope.......................................................................................1
2 Conformance........................................................................... 1
3 Normative References.............................................................1
4 Additional Information..............................................................2
4.1 Changes to Adopted OMG Specifications........................................................ 2
4.2 Acknowledgements........................................................................................... 2
5 BPMN in practice.....................................................................3
6 Small Examples introducing Core Concepts...........................4
6.1 Shipment Process of a Hardware Retailer........................................................4
6.2 The Pizza Collaboration.................................................................................... 4
6.3 Order Fulfillment and Procurement...................................................................5
OMG
Founded in 1989, the Object Management Group, Inc. (OMG) is an open membership, not-for-profit computer industry
standards consortium that produces and maintains computer industry specifications for interoperable, portable, and
reusable enterprise applications in distributed, heterogeneous environments. Membership includes Information
Technology vendors, end users, government agencies, and academia.
OMG member companies write, adopt, and maintain its specifications following a mature, open process. OMG’s
specifications implement the Model Driven Architecture® (MDA®), maximizing ROI through a full-lifecycle approach
to enterprise integration that covers multiple operating systems, programming languages, middleware and networking
infrastructures, and software development environments. OMG’s specifications include: UML® (Unified Modeling
Language™); CORBA® (Common Object Request Broker Architecture); CWM™ (Common Warehouse Metamodel);
and industry-specific standards for dozens of vertical markets.
More information on the OMG is available at http://www.omg.org/.
OMG Specifications
As noted, OMG specifications address middleware, modeling and vertical domain frameworks. A Specifications Catalog
is available from the OMG website at:
http://www.omg.org/technology/documents/spec_catalog.htm
Specifications within the Catalog are organized by the following categories:
• UML
• MOF
• XMI
• CWM
• Profile specifications
• CORBA/IIOP
• IDL/Language Mappings
• Specialized CORBA specifications
• CORBA Component Model (CCM)
• CORBAservices
• CORBAfacilities
• OMG Domain specifications
• OMG Embedded Intelligence specifications
• OMG Security specifications
All of OMG’s formal specifications may be downloaded without charge from our website. (Products implementing OMG
specifications are available from individual suppliers.) Copies of specifications, available in PostScript and PDF format,
OMG Headquarters
140 Kendrick Street
Building A, Suite 300
Needham, MA 02494
USA
Tel: +1-781-444-0404
Fax: +1-781-444-0320
Email: pubs@omg.org
Certain OMG specifications are also available as ISO standards. Please consult http://www.iso.org
Typographical Conventions
The type styles shown below are used in this document to distinguish programming statements from ordinary English.
However, these conventions are not used in tables or section headings where no distinction is necessary.
Times/Times New Roman - 10 pt.: Standard body text
Helvetica/Arial - 10 pt. Bold: OMG Interface Definition Language (OMG IDL) and syntax elements.
Courier - 10 pt. Bold: Programming language elements.
NOTE: Terms that appear in italics are defined in the glossary. Italic text also represents the name of a document,
specification, or other publication.
2 Conformance
As this is a non-normative document, an implementation, which claims conformance to any of the conformance classes
defined in section 2 of the BPMN 2.0 specification, is NOT REQUIRED to comply to statements made in this document.
Furthermore, if there are any inconsistencies between the BPMN 2.0 specification and this document, the statements of
the BPMN 2.0 specification are considered to be correct.
3 Normative References
The following normative documents contain provisions which, through reference in this text, constitute provisions of this
specification. For dated references, subsequent amendments to, or revisions of, any of these publications do not apply.
RFC-2119
• Key words for use in RFCs to Indicate Requirement Levels, S. Bradner, IETF RFC 2119, March 1997
http://www.ietf.org/rfc/rfc2119.txt
If there are any inconsistencies between the BPMN 2.0 specification and this document, the statements of the BPMN 2.0
specification are considered to be correct.
4.2 Acknowledgements
The following companies submitted this document:
The following persons were members of the core teams that contributed to the content of this document:
In addition, the following persons contributed valuable ideas and feedback that improved the content and the quality of
this document:
Check if extra
insurance is Fill in a Post
Always
label
necessary
Hardware Retailer
Normal Post
Clerk
Decide if Assign a
Request
normal post or carrier &
Special Carrier quotes from
special prepare
carriers
shipment paperwork
Goods Mode of delivery
to ship
Add paperwork
Warehouse
pick area
Insurance is Goods available
included in carrier for pick
service
Select a pizza Order a pizza Pay the pizza Eat the pizza
Pizza Customer
Hungry Hunger
for pizza satisfied
pizza order
pizza chef
money
pizza
Bake the pizza
Order receipt
Pizza vendor
received
delivery boy
Check Financial
Ship article
availability settlement
Order Payment received
received
no
Procurement
undeliverable
Late delivery
Inform
customer
Customer informed
Article removed
Figure 3: Order Fulfillment
Procurement
Remove article
from catalogue
Article removed
Figure 4: stock maintenance process
The Order Fulfillment process in figure 4 starts after receiving a new order message. The process for the Stock
Maintenance (figure 5) is triggered by a conditional start event. It means that the process is instantiated in case that the
condition is true, so in this example when the stock level goes below a certain minimum. In order to increase the stock
level some products have to be procured. Therefore we use the Procurement process in figure 6 and refer to it by the call
activity "Procurement" indicated by the thick border. Similar to the order fulfillment process this process handles the
error exception by removing the article from the catalogue. But in this Stock Maintenance process there appears to be no
need for the handling of a "late delivery" escalation event. That's why it is left out and not handled. After the procurement
sub-process finishes, the stock level is above minimum and the Stock Maintenance process ends.
Article
procured
Deliverable?
Check
availability with > 2 days
supplier
Late delivery
no
Not deliverable
Figure 5: Procurement sub-process
After the Procurement process in figure 6 has started, it continues by asking whether the article is deliverable or not. A
non deliverable article leads to an error event. The Procurement process ends at this point by throwing an error event with
the errorCode undeliverable. If there were other active threads in the Procurement process, they would be terminated as a
result of the error event. But where will the event be caught? The error event does not disappear. Instead it can be caught
by an error event that is attached to the nearest parent activity. But the catching error event must have the same
errorCode. For example the error event attached to the Order Fulfillment process (figure 4) has the same errorCode and
so it handles the undeliverable exception by informing the customer and removing the article from the catalogue.
Because of the interrupting type the token does not continue to the activity ship article, instead the token follows the
exception handling path, is consumed at the end and the Procurement process ends there.
However, in case that the delivery in the Procurement process lasts more than 2 days an escalation event is thrown saying
that the delivery will be late. Similar to the error event, the escalation event has also an escalationCode which is
necessary for the connection between throwing and catching escalation events. Contrary to the throwing error event,
currently active threads are neither terminated nor affected by the throwing intermediate escalation event. Furthermore,
the Procurement process continues its execution by waiting for the delivery. But the thrown event is handled by the
nearest parent activity with an attached intermediate escalation event which has the same escalationCode as the thrown
escalation event. In Figure 4 the "late delivery" escalation event attached to the Procurement sub-process catches the
thrown "late delivery" event. But now, the event is a non-interrupting event. Because of that a new token is produced,
follows the path of the escalation handling and informs the customer that the ordered article will be shipped later. When
the procurement sub-process finishes, the Order Fulfillment process continues with the shipment of the article and the
financial settlement.
Finished?
Account Manager
Explain
Handle issue Yes
solution
Issue
No
received
Finished?
1st level support
no
2nd level support
Unsure?
Handle issue No
Yes
Software development
Sometimes opinion
of development is Examine issue
needed
Explain
yes
Key account manager
solution
Answer
received
Result?
1st Level Support Agent
Result?
Unsure?
2nd level support agent
Handle Provide
problem feedback
Request from
support
Choreography:
Explain
yes
Key account manager
solution
Answer
received
Result?
1st level support
Result?
Issue resolved
Edit ticket
2nd level support
Unsure?
Handle Document
2nd level support agent
Handle Provide
problem feedback
Request from
support
Figure 8: Incident Management with human driven and system driven pools
The selection of a Nobel Prize Laureate is a lengthy and carefully executed process. The processes slightly differ for each
of the six prizes; the results are the same for each of the six categories.
Following is the description for the Nobel Prize in Medicine. The main actors in the processes for Nomination, Selection
and Accepting and Receiving the award are the:
Each year in September, in the year preceding the year the Prize is awarded, around 3000 invitations or confidential
nomination forms are sent out by the Nobel Committee for Medicine to selected Nominators.
The Nominators are given the opportunity to nominate one or more Nominees. The completed forms must be made
available to the Nobel Committee for Medicine for the selection of the preliminary candidates.
The Nobel Committee for Medicine performs a first screening and selects the preliminary candidates.
Following this selection, the Nobel Committee for Medicine may request the assistance of experts. If so, it sends the list
with the preliminary candidates to these specially appointed experts with the request to assess the preliminary candidates’
work.
From this, the recommended final candidate laureates and associated recommended final works are selected and the
Nobel Committee for Medicine writes the reports with recommendations.
The Nobel Committee for Medicine submits the report with recommendations to the Nobel Assembly. This report
contains the list of final candidates and associated works.
The Nobel Assembly chooses the Nobel Laureates in Medicine and associated through a majority vote and the names of
the Nobel Laureates and associated works are announced. The Nobel Assembly meets twice for this selection. In the first
meeting of the Nobel Assembly the report is discussed. In the second meeting the Nobel Laureates in Medicine and
associated works are chosen.
No
Nobel Committee for Medicine
Candidates
Nomination Form
Completed
List of Candidates Assessments
Nomination Forms Preliminary
Nominators to be Assessed
Candidates Assessment
Nomination Report with
Invitation Recommandations
Nobel Assembly
Send
Nominator
Identify
Send Nominee Expert Assess Candidates Discuss Select Announce
Potential
Completed Candidates Work Assessment Nominations Laureates Nobel Prize
Nominee(s)
Form(s) Report (Meeting 1) (Meeting 2) Laureates
Nomination Assessments
Announcement
Form(s) Sent Completed
Made
Announcement
Nominator may nominate
one or more Nominates A selected Expert is asked to
assess the work of the
Preliminary Candidates in the Nobel Prize Laureate
list
1.1.1 Lane
A process can be depicted in a Process Diagram with or without lanes. Both these depictions lead to one process in the
model and one diagram of that process. The only difference in the two serializations is that one does not have a Laneset
with a lane in it while the other does.
Order
Handling
Approved
Quotation Approve Review
Handling Order Order
Shipping
Handling
Order
Handling
Approved
Quotation Approve Review
Buyer
Shipping
Handling
1.1.2 Pool
Pools are only present in Collaboration Diagrams (Collaborations, Choreographies, Conversations). Thus, when
depicting the same scenario using a pool, we are in fact producing a Collaboration Diagram. The introduction of a pool
in our depiction implies that we are producing a Collaboration Diagram. In fact, this is an incomplete Collaboration, as a
Collaboration should be between two or more participants.
Approved
Buyer
Shipping
Handling
Approved
Quotation Approve Approve Review
Handling Customer Product Order
Shipping
Handling
Order
Handling
Approved
Quotation Approve Review
Handling Order Order
Shipping
Handling
While the content (or details) of the “Approve Order” Sub Process is depicted on a separate diagram.
Approve Approve
Customer Product
This is a single process depicted into two diagrams: one for the parent process and one for the sub process.
Note that both expanded and collapsed depictions are visual variations of the same single “Order Process”.
Order
Handling
Approved
Quotation Approve Review
Handling Order Order
Shipping
Handling
We thus have two processes each in their own diagrams (2 processes, 2 diagrams)
a b Activity c d
StartEvent EndEvent
SubProcessStart SubProcessEnd
Manual
Lane 1
Task
a
Lane 2 - 1
Sub Process
Lane 2
b
Lane 2 - 2
User Task
c
Document
Sending a
Receiving b
a b
Conversation 1
e Message annotation
f
Conversation 2
d
Participant 3
a CT 1 b CT 2 c SC d
The Client has 24 hours to either select a proposed alternative or cancel the request. In case of a cancellation, or after this
delay, the Agency updates the Client record to reflect the request cancellation and the Client is notified.
When a selection is made, the Client is asked to provide the Credit Card information. Again, the Client has 24 hours to
provide this information or the request is cancelled via the same activities stated before (update and notification).
Having received the Credit Card information, the booking activities take place:
The flight and the hotel room are booked. Measures are taken to insure reservations reversals if problems occur in the
booking and payment activities. The Client is also entitled to provide the Agency with Credit Card Information
modifications before the booking is completed. Such information will be saved in its record.
If an error arises during the booking activities, the flight and hotel room reservations are reversed and the Client record is
updated. The booking is tried again as long as the booking retry limit is not exceeded.
Following successful booking the Reservations are charged on the Client’s Credit Card and the process stops following
successful confirmation. If an error occurs during this activity the flight and hotel room reservation are reversed. The
Client is asked again for the Credit Card Information and the booking is tried again as long as the payment processing
retry limit is not exceeded.
In both cases, following the error, when the retry limit is exceeded, the Client is notified and the process stops.
Book Flight
Notify
Customer to Flight Reservation
Start Again Cancel Flight Completed
24 hours
Retry Limit
Flight Exceeded?
Yes Notify
Booking Booking Customer
Error 1 Failed Booking
Error 2 Booking Error 2
Hotel
No
(informative)