logo资料库

BPMN 2.0 规范 PDF.pdf

第1页 / 共546页
第2页 / 共546页
第3页 / 共546页
第4页 / 共546页
第5页 / 共546页
第6页 / 共546页
第7页 / 共546页
第8页 / 共546页
资料共546页,剩余部分请下载后查看
OMG’s Issue Reporting Procedure
Preface
1 Scope
2 Conformance
2.1 Process Modeling Conformance
2.1.1 BPMN Process Types
2.1.2 BPMN Process Elements
2.1.3 Visual Appearance
2.1.4 Structural Conformance
2.1.5 Process Semantics
2.1.6 Attributes and Model Associations
2.1.7 Extended and Optional Elements
2.1.8 Visual Interchange
2.2 Process Execution Conformance
2.2.1 Execution Semantics
2.2.2 Import of Process Diagrams
2.3 BPEL Process Execution Conformance
2.4 Choreography Modeling Conformance
2.4.1 BPMN Choreography Types
2.4.2 BPMN Choreography elements
2.4.3 Visual Appearance
2.4.4 Choreography Semantics
2.4.5 Visual Interchange
2.5 Summary of BPMN Conformance Types
3 Normative References
3.1 Normative
3.2 Non-Normative
4 Terms and Definitions
5 Symbols
6 Additional Information
6.1 Conventions
6.1.1 Typographical and Linguistic Conventions and Style
6.1.2 Abbreviations
6.2 Structure of this Document
6.3 Acknowledgements
7 Overview
7.1 BPMN Scope
7.1.1 Uses of BPMN
7.2 BPMN Elements
7.2.1 Basic BPMN Modeling Elements
7.2.2 Extended BPMN Modeling Elements
7.3 BPMN Diagram Types
7.4 Use of Text, Color, Size, and Lines in a Diagram
7.5 Flow Object Connection Rules
7.5.1 Sequence Flow Connections Rules
7.5.2 Message Flow Connection Rules
7.6 BPMN Extensibility
7.7 BPMN Example
8 BPMN Core Structure
8.1 Infrastructure
8.1.1 Definitions
8.1.2 Import
8.1.3 Infrastructure Package XML Schemas
8.2 Foundation
8.2.1 Base Element
8.2.2 Documentation
8.2.3 Extensibility
8.2.4 External Relationships
8.2.5 Root Element
8.2.6 Foundation Package XML Schemas
8.3 Common Elements
8.3.1 Artifacts
8.3.2 Correlation
8.3.3 Error
8.3.4 Escalation
8.3.5 Events
8.3.6 Expressions
8.3.7 Flow Element
8.3.8 Flow Elements Container
8.3.9 Gateways
8.3.10 Item Definition
8.3.11 Message
8.3.12 Resources
8.3.13 Sequence Flow
8.3.14 Common Package XML Schemas
8.4 Services
8.4.1 Interface
8.4.2 EndPoint
8.4.3 Operation
8.4.4 Service Package XML Schemas
9 Collaboration
9.1 Basic Collaboration Concepts
9.1.1 Use of BPMN Common Elements
9.2 Pool and Participant
9.2.1 Participants
9.2.2 Lanes
9.3 Message Flow
9.3.1 Interaction Node
9.3.2 Message Flow Associations
9.4 Conversations
9.4.1 Conversation Node
9.4.2 Conversation
9.4.3 Sub-Conversation
9.4.4 Call Conversation
9.4.5 Global Conversation
9.4.6 Conversation Link
9.4.7 Conversation Association
9.4.8 Correlations
9.5 Process Within Collaboration
9.6 Choreography within Collaboration
9.7 Collaboration Package XML Schemas
10 Process
10.1 Basic Process Concepts
10.1.1 Types of BPMN Processes
10.1.2 Use of BPMN Common Elements
10.2 Activities
10.2.1 Resource Assignment
10.2.2 Performer
10.2.3 Tasks
10.2.4 Human Interactions
10.2.5 Sub-Processes
10.2.6 Call Activity
10.2.7 Global Task
10.2.8 Loop Characteristics
10.2.9 XML Schema for Activities
10.3 Items and Data
10.3.1 Data Modeling
10.3.2 Execution Semantics for Data
10.3.3 Usage of Data in XPath Expressions
10.3.4 XML Schema for Data
10.4 Events
10.4.1 Concepts
10.4.2 Start Event
10.4.3 End Event
10.4.4 Intermediate Event
10.4.5 Event Definitions
10.4.6 Handling Events
10.4.7 Scopes
10.4.8 Events Package XML Schemas
10.5 Gateways
10.5.1 Sequence Flow Considerations
10.5.2 Exclusive Gateway
10.5.3 Inclusive Gateway
10.5.4 Parallel Gateway
10.5.5 Complex Gateway
10.5.6 Event-Based Gateway
10.5.7 Gateway Package XML Schemas
10.6 Compensation
10.6.1 Compensation Handler
10.6.2 Compensation Triggering
10.6.3 Relationship between Error Handling and Compensation
10.7 Lanes
10.8 Process Instances, Unmodeled Activities, and Public Processes
10.9 Auditing
10.10 Monitoring
10.11 Process Package XML Schemas
11 Choreography
11.1 Basic Choreography Concepts
11.2 Data
11.3 Use of BPMN Common Elements
11.3.1 Sequence Flow
11.3.2 Artifacts
11.4 Choreography Activities
11.4.1 Choreography Task
11.4.2 Sub-Choreography
11.4.3 Call Choreography
11.4.4 Global Choreography Task
11.4.5 Looping Activities
11.4.6 The Sequencing of Activities
11.5 Events
11.5.1 Start Events
11.5.2 Intermediate Events
11.5.3 End Events
11.6 Gateways
11.6.1 Exclusive Gateway
11.6.2 Event-Based Gateway
11.6.3 Inclusive Gateway
11.6.4 Parallel Gateway
11.6.5 Complex Gateway
11.6.6 Chaining Gateways
11.7 Choreography within Collaboration
11.7.1 Participants
11.7.2 Swimlanes
11.8 XML Schema for Choreography
12 BPMN Notation and Diagrams
12.1 BPMN Diagram Interchange (BPMN DI)
12.1.1 Scope
12.1.2 Diagram Definition and Interchange
12.1.3 How to Read this Chapter
12.2 BPMN Diagram Interchange (DI) Meta-model
12.2.1 Overview
12.2.2 Abstract Syntax
12.2.3 Classifier Descriptions
12.2.4 Complete BPMN DI XML Schema
12.3 Notational Depiction Library and Abstract Element Resolutions
12.3.1 Labels
12.3.2 BPMNShape
12.3.3 BPMNEdge
12.4 Example(s)
12.4.1 Depicting Content in a Sub-Process
12.4.2 Multiple Lanes and Nested Lanes
12.4.3 Vertical Collaboration
12.4.4 Conversation
12.4.5 Choreography
13 BPMN Execution Semantics
13.1 Process Instantiation and Termination
13.2 Activities
13.2.1 Sequence Flow Considerations
13.2.2 Activity
13.2.3 Task
13.2.4 Sub-Process/Call Activity
13.2.5 Ad-Hoc Sub-Process
13.2.6 Loop Activity
13.2.7 Multiple Instances Activity
13.3 Gateways
13.3.1 Parallel Gateway (Fork and Join)
13.3.2 Exclusive Gateway (Exclusive Decision (data-based) and Exclusive Merge)
13.3.3 Inclusive Gateway (Inclusive Decision and Inclusive Merge)
13.3.4 Event-based Gateway (Exclusive Decision (event-based))
13.3.5 Complex Gateway (related to Complex Condition and Complex Merge)
13.4 Events
13.4.1 Start Events
13.4.2 Intermediate Events
13.4.3 Intermediate Boundary Events
13.4.4 Event Sub-Processes
13.4.5 Compensation
13.4.6 End Events
14 Mapping BPMN Models to WS-BPEL
14.1 Basic BPMN-BPEL Mapping
14.1.1 Process
14.1.2 Activities
14.1.3 Events
14.1.4 Gateways and Sequence Flows
14.1.5 Handling Data
14.2 Extended BPMN-BPEL Mapping
14.2.1 End Events
14.2.2 Loop/Switch Combinations From a Gateway
14.2.3 Interleaved Loops
14.2.4 Infinite Loops
14.2.5 BPMN Elements that Span Multiple WSBPEL Sub-Elements
15 Exchange Formats
15.1 Interchanging Incomplete Models
15.2 Machine Readable Files
15.3 XSD
15.3.1 Document Structure
15.3.2 References within the BPMN XSD
15.4 XMI
15.5 XSLT Transformation between XSD and XMI
Annex A: Changes from v1.2
Annex B: Diagram Interchange
B.1 Scope
B.2 Architecture
B.3 Diagram Common
B.3.1 Overview
B.3.2 Abstract Syntax
B.3.3 Classifier Descriptions
B.4 Diagram Interchange
B.4.1 Overview
B.4.2 Abstract Syntax
B.4.3 Classifier Descriptions
Annex C: Glossary
(informative)
Date: May 2010 Business Process Model and Notation (BPMN) Version 2.0 OMG Document Number: dtc/2010-05-03 Standard document URL: http://www.omg.org/spec/BPMN/2.0 This OMG document replaces the submission document (bmi/2009-05-03, Alpha). It is an OMG Adopted Beta Specification and is currently in the finalization phase. Comments on the content of this document are welcome, and should be directed to issues@omg.org by March 1, 2010. You may view the pending issues for this specification from the OMG revision issues web page http:// www.omg.org/issues/. The FTF Recommendation and Report for this specification will be published on June 21, 2010. If you are reading this after that date, please download the available specification from the OMG Specifications Catalog.
Copyright © 2009, Axway Copyright © 2009, BizAgi Copyright © 2009, Bruce Silver Associates Copyright © 2009, IDS Scheer Copyright © 2009, IBM Corp. Copyright © 2009, MEGA International Copyright © 2009, Model Driven Solutions Copyright © 2009, Object Management Group Copyright © 2009, Oracle Copyright © 2009, SAP AG Copyright © 2009, Software AG Copyright © 2009, TIBCO Software Copyright © 2009, Unisys USE OF SPECIFICATION - TERMS, CONDITIONS & NOTICES The material in this document details an Object Management Group specification in accordance with the terms, conditions and notices set forth below. This document does not represent a commitment to implement any portion of this specification in any company's products. The information contained in this document is subject to change without notice. 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.
GENERAL USE RESTRICTIONS Any unauthorized use of this specification may violate copyright laws, trademark laws, and communications regulations and statutes. This document contains information which is protected by copyright. All Rights Reserved. No part of this work covered by copyright herein may be reproduced or used in any form or by any means--graphic, electronic, or mechanical, including photocopying, recording, taping, or information storage and retrieval systems--without permission of the copyright owner. DISCLAIMER OF WARRANTY 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. RESTRICTED RIGHTS LEGEND Use, duplication or disclosure by the U.S. Government is subject to the restrictions set forth in subparagraph (c) (1) (ii) of The Rights in Technical Data and Computer Software Clause at DFARS 252.227-7013 or in subparagraph (c)(1) and (2) of the Commercial Computer Software - Restricted Rights clauses at 48 C.F.R. 52.227-19 or as specified in 48 C.F.R. 227- 7202-2 of the DoD F.A.R. Supplement and its successors, or as specified in 48 C.F.R. 12.212 of the Federal Acquisition Regulations and its successors, as applicable. The specification copyright owners are as indicated above and may be contacted through the Object Management Group, 140 Kendrick Street, Needham, MA 02494, U.S.A. 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™ , IMM™ , MOF™ , OMG Interface Definition Language (IDL)™ , and OMG Systems Modeling Language (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. 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 COMPLIANCE
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 pro- cess 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.htm).
Table of Contents Preface ..............................................................................................xxiii 1 Scope ...................................................................................................1 2 Conformance .......................................................................................1 2.1 Process Modeling Conformance ......................................................... 2 2.1.1 BPMN Process Types........................................................................................2 2.1.2 BPMN Process Elements...................................................................................2 2.1.3 Visual Appearance.............................................................................................8 2.1.4 Structural Conformance .....................................................................................8 2.1.5 Process Semantics ............................................................................................8 2.1.6 Attributes and Model Associations.....................................................................9 2.1.7 Extended and Optional Elements.......................................................................9 2.1.8 Visual Interchange .............................................................................................9 2.2 Process Execution Conformance........................................................ 9 2.2.1 Execution Semantics........................................................................................10 2.2.2 Import of Process Diagrams.............................................................................10 2.3 BPEL Process Execution Conformance............................................ 10 2.4 Choreography Modeling Conformance ............................................. 10 2.4.1 BPMN Choreography Types ............................................................................10 2.4.2 BPMN Choreography elements .......................................................................10 2.4.3 Visual Appearance...........................................................................................11 2.4.4 Choreography Semantics.................................................................................11 2.4.5 Visual Interchange ...........................................................................................11 2.5 Summary of BPMN Conformance Types .......................................... 12 3 Normative References ......................................................................12 3.1 Normative.......................................................................................... 12 3.2 Non-Normative .................................................................................. 13 4 Terms and Definitions.......................................................................16 5 Symbols .............................................................................................16 6 Additional Information......................................................................16 6.1 Conventions ...................................................................................... 16 6.1.1 Typographical and Linguistic Conventions and Style.......................................16 6.1.2 Abbreviations ...................................................................................................17 6.2 Structure of this Document................................................................ 17 6.3 Acknowledgements ........................................................................... 17 7 Overview ...........................................................................................21 7.1 BPMN Scope..................................................................................... 22 7.1.1 Uses of BPMN..................................................................................................23 Business Process Model and Notation, v2.0 vii
7.2 BPMN Elements................................................................................ 27 7.2.1 Basic BPMN Modeling Elements .....................................................................28 7.2.2 Extended BPMN Modeling Elements ...............................................................30 7.3 BPMN Diagram Types....................................................................... 41 7.4 Use of Text, Color, Size, and Lines in a Diagram ............................. 41 7.5 Flow Object Connection Rules.......................................................... 42 7.5.1 Sequence Flow Connections Rules .................................................................42 7.5.2 Message Flow Connection Rules.....................................................................43 7.6 BPMN Extensibility............................................................................ 44 7.7 BPMN Example................................................................................. 45 8 BPMN Core Structure .......................................................................49 8.1 Infrastructure ..................................................................................... 51 8.1.1 Definitions ........................................................................................................51 8.1.2 Import ...............................................................................................................53 8.1.3 Infrastructure Package XML Schemas.............................................................54 8.2 Foundation ........................................................................................ 55 8.2.1 Base Element...................................................................................................56 8.2.2 Documentation .................................................................................................56 8.2.3 Extensibility ......................................................................................................57 8.2.4 External Relationships .....................................................................................61 8.2.5 Root Element ...................................................................................................64 8.2.6 Foundation Package XML Schemas................................................................64 8.3 Common Elements............................................................................ 66 8.3.1 Artifacts ............................................................................................................66 8.3.2 Correlation........................................................................................................75 8.3.3 Error .................................................................................................................81 8.3.4 Escalation.........................................................................................................82 8.3.5 Events ..............................................................................................................83 8.3.6 Expressions......................................................................................................84 8.3.7 Flow Element ...................................................................................................86 8.3.8 Flow Elements Container .................................................................................88 8.3.9 Gateways .........................................................................................................90 8.3.10 Item Definition ................................................................................................91 8.3.11 Message.........................................................................................................93 8.3.12 Resources ......................................................................................................96 8.3.13 Sequence Flow ..............................................................................................97 8.3.14 Common Package XML Schemas ...............................................................100 8.4 Services........................................................................................... 104 8.4.1 Interface .........................................................................................................104 8.4.2 EndPoint.........................................................................................................105 8.4.3 Operation .......................................................................................................105 8.4.4 Service Package XML Schemas....................................................................106 9 Collaboration ...................................................................................107 9.1 Basic Collaboration Concepts ......................................................... 109 9.1.1 Use of BPMN Common Elements..................................................................110 9.2 Pool and Participant ........................................................................ 110 9.2.1 Participants ....................................................................................................113 viii Business Process Model and Notation, v2.0
分享到:
收藏