Home
View/Download - No Magic, Inc
Contents
1. button next to the Place Transformation model in package text box to locate the place to save the Activity diagram that willl be created Figure 116 The Destination Package dialog will open Figure 117 Converting Activity Diagram to or from BPMN Process Diagram N Model Transtormation Wizard X Select transformation source and destination Choose a transformation source model or model park which will be transformed and choose the package that will contain the generated model Transformation Source E M Data i 2 Select source destination EI F A ordering 1 Select transformation type E 2d Order handling Ordering E F 28d Procurement Process Ordering oe a a ee ae ee press SHIFT and click to select individually Transformation Destination f Place transformation model in package Click to select pa paikade for e E Activity Diagrams Transform in place Model Transformation Wizard F x Select transformation source and destination Choose a transformation source model or model part which will be transformed and choose the package that will contain the generated model Transformation Source El J Fe Data f 2 Select source destination F Ordering 1 Select transformation type H 88d Order handling Ordering fi 4 Procurement Process Ordering rem OG nn a ee er press SHIFT and click to select individually Transformation Destina
2. Transformation Source El G Data i 2 Select source destination EI F A ordering 1 Select transformation type Select BPMN Process E A Order handling Ordering diagrams to transform to UML El 4 Procurement Process Ordering Activity diagrams E i tk ee ee press SHIFT and click to select individually me Transformation Destination f Place transformation model in package a Transform in place lt Back Hest Finish Cancel Help Model Transformation Wizard x Select transformation source and destination Choose a transformation source model or model part which will be transformed and choose the package that will contain the generated model Transformation Source E M G Data f 2 Select source destination F Ordering 1 Select transformation type Select BPMN Process H 88d Order handling Ordering diagrams to transform to UML 98 Procurement Process Ordering Activity diagrams T or ee eee ee ee press SHIFT and click to select individually Transformation Destination f Place transformation model in package Transform in place lt Back Next gt Finish Cancel Help Figure 115 Model Transformation Wizard Step 2 113 Copyright 2009 2011 No Magic Inc Converting Activity Diagram to or from BPMN Process Diagram TIP select the whole package to transform all diagrams contained in the package 4 Click the
3. 3 Start MagicDraw IMPORTANT When you install the plugin you will automatically get an evaluation key which is valid for seven 7 days Afterward you will need to purchase a license for the plugin to work on BPMN diagrams once the evaluation license has expired BPMN diagrams will be in read only mode Related sections MagicDraw UserManual pdf 1 3 Switching to Business Modeler Perspective The Business Modeler perspective is geared to business process modelers The perspective simplifies user interface by hiding features that are relevant to business process modeling and highlighting all of the features dedicated to business process modeling What you need to do to access the Business Modeler perspective depends on whether you are doing either one of the following i Launching MagicDraw once Cameo Business Modeler has been installed ii Switching to the Business Modeler perspective from any other perspectives i To switch to the Business Modeler perspective once Cameo Business Modeler has been installed 1 Start MagicDraw 2 A message dialog will open informing you of successful installation and asking whether you want to switch to the Business Modeler perspective 3 Click Yes to switch to the Business Modeler perspective supporting BPMN 2 0 diagrams Working with BPMN 2 0 Projects ii To switch to the Business Modeler perspective from any other perspectives 1 On the Options menu click Per
4. BUSINE ESS MODELER version 17 0 1 No Magic Inc All material contained herein is considered proprietary information owned by No Magic Inc and is not to be shared copied or reproduced by any means All information copyright 2009 2011 by No Magic Inc All Rights Reserved CONTENTS 1 GETTING STARTED 5 1 1 Introduction to Cameo Business Modeler 5 1 2 Installation 5 1 2 1 Installing Cameo Business Modeler Plugin 5 1 3 Switching to Business Modeler Perspective 6 1 4 Working with BPMN 2 0 Projects 7 2 CONCEPTS 8 2 1 Common BPMN 2 0 Elements 9 2 1 1 Definitions 9 2 1 2 Artifacts 9 2 1 2 1 Anchor 9 2 1 2 2 Association 10 2 1 2 3 Group 10 2 1 2 4 Text Annotation 11 2 1 3 Events 11 2 1 3 1 Start Events 11 2 1 3 2 Intermediate Events 16 2 1 3 3 Boundary Events 20 2 1 3 4 End Events 24 2 1 4 Gateways 26 2 1 4 1 Exclusive Gateway 26 2 1 4 2 Inclusive Gateway 27 2 1 4 3 Parallel Gateway 28 2 1 4 4 Complex Gateway 28 2 1 4 5 Event Based Gateway 28 2 1 5 Error 29 2 1 6 Message 29 2 1 Participant 30 2 1 8 Sequence Flow 30 2 1 9 Message Flow 31 2 2 BPMN Process Diagram 34 2 2 1 BPMN Process 34 2 2 2 Activities 34 2 2 2 1 Task 36 2 2 2 2 SubProcess 38 2 2 2 3 Call Activity 40 2 2 3 Items and Data 40 2 2 3 1 Data Object 40 2 2 3 2 Data Store 41 2 2 3 3 Data Input and Data Output 41 2 2 3 4 Data Association 42 2 2 4 Compensation 42 2 3 BPMN Collaboration Diagram 44 2 3 1 Collaboration 46 2 3 2 Pooland Lane 46 CONTENT
5. Inclusive Gateway InclusiveGateway ForkNode O Complex Gateway ComplexGateway ForkNode P Parallel Gateway ParallelGateway ForkNode 2 1 4 1 Exclusive Gateway A diverging Exclusive Gateway Decision is used to create alternative paths within a process flow This is basi cally the diversion point in the road for a process Only one alternative path can be taken for a given instance of the process 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 question is associated with a condition Expression that is associated with the Gateway s outgoing sequence flow Figure 7 Receive Order i forder accepted f o l 7 Request gt es Fill Order order rejected Close Order Figure 7 Diverging Exclusive Gateway Example A converging Exclusive Gateway is used to merge alternative paths Each incoming sequence flow token is routed to the outgoing sequence flow without synchroning them Common BPMN 2 0 Elements 2 1 4 2 Inclusive Gateway A diverging Inclusive Gateway Inclusive Decision is used to create not only alternative but also parallel paths within a process flow Unlike the Exclusive Gateway all condition expressions will be evaluated The true eval uation of one condition expression does not exclude the evaluation of the other condition expressions All of the sequence flows with a true e
6. Model Transformation Wizard x Select transformation source and destination Choose a transformation source model or model part which will be transformed and choose the package E lt a that will contain the generated model Transformation Source E fe Data 1 Select transformation type 2 Select source destination ctivity Diagrams M aa Coffee Activity Diagrams OL rj Ey Coffee Making Activity Diagrams Coffee E M a Collect Computer Production Materials Rejected Comput J aa Fulfil Order Activity Diagrams press SHIFT and click to select individually Transformation Destination Click to select Place transformation model in package package for BPMN Process diagrams EPM Diagrams Transform in place lt Back ext Finish Cancel Help 109 Copyright 2009 2011 No Magic Inc Converting Activity Diagram to or from BPMN Process Diagram Figure 110 Selecting the Location to Save the BPMN Process Diagram Destination Package a E E UML H Ea BPMN Constraints BPMN Constraints mdzir H ER BPMN2 Customization BPMN2 Customization ap BPMN2 Profile BPMN Profile mdzip B E Data Ep UML Standard Profile UML_Standard_Profile a BPMNZ Constraints BPMN Constraints mdzir eg BPMN Customization BPMN2 Customization ae BPM Profile BPM Profile mdzip Eee Model Transformation Profile Model_Transfor w Click to cre
7. User Tas Message Throwing I ia Message Boundary HEINE Tee x O eE event Business Rule Task Exclusive Gateway L Script Task Figure 71 Selecting a Type of Task To change a task type e Open the Task shortcut menu and select a new Task type Figure 72 BPMN Process Diagram Procedures a m Specification Enter a Symbol s Properties Alk Enter 0 To d Refactor b Select in Containment Tree AlE E Related Elements b Show Owner b Wrap Words Business Rule Task Manual Task MultiInstance Loop Receive Task Script Task Available task types Send Task Service Task Standard Loop Figure 72 Task Shortcut Menu Related concepts Task 3 2 4 Managing SubProcesses A BPMN diagram may display subprocesses with different symbol properties e An expanded SubProcess can contain inner shapes e Acollapsed SubProcess cannot display inner shapes A plus sign marker will be displayed for a collapsed subprocess If the property of a SubProcess Is Triggered By Event true it will be called an Event SubProcess and drawn with a dashed border There are two specific types of SubProcesses i A Transaction SubProcess drawn with a double border ii An AdHoc SubProcess drawn with an AdHoc marker on its shape To draw an expanded SubProcess e On the Process Diagram toolbar click the Collapsed SubProcess arrow button and select Expanded SubProcess Figure 73 BPMN Proc
8. pressed contents TIP The Minimum Multiplicity value of a Multilnstance participant prop erty must be at least 2 To add a lane to a Pool e Open the Pool shortcut menu and click either Insert Lanes or Insert Inner Lanes and select a lane type To review the Pool traceability information e Open the Pool Specification dialog and click Traceability The Pool traceability information will open Figure 86 3 PROCEDURES BPMN Collaboration Diagram Procedures Pool traceability Discover pool traceability relations that are identified according the relationships between pools and pools inner elements M Patient Receive Medicine Receive Medicine a Usage in Diagrams Inner Elements B A Message Flow Receive Medicine Relations Incoming Message Flows k z m Message Flowl Receive Medicine l A Message Flow Receive Medicine Outgoing Message Flows B 2 Message Flow Receive Medicine OE ee hm See Doctor Receive Medicine Receive r A Pickup your medicine then leave Rece 1 I want to see a doctor Receive Medicine Sent Messages hh I feel sick Receive Medicine Receive Me arwana 83 Copyright 2009 2011 No Magic Inc BPMN Collaboration Diagram Procedures Pool traceability Discover pool traceability relations that are identified according the relationships between pools and pools inner elements I Usage in Diagrams 4 Inner Elements Relations E Traceability l
9. undefined E Multiplicity Maximum undefined Figure 58 Specifying the Minimum Multiplicity Value of a Multilnstance Participant To review traceability information related to a Participant e Open the Participant Specification dialog and select Traceability Figure 59 Common BPMN Elements Procedures Participant Lonsignee x Participant traceability Discover participant traceability relations that are identified according the relationships between pools representing the participants Ea T Lpy abe S History ta Consignee Ordering Participants Traceability E E Documentation Hyperli ws Aj ae ES Usage in Diagrams E E J Relations Traceability 2 Is enone Incoming Message Flows J Message Flow Ordering Lagistics witt l Constraints Outgoing Message Flows Message Flow Ordering Logistics fit Received Messages Contirmation of Schedule Ordering M Consignee Ordering Delivery PA Consignee Ordering Logistics with Pr Representing Pools Sent Messages Proposed Flan Cost Variation Orderir Forward Participant Lonsignee Participant traceability Discover participant traceability relations that are identified according the relationships between pools representing the participants Ea History ta Consignee Ordering Participants Traceability EE Documentation Hyperli se Usage in Diagrams 3 RelaHone Traceability El EREA Incoming Me
10. 0 Correctness Validation Rules suite is included to all BPMN 2 0 projects You may run this suite to verify ifa BPMN 2 0 model has been created correctly This suite verifies a bigger set of correctness rules than the active validation rules set does 2 5 3 BPMN2 Completeness Validation Rules suite is included in all of the BPMN 2 0 projects You may run this suite to verify if a BPMN 2 0 model is fully specified 2 5 1 BPMN 2 0 Correctness Active Validation Rules Table 10 describes the BPMN correctness active validation rules defined in Cameo Business Modeler for BPMN 2 0 projects Table 10 BPMN 2 0 Correctness Active Validation Rules Validation rule Severity A Sequence Flow cannot connect the elements inside a SubProcess to the elements out Error side the SubProcess A Message Flow must connect two separate Pools or elements from separate pools Error A Conversation Link shall be drawn either from Participant to Communication SubCon Error versation or CallConversation or from Communication SubConversation or CallCon versation to Participant An Ad Hoc SubProcess may not have a Start Event Warning An Ad Hoc SubProcess may not have an End Event Warning A Message Start Event cannot be used in a Choreography diagram Error An Error Start Event cannot be used in a Choreography diagram Error An Error Boundary Event cannot be used in a Choreography diagram Error A Message End Event cannot be used in a Choreography dia
11. 2009 2011 No Magic Inc BPMN Collaboration Diagram 2 3 BPMN Collaboration Diagram A Collaboration represents the interactions between two or more business entities A Collaboration diagram depicts a global point of view It shows the interactions between participants in general A Collaboration contains two or more pools representing the participants in the collaboration Messages exchanged between the participants are shown by the message flows that connect two pools or the objects within the pools Figure 33 z E E T 2 fat ma E Lla Credit Request Credit Response n T Manufacturer Figure 33 Collaboration Diagram with Two Black Box Pools Financial Institution 5 F Figure 34 Collaboration Diagram with Two Pools Showing a Process 44 Copyright 2009 2011 No Magic Inc BPMN Collaboration Diagram A Collaboration diagram can also show distinct conversations between the collaborating participants in a domain Communications are defined by the conversations participants and conversation links between them Figure 35 Delivery Negotiations k d Delivery Dispatch Plan Consignee b o shipment Schedule 4 F Delivery Dispatch Plan Consolidator i n Delivery d Dispatch Plan Carrier Planning Carrier Land Sea Rail or Air V Cle bd earance Customs Quarantine Pre Notification oe Insurance
12. Cameo SOA x 1 Select module Select module File C 2 Module Settings From file system f From predefined location Choose 4 module to be used by the project From the File Project modules paths system or a predefined l ae Gee module e ME path and click Next ko lt install root gt profiles proceed Predefined lt install root modelLibr aries locations help Finding default application profiles and libraries D MagicDrawiMagicDraw 16 9 betaiprofiles Module description BPMN SoaMiL integration profile allows using BPIVIN 2 0 and soalviL together Back Next gt Finish Cancel Help TES Module l x 1 Select module Select module File 2 Module Settings C From file system f From predefined location Choose a module to be used by the project From the File Project modules paths system or a predefined location project module path and click Next ta lt install root profiles proceed Predefined lt install root gt modelLibraries locations help Finding default application profiles and libraries J O MagicDraw MagicDraw 16 9 betalprofiles lt project dir gt Module description BPMN SoaMiL integration profile allows using BPIVIN 2 0 and soalviL together Back Hext gt Finish Cancel Help Figure 124 Use Module Dialog 2 Select the BPMN SOAML Integration Profile mdzip module file 127 Copyright 2009 2011 No Magic Inc Int
13. Credit Request Financial Institution Approval Figure 104 Messages Created for a Choreography Task NOTE e Initiating Messages connected to an initiating Participant compartment will be displayed in white e Non initiating messages connected to a non initiating Participant compartment will be displayed in gray To hide or display the Messages for a Choreography Task either e Right click a Choreography Task and either select or deselect Show Messages or e Right click a Choreography Task and click Symbol s Properties The Symbol Properties dialog will open Either select or clear the Show Messages check box BPMN Choreography Diagram Procedures Related concepts 2 4 2 1 Choreography Task Participant Message Collaboration Related procedures 3 3 2 Creating Pool and Lane 3 3 3 Creating a Message Flow 3 4 5 Creating a Call Choreography A Call Choreography holds a reference to a Choreography To create a Call Choreography 1 Click the Call Choreography button on the BPMN Choreography Diagram toolbar in a BPMN Choreography diagram Figure 105 and click the diagram to draw the shape The Select Behavior dialog will open BPMN Choreography diagram D Choreography Task Collapsed Choreography SubProcess _ Call Choreography Activity None Start Event Figure 105 Creating a Call Choreography 2 Select a choreography and click OK To change the element called by a Call Choreography eit
14. Event SubProcess None Catching Inte f i Expanded Event SubProcess Message Throwing I Collapsed Transaction SubProcess Message Boundary Mone End Event T Exclusive Gateway SL Sequence Flow Expanded Transaction SubProcess Collapsed AdHoc SubProcess Expanded AdHoc SubProcess Figure 74 Selecting an Event Subprocess To draw a Transaction SubProcess e On the Process Diagram toolbar click the Collapsed SubProcess arrow button and select Collapsed Transaction SubProcess or Expanded Transaction SubProcess Figure 75 BPMN Process Diagram Procedures ee Collapsed SubProcess 7 A Collapsed SubProcess O Call Activity Expanded SubProcess None Start Event FY ey Collapsed Event SubProcess Fa None Catching Inte i ff Expanded Event SubProcess Message Throwing I z Collapsed Transaction SubProcess E Message Boundary O End Event a Expanded Transaction SubProcess Exclusive Gateway a Collapsed AdHoc SubProcess Sequence Flow Expanded AdHaoc SubPracess Figure 75 Selecting a Transaction Subprocess To draw an AdHoc SubProcess e On the Process Diagram toolbar click the Collapsed SubProcess arrow button and select Collapsed AdHoc SubProcess or Expanded AdHoc SubProcess Figure 76 ee EI Process Diagram C Task i WL is seg ois eee Soren aide Ae ea sty memes donde eee meas Collapsed SubProcess Collapsed SubProcess C C
15. Flow either i Click a Message Flow path in a diagram and click the Referenced Messages button on the Smart Manipulators toolbar The Select Message dialog will open Select a message in the tree and click OK ii Right click the the Message Flow and select Specification The Message Flow specifica tion dialog will open Click the Message Ref button Figure 90 and select a message El Message Flow Mame Id Message Ref Client M User Booking Supplier M Sales Department Booking To Do Figure 90 Message Ref in the Message Flow Specification dialog NOTE You can create a Message in a BPMN Process Collaboration Choreography or SubProcess element To change a Message Flow display mode e Right click a Message Flow and select either i Show Message and select a message display mode Do not Show Associated with Message Flow or Overlapping with Message Flow or ii Symbol s Properties and select the required Show Message property value Do not Show Associated with Message Flow or Overlapping with Message Flow Related concepts Message Message Flow 3 3 4 Creating a Communication A Communication groups messages exchanged between Participants To create a Communication between two participants 1 Draw a Communication 2 Draw a Communication Link from the Communication to a Participant 3 Draw another Communication Link from the Communication to another P
16. Notation Service Task OpaqueAction A Service Task is a task that uses some sort of service which could be a Web service or an auto mated application Send lask OpaqueAction A Send Task is a simple task that is designed to EA send a message to an external participant Once the message has been sent the task is com pleted ReceiveTask OpaqueAction A Receive Task is a simple task that is designed A to wait for a message to arrive from an external participant relative to the Process Once the message has been received the task is com pleted UserTask OpaqueAction A User Task is a typical workflow task where a a human performer performs the task with the assistance of a software application and is sched uled through a task list manager of some sort ManualTask OpaqueAction A Manual Task is a task that is expected to be Fe performed without the aid of any business pro cess execution engine or application for example a telephone technician installing a telephone at a customer location BusinessRuleTask OpaqueAction A Business Rule Task provides a mechanism for a i process to provide inputs to a business rules engine and to get the output of calculations that the business rules engine might provide ScriptlTask OpaqueAction A Script Task is executed by a business process engine The modeler or implementer defines a script in a language that the engi
17. Project location D MagicDraw 16 9 me UML Guide to Project UML Diagrams Project hel F Project Lise Lase From Existing Project Source Code Create directory for project and related data Business Process Modeling HPHH BPMN Project A Project Process From Template Guide Project 125 Copyright 2009 2011 No Magic Inc Integration with Cameo SOA x General Purpose Modeling A Mame Business Architecture a Project location D MagicDrav 16 9 an UML Guide to Project UML Diagrams Project T F Project Lise Case From Existing Project Source Code Business Process Modeling soy HPHH BPMN Project BPMN 5S0aML Project create directory For project and related data Enterprise Modeling Systems Engineering Other Z Es Project Process From Template Guide Project OK Cancel Help Figure 123 New Project Dialog 3 Type a filename in the Name box 4 Click the button to locate where to store the project to be created 5 Click OK NOTE _ If the Business Modeler perspective is not enabled message offering to change the perspective will open Click Yes to switch to the Business Modeler perspective supporting the BPMN2 diagrams To use the SoaML concepts in an existing BPMN2 project 1 Click File gt Use Module on the main menu The Use Module dialog will open Figure 124 126 Copyright 2009 2011 No Magic Inc Integration with
18. a loop The presence of loop characteristics signifies that an activity has the looping behavior There are two types of looping characteristics defined in BPMN a Standard Loop and b Multilnstance Loop Table 6 Characteristics of Standard and Multilnstance Loops Characteristics Stereotype Marker Standard Loop StandardLoopCharacteristics CallBehav iourAction OpaqueAction StructuredActivityN Q ode Multilnstance Loop MultilnstanceLoopCharacteristics CallBehav iourAction OpaqueAction StructuredActivityN lil ode Non sequential Sequential a Standard Loop The Standard Loop indicator marker displayed on an activity shape shows that looping behavior based on a boolean condition is defined for this activity Figure 21 Additional looping characteristics can be defined and the activity will loop as long as the boolean condition is true The condition is evaluated for every loop iteration and can be evaluated at the beginning or end of the iteration In addition a numeric cap can be optionally spec ified The number of iterations cannot exceed this cap Q Ol Task with Standard Loop SubProcess with Standard marker Loop marker BPMN Process Diagram Figure 21 Task and Collapsed SubProcess with Standard Loop Indicator b Multilnstance Loop The Multilnstance Loop indicator shows that a desired number of activity instances can be created The instances can be executed in parallel Figure 22 or sequent
19. be affected by this and will continue to be exe cuted Escalation End Event displays on the diagram e Escalation End Event name if the name is specified or e Escalation Code property value if then name is unspecified Common BPMN 2 0 Elements End Event Cancel End Event Compensation End Event Signal End Event Terminate End Event Multiple End Event Stereotype and Description Notation CancelEndEvent ActivityFinalNode A Cancel End Event is used within a Transaction SubProcess It indicates that the transaction should be cancelled and triggers a Cancel Bound ary Event attached to the SubProcess boundary It also indicates that a transaction protocol cancel message should be sent to any entities involved in the transaction CompensationEndEvent ActivityFinalNode A Compensation End Event indicates that a com pensation is necessary If an activity which has successfully been com pleted identified then that activity will be com pensated If no activity is identified all successfully com pleted activities visible from the Compensation End Event will be compensated in reverse order of their sequence flows To be compensated an activity must have a Com pensation Boundary Event or contain a Compen sation Event SubProcess SignalEndEvent ActivityFinalNode A Signal End Event indicates that a signal will be broadcast when the end has been reached Signal End Event displa
20. choreography activity e Right click a choreography activity and select Multilnstance Loop To display a Multilnsatance Loop sequential marker on a Multilnstane Loop choreography activity either e Right click a choreography activity with the Multilnstance Loop parallel marker and select Is Sequential e Right click a choreography activity with the Multilnstance Loop marker and select Specification Select ls Sequential gt false and click Close Figure 99 E Multiinstance Loop Is Sequential False Mone Behavior Event Ref Loop Cardinality Completion Condition Figure 99 Displaying a Multilnstance Loop Sequential Marker Related concepts 2 4 2 Choreography Activities 2 1 Participant Related procedures 3 1 2 Creating BPMN Elements in the Model Browser 3 4 3 Creating a SubChoreography A SubChoreography can be displayed with different symbol properties e An Expanded SubChoreography can contain inner shapes e A Collapsed SubChoreography cannot display inner shapes A plus sign marker is displayed for a collapsed subprocess To draw an expanded SubChoreography e On the BPMN Choreography Diagram toolbar ina BPMN Choreography diagram click the Collapsed SubChoreography SubProcess arrow button and select Expanded SubChoreography Figure 100 BPMN Choreography diagram D Choreography Task _ Call Choreography Activity None Start Event Collapsed Choreography S
21. distinguish it from a Choreography Task Figure 53 Figure 53 Collapsed SubChoreography Related concepts Participant Events Gateways Sequence Flow 2 4 2 3 Call Choreography Call Choreography CallChoreography CallBe haviorAction A Call Choreography identifies the point in a process where a global choreography is used It acts as a place holder for the inclusion of a choreography element it is calling A Call Choreography is drawn with a thick border Figure 54 Figure 54 Call Choreography Notation 55 Copyright 2009 2011 No Magic Inc BPMN Choreography Diagram A Call Choreography referencing another Choreography is marked with a plus sign Figure 55 Figure 55 Call Choreography Referencing Another Choreography Related procedures Creating a Call Choreography Related concepts Choreography 56 Copyright 2009 2011 No Magic Inc Validation Rules 2 5 Validation Rules Cameo Business Modeler has the functionality to check if the created BPMN model corresponds to the most important modeling rules defined in the Business Modeling and Notation BPMN standard Cameo Business Modeler provides three validation suites to validate BPMN models 2 5 1 BPMN 2 0 Correctness Active Validation Rules suite The active BPMN 2 0 validation in MagicDraw instantly checks the most important correctness rules of a BPMN 2 0 model displays errors in the model and suggests solutions 2 5 2 BPMN 2
22. i Tuo WW Weeks irl i al a O O gt eaves gt Hold ae B Hold Reply Book is Hold Book on loan M Receive va Get A E n xa Book i Book ee gt P Loan blister Request Status Val Reply q Book is E Jl available Fa Checkout _ Checkout j Book Reply Figure 19 BPMN Process Diagram Related procedures BPMN Process Diagram Procedures 2 2 1 BPMN Process Element Stereotype Icon BPMN Process BPMNProcess gt Activity a A BPMN process element describes how a process is performed This element is a container for the BPMN Process diagram and its elements 2 2 2 Activities An Activity is work that is performed within a business process An Activity can be atomic or non atomic com pound There are three types of Activities that are part of a Process 2 2 2 1 Task 2 2 2 2 SubProcess BPMN Process Diagram 2 2 2 3 Call Activity If the Activity property Is For Compensation true the activity will be used for compensation which means that this Activity will be activated only when a Compensation Event is detected and initiated under the Compen sation Event visibility scope The Compensation indicator marker is displayed for all activities that are used for the compensation Figure 20 Compensation Task Compensation SubProcess Figure 20 Task and Collaped SubProcess with Compensation Indicator Activities can be repeated sequentially essentially behaving like
23. message flow and is sent received by a message event Related procedures Creating a Message Flow Related concepts Participant Events 29 Copyright 2009 2011 No Magic Inc Common BPMN 2 0 Elements 2 1 7 Participant A Participant represents a specific partner entity for example a company and or a more general partner role for example a buyer seller or manufacturer who are participants in a collaboration A Participant is often responsible for the execution of the process enclosed in a pool Element Stereotype Icon Participant Participant class Related procedures Creating Participants Creating Pool and Lane Related concepts Pool and Lane Communication Choreography Activities 2 1 8 Sequence Flow Element Stereotype Icon Sequence Flow SequenceFlow ControlFlow Me A Sequence Flow is used to show the order of flow elements in a process or choreography Figure 12 5 Quotation and Approve Order Hadling Figure 12 Sequence Flow Drawn between Two Tasks The source and target of a Sequence Flow must be from the set of the following elements Events Start Intermediate and End events Activities Task and Sub Process for Processes Choreography Activities Choreography Task and Sub Choreography Gateways A Sequence Flow can optionally define a condition expression indicating that a token will be passed down the Sequence Flow only if the expression is evaluated to be tru
24. on the diagram l l l Interrupting e Escalation Start Event name if the name is specified or p e Escalation Code property value if then name is A unspecified C When an Escalation Start Event is owned by an Event SubProcess it can be Non Interrupting e Interrupting The Escalation Start Event interrupts the process contained in the Event SubProcess The Interrupting Escalation Start Event is drawn with a solid border e Non Interrupting The Escalation Start Event does not interrupt the process contained in the Event SubProcess The Interrupting Escalation Start Event is drawn with a dashed border NOTE An Escalation Start Event is allowed to trigger an in line Event SubProcess only Common BPMN 2 0 Elements Start Event Error Start Event Signal Start Event Multiple Start Event Stereotype and Description Notation ErrorStartEvent InitialNode An Error Start Event is allowed to trigger an in line My Event SubProcess only Error Start Event displays on the diagram e Error Start Event name if the name is specified or e Error Ref property value if name is unspecified SignalStartEvent InitialNode A Signal Start Event shows that a signal which AY has been broadcast from another process has arrived and triggered the start of a process Signal Start Event displays on the diagram Interrupting e Signal Start Event name if the name is specified or E e Signal Ref property value if the na
25. page 5 e Installing Cameo Business Modeler on page 6 e Licensing Information on page 7 e Switching to Business Modeler Perspective on page 6 e Working with BPMN 2 0 Projects on page 7 1 2 Installation 1 2 1 Installing Cameo Business Modeler Plugin To install Cameo Business Modeler Plugin either i use Resource Plugin Manager in MagicDraw to download and install the plugin or ii follow the manual installation instructions if for some reasons direct download through Resource Plugin Manager is not available or if you have already downloaded the plugin Switching to Business Modeler Perspective i To install Cameo Business Modeler Plugin using Resource Plugin Manager 1 On the Help menu click Resource Plugin Manager The Resource Plugin Manager dialog will open and prompt you to check for the latest product updates and resources Click Check for Updates gt Check NOTE To start the MagicDraw resource updates specify HTTP Proxy Settings for connection 2 Select the Cameo Business Modeler Plugin check box and click Download Install 3 Restart MagicDraw ii To install Cameo Business Modeler Plugin following the manual installation instructions on all platforms 1 Download the Cameo_Business_Modeler_Plugin_ lt version number gt zip file NOTE Exit the currently running MagicDraw application before extracting the plugin 2 Extract the file to the directory where your MagicDraw is installed
26. some changes in a state in a process Message Catching Inter MessageCatchIntermediateEvent AcceptE mediate Event ventAction Message Catching Intermediate Event displays on the diagram e Message Catching Intermediate Event name if the name is specified or e Message Ref property value if the name is unspecified or e Operation Ref property if name and Message Ref are not specified A Message Catching Intermediate Event is used to receive a message It will cause a process to continue if it is waiting for the message Common BPMN 2 0 Elements Intermediate Event Message Throwing Inter mediate Event Timer Catching Interme diate Event Escalation Throwing Intermediate Event Stereotype and Description Message ThowlIntermediateEvent SendObjec tAction Message Throwing Intermediate Event displays on the diagram e Message Throwing Intermediate Event name if the name is specified or e Message Ref property value if the name is unspecified or e Operation Ref property if name and Message Ref are not specified A Message Throwing Intermediate Event is used to send a message TimerCatchIntermediateEvent AcceptEven tAction A Timer Catching Intermediate Event acts as a delay mechanism based on a particular time date or cycle for example every Monday at 9 A M Timer Catching Intermediate Event displays on the diagram e Timer Catching Intermediate Event name if the
27. 1 1 Project on the main menu A Question dialog will open Figure 121 x Project contains BPMN 1 x Business Process Diagrams BPMN 1 x Business Process diagram will not be supported in Future releases It will be replaced by Cameo Business Modeler Plugin For MagicDrayy BPMN 2 0 support and model import From BPMN 1 x to BPMN 2 0 version is available in Cameo Business Modeler Plugin Do vou want ko convert your project to BPMN 4 backup copy of your project will be created in case you need BPMN 1 x model x Project contains BPMN 1 x Business Process Diagrams BPMN 1 x Business Process diagram will not be supported in Future releases It will be replaced by Cameo Business Modeler Plugin For MagicDrayy BPMN 2 0 support and model import From BPMN 1 x to BPMN 2 0 version is available in Cameo Business Modeler Plugin Do vou want to convert your project to BPMN 4 backup copy of your project will be created in case you need BPMN 1 x model Figure 121 Question Dialog 2 Click Yes to convert the project Another Question dialog will open to inform you that that all elements will be locked Figure 122 3 PROCEDURES Importing from BPMN 1 1 Question p7 Question Z 3 Click Yes Figure 122 Question Dialog IMPORTANT Before migrating a Teamwork project to BPMN 2 0 make sure that other users do not lock the BPMN elements A backup file for a Teamwork project will not be created when migrating the p
28. J Message Flow Receive Medicine Receiv Incoming Message Flows l 2 Message Flow Receive Medicine Receiv J Message Flow Receive Medicine Receiv Outgoing Message Flows m Message Flow Receive Medicine Receiy See Doctor Receive Medicine Receive Received Messages ste lt i a 1 Pickup your medicine then leave Fece I want to see a doctor Receive Medicine Sent M l g r I Feel sick Receive Medicine Receive Me Forward Help Figure 86 Opening Pool Traceability Information Related concepts Participant Pool and Lane Related procedures 3 1 2 Creating BPMN Elements in the Model Browser 3 3 3 Creating a Message Flow A Message flow connects two pools or the inner elements of a pool To draw a Message Flow 1 Click Message Flow on the Collaboration Diagram toolbar 2 Click an element which is the source of the Message Flow in a diagram 3 Click an element which is the target of the Message Flow in a diagram IMPORTANT A Message Flow must connect two different Pools or the inner ele ments of a pool 84 Copyright 2009 2011 No Magic Inc BPMN Collaboration Diagram Procedures To create a new Message for a Message Flow e Drag a classifier Class Input Set Output Set or Error from the Containment tree to a Message Flow in a Collaboration diagram To create a Message for a Message Flow 1 Click a Message Flow path in a diagram and click the Refere
29. Multiplicity value of 2 or greater Figure 38 Figure 38 Pool with Suppressed Contents Referencing the Multilnstance Participant BPMN Collaboration Diagram A Lane is a sub partition within a pool Lanes are used to organize and categorize activities within a pool They are often used in the internal roles for example Manager and Associate systems for example an enterprise application or internal departments for example shipping or finance In addition Lanes can be nested or defined in a matrix For example there could be an outer set of Lanes for company departments and an inner set of Lanes for the roles within each department Figure 39 Pre Sales i T er lm a m 2 gi Th o Engineering Figure 39 Pool with Nested Lanes Related concepts Participant BPMN Process Diagram 2 3 3 Communication Communication Communication StructuredActivityNode A Communication is an atomic element for a BPMN Collaboration diagram It represents a set of message flows that are grouped together Figure 40 A Communication may involve two or more Participants A Conversation Link path will be drawn from a commu nication to the involved Participants Pools 47 Copyright 2009 2011 No Magic Inc BPMN Collaboration Diagram Shipment Schedule Figure 40 Communication Notation Related procedures Creating a Communication Creating Pool and Lane Related concepts Part
30. N Process Diagram Model Transformation Wizard Select transformation type Choose a model bo model transformation type and press Next to proceed to the next step ea aa f 1 Select transformation type BPMN Pracess Diagram to UML Actyity Diagram 2 Select source destination Description Transforms BPMN Process Diagram to UML Actinty Diagram Back Mexk Finish Cancel Help ed Model Transformation Wizard Select transformation type Choose a model bo model transformation type and press Next to proceed to the next step a a 1 Select transformation type BPMN Process Diagram to UML Actyity Diagram C 2 Select source destination Description Transforms BPMN Process Diagram to UML Activity Diagram Back Next gt Finish Cancel Help Figure 114 Model Transformation Wizard Step 1 NOTE A dialog may open to inform you that the required profiles will not be used in the project Click Yes to load the profiles required for the transformation 3 Select a BPMN Process diagram that will be transformed to a UML Activity Diagram Figure 115 112 Copyright 2009 2011 No Magic Inc Converting Activity Diagram to or from BPMN Process Diagram N Model Transtormation Wizard X Select transformation source and destination Choose a transformation source model or model part which will be transformed and choose the a package that will contain the generated model
31. N Process Diagram to Activity Diagram Using the Main Menu Converting Activity Diagram to or from BPMN Process Diagram 2 The Model Transformation Wizard dialog will open Select UML Activity Diagram to BPMN Process Diagram and click Next Figure 108 Model Transformation Wizard l Select transformation type Choose a model to model transformation type and press Next to proceed to the next step aii z 1 Select transformation type ewes UML Activity Diagram to BPMN Pr Diagram C 2 Select source destination Description Transforms UML Actrity Diagram to BPMN Process Diagram Back Next gt Finish Cancel Help p7 Model Transtormation Wizard d x Select transformation type Choose a model ho model transformation type and press Next to proceed to the next step ea aa 1 Select transformation type UML Activity Diagram to BPM Pr Diagram C 2 Select source destination Description Transforms UML Activity Diagram to BPMN Process Diagram Back Next gt Finish Cancel Help Figure 108 Model Transformation Wizard Step 1 NOTE A dialog may open to inform you that the required profiles are no longer used in a project Click Yes to load the profiles required for the transformation 3 Select an activity diagram that will be transformed to a BPMN Process diagram Figure 109 106 Copyright 2009 2011 No Magic Inc Converting Activity Diagram to or from BPMN Process Diagr
32. S 2 4 A9 2 6 2 3 3 Communication 47 2 3 4 SubConversation 48 2 3 5 Call Conversation 49 2 3 6 Conversation Link 49 BPMN Choreography Diagram 50 2 4 1 Choreography 50 2 4 2 Choreography Activities 51 2 4 2 1 Choreography Task 53 2 4 2 2 SubChoreography 54 2 4 2 3 Call Choreography 55 Validation Rules 57 2 5 1 BPMN 2 0 Correctness Active Validation Rules 57 2 5 2 BPMN 2 0 Correctness Validation Rules 58 2 5 3 BPMN2 Completeness Validation Rules 59 Exporting Models in XPDL Format 60 3 PROCEDURES 61 3 1 3 2 K 3 4 O 3 6 3 7 3 8 Common BPMN Elements Procedures 61 3 1 1 Specifying Element IDs 61 3 1 2 Creating BPMN Elements in the Model Browser 62 3 1 3 Creating Participants 62 3 1 4 Creating a Sequence Flow 65 3 1 5 Creating an Event 66 BPMN Process Diagram Procedures 70 3 2 1 Creating a BPMN Process Diagram 70 3 2 2 Managing Activities 71 3 2 3 Creating Tasks 72 3 2 4 Managing SubProcesses 73 3 2 5 Creating Data Items 76 BPMN Collaboration Diagram Procedures 79 3 3 1 Creating a BPMN Collaboration Diagram 79 3 3 2 Creating Pool and Lane 80 3 3 3 Creating a Message Flow 84 3 3 4 Creating a Communication 89 3 3 5 Creating a SubConversation 91 BPMN Choreography Diagram Procedures 94 3 4 1 Creating a BPMN Choreography Diagram 94 3 4 2 Creating Choreography Activity 94 3 4 3 Creating a SubChoreography 99 3 4 4 Creating a Choreography Task 100 3 4 5 Creating a Call Choreography 104 Converting Act
33. Select Participants from a model tree Select Participants from a list Enable creation mode to create new Participant Search For an element by using list or tree views To Find an element type text or wildcard 7 into the Search by name input Field Search elements by their qualified names or use camel Search by name EAE UNSPECIFIED gt E E Data 19 matches select Participant l Select search for or create 3 id a i m gt a aH 19 matches Found AES Ordering Participants 15 matchas Multiple Selection OK Cancel Help Enable multiple selection to select more that one Participant Figure 96 Selecting Participants in the Select Participant Dialog TIP e If you cannot see the participant you want on the list click the creation mode button in the Select Participant dialog and create a new participant e When creating a participant select a package as the participant owner IMPORTANT You need to specify at least two participants in a Choreography activity NOTE The Multilnstance participants on a choreography shape will be displayed with a multilnstance marker in the participant compartment ii To specify a list of participants by using the Smart Manipulators toolbar 1 Click a Choreography activity ina BPMN Choreography diagram The Smart Manipulators tool bar will open Figure 97 BPMN Choreography Diagram Procedures Figure 97 The Participant
34. Standard Loop Marker b Multilnstance Loop A Multilnstance Loop marker shows that a desired number of Choreography Activity instances can be created The instances can be executed either in parallel Figure 48 or sequential Figure 49 each has a different marker Choreography Task ti i Participant B Participant B Figure 48 Choreography Task and SubChoreography with a Parallel Multilnstance Loop Marker Choreography Task Participant B Participant B Figure 49 Choreography Task and SubChoreography with a Sequential Multilnstance Loop Marker IMPORTANT The Multilnstance Loop and Standard Loop markers can be added to all types of Choreography activities There are circumstancves when a Choreography Activity references a multi instance participant the minimum multiplicity property value for a participant is 2 or greater A multi instance participant represents a situation where there are more than one possible related participants that can be involved in the choreography If this is the case a Multilnstance marker will be displayed in the participant compartment of a choreography activity shape Related procedures Creating Choreography Activity 52 Copyright 2009 2011 No Magic Inc BPMN Choreography Diagram Creating Participants Related concepts Participant 2 4 2 1 Choreography Task Element Stereotype Icon Choreography Task Choreography Task Opaque Action A Choreography Task is a
35. The Parallel Multiple Start Event interrupts the process contained in the Event SubProcess The Interrupting Parallel Multiple Start Event is drawn with a solid border e Non Interrupting The Parallel Multiple Start Event does not interrupt the process contained in the Event SubProcess The Interrupting Parallel Multiple Start Event is drawn with a dashed border Notation Interrupting Non Interrupting Common BPMN 2 0 Elements 2 1 3 2 Intermediate Events An Intermediate Event indicates that something is happening somewhere between the start and end of a pro cess Intermediate Events affect the flow of a process but do not start or directly terminate the process Intermediate Events can be used to e show where messages are expected or sent within a process e show delays that are expected within a process e interrupt normal flow through exception handling e show extra work required for a compensation Intermediate Events can be defined in two ways i Events catching a trigger ii Events showing a result The types of Intermediate Catch Events used in business process modeling are described in Table 2 below Table 2 Types of Intermediate Catch Events in Business Process Modeling Intermediate Event Stereotype and Description Notation None Intermediate Event NonelntermediateEvent InitialNode A None Intermediate Event does not have a C defined trigger It is used to model methodologies that use events to indicate
36. a ENG larger scope than the Error Event does k Interrupting The boundary of a Signal Event that interrupts the activity to which it is attached is solid Non Interrupting The boundary of a Signal Event that does not interrupt the activity to which it is attached is dashed Signal Boundary Event displays on the diagram e Signal Boundary Event name if the name is specified or e Signal Ref property value if the name is unspecified MultipleBoundaryEvent AcceptEventAction A Multiple Boundary Event indicates that there are multiple triggers assigned to the Event Only one of the specified triggers is required The Event that occurred changes the normal flow into an exception flow Interrupting The boundary of a Multiple Boundary Event that interrupts the activity to which it is attached is e solid hai The boundary of a Multiple Boundary Event that does not interrupt the activity to which it is attached is dashed Non Interrupting MultipleParalllelBoundaryEvent AcceptEven tAction There are multiple triggers assigned to a Parallel Multiple Boundary Event and all of them are required to trigger the event The boundary of a Parallel Multiple Boundary ETUDEN Event that interrupts the activity to which it is attached is solid ra bady The boundary of a Parallel Multiple Boundary Event that does not interrupt the activity to which it is attached is dashed Non Interrupting Commo
37. a Message Flow Delivery Checkpoint Request 4 Pa Message Flow Retailer Order and Delivery Va an Message Flow Retailer Order and Delivery Ya H Load Enable multiple Message Flows b Multiple Selection selection OK Cancel Help Figure 102 Selecting Message Flows 2 Select the Message Flows and click OK IMPORTANT If the Message Flows which are referenced by a Choreography Task have the Messages specified they will be displayed and attached to the Choreography Task in a diagram To specify Messages for a Choreography Task 1 Create a BPMN Collaboration diagram 2 Draw two pools and specify the Referenced Participants for the pools 3 Draw a Message Flow between the Pool and specify a Message for Message Ref in the Mes sage Flow property Figure 103 BPMN Choreography Diagram Procedures 5 E T 2 fat ma E bla T i Request w Approval r Figure 103 Pools Participants and Message Flow 4 Create a BPMN Choreography diagram and draw a Choreography Task 5 Open the Choreography Task Specification dialog Specify the Participants for the Partici pant Refs property and a Participant for the Initiating Participant Ref property 6 Click the button to edit the Message Flow property The Select Message Flows dialog will open Select the Message Flows you have created in step 3 as the Message Flow property value and click Submit Supplier
38. all Activity _ Expanded SubProcess meee Evert dio Collapsed Event SubProcess None Catching Inte had en ie Expanded Event SubProcess Message Throwing I z CJ Collapsed Transaction SubProcess i Message Boundary Mone End Event Exclusive Gateway EJ Expanded Transaction SubProcess Collapsed AdHoc SubProcess Expanded AdHoc SubProcess Figure 76 Selecting an AdHoc Subprocess Sequence Flaw To mark a created SubProcess as an event SubProcess either e Open any SubProcess shortcut menu and select the Triggered By Event check box or e Open any SubProcess Specification dialog and select the Triggered By Event check box on the SubProcess properties list Figure 77 BPMN Process Diagram Procedures El SubProcess Name Id Referenced Diagrarn Completion Quantity 1 Default Is For Compensation False Resources Start Guantit 1 Triggered By Event M true To Do Figure 77 Marking Subprocess as Event Subprocess To convert a SubProcess to a Transaction SubProcess or AdHoc SubProcess e Open the SubProcess shortcut menu and click Refactor gt Convert To gt More Specific gt AdHoc SubProcess or Transaction To convert a Transaction SubProcess or AdHoc SubProcess to a simple SubProcess e Open the Ad Hoc SubProcess or Transaction SubProcess shortcut menu and click Refactor gt Convert To gt More General gt AdHoc SubProcess or Transaction To display a Start Event ico
39. am Model Transformation Wizard E Select transformation source and destination Choose a transformation source model or model part which will be transformed and choose the package ea that will contain the generated model Transformation Source E Fe Data Activity Diagrams EI Coffee Activity Diagrams 1 Select transformation type i 2 Select source destination Select Activity diagrams to 2 a transform to BPMH Process a E Ei Coffee Making Activity Diagrams Coffee diagrams Hl A Collect Computer Production Materials Rejected Comput Fulfill Order Activity Diagrams Press Sr and CICK CO SeEIeCe INO lolly Transformation Destination f Place transformation model in package ee Transform in place Model Transformation Wizard Select transformation source and destination Choose a transformation source model or model part which will be transformed and choose the package ea 7a i that will contain the generated model Transformation Source E E Data H Fo Activity Diagrams A Coffee Activity Diagrams 1 Select transformation type f 2 Select source destination Select Activity diagrams to Gg transform to BPRIN Process fo E Ei Coffee Making Activity Diagrams Coffee diagrams H Collect Computert Production Materials Rejected Comput i Fulfill Order Activity Diagrams Press H and CICE CO Serect Ind
40. articipant IMPORTANT A Participant pool requires a specified Represented Participant BPMN Collaboration Diagram Procedures To select the message flows grouped by a Communication 1 Either i right click a communication shape select Specification click Message Flow Refs and then click the button or ii click a Communication shape in a collaboration diagram and click the Message Flows button on the Smart Manipulators toolbar Figure 91 C aa Ea Mesage Fons zah S Figure 91 Message Flows Button on the Smart Manipulators Toolbar 2 The Select Message Flows dialog will open showing all of the Message Flows that are grouped by a Communication Figure 92 KEG Message Flows E X Select Message Flows 2 Message Flow Ordering Logistics Send Message Ordering Logistics Receive Message Ordering A Message Flow Ordering Logistics Send Message Ordering Logistics Receive Message Ordering Glear All Select All J Show Message Flows related to Participants Cancel Ix We select Message Flows Select Message Flows 2 D A Message Flow Ordering Logistics Send Message Ordering Logistics Receive Message Ordering a A Message Flow Ordering Logistics Send Message Ordering Logistics Receive Message Ordering Glear All Select All J Show Message Flows related to Participants Cancel Figure 92 Selecting Message Flows in the Sel
41. ate new package Cancel Figure 111 Confirming the Package Location 5 Select a package and click OK TIP IMPORTANT Click the Create button in the Destination Package dialog to create a new package e f you select Transform in place as the Transformation Destination option your original activity diagram s will be lost after conversion e It is recommended to select the Place transformation model in package option 6 Click Finish 110 Copyright 2009 2011 No Magic Inc Converting Activity Diagram to or from BPMN Process Diagram To convert a BPMN Process diagram to an Activity diagram 1 Either i right click a BPMN Process diagram and select Transform to UML Activity Diagram Figure 112 or Specification Diagram Properties Shift Enter Symboh Ss Properties Alt Enter Show Elements Id Show Diagram Frame Show Diagram Info Show Cuner 30 To d Select in Containment Tree Alt E Find in Diagram Ctrel S5hift E Related Elements b Grid Figure 112 Transform to UML Activity Diagram Menu ii Click Tools gt Model Transformations on the main menu Figure 113 Teamwork Window Help Model Transformations Hyperlinks Project Merge Report Wizard Ctrl Shifk 6 Figure 113 Model Transformations Menu 2 Select the BPMN Process Diagram to UML Activity Diagram transformation type and click Next Figure 114 Converting Activity Diagram to or from BPM
42. be 0 for an unspecified multiplicity or Warning gt 2 when the multiplicity maximum value is specified The Activity start quantity shall be one 1 or greater Warning The Activity completion quantity shall be one 1 or greater Warning A Data Input cannot have an incoming Data Association Warning A Data Output cannot have an outgoing Data Association Warning A Data Output cannot have an incoming Sequence Flow Warning A Condition cannot be specified for an outgoing Sequence Flow from a Start Event Info Only Messages and Multiple Start Events can have incoming Message Flows Warning Only Multiple Start Events can have multiple incoming Message Flows Warning Validation Rules Validation rule A Cancel Event can only be attached to the Transaction SubProcess boundary An Intermediate Boundary Event cannot have an incoming Sequence Flow A Compensation Boundary Event cannot have an outgoing Sequence Flow A Link Intermediate Event can have either an incoming or outgoing Sequence Flow it cannot have both A Compensation Start Event should not be used for a top level Process A Cancel End Event can only be used within a Transaction SubProcess A None Start Event cannot be used for an Event Sub Process A default Sequence Flow should not have a conditionExpression A Sequence Flow outgoing from an Event Gateway should not have a conditionExpres sion A Message Boundary Event cannot be attached to a SubChoreography A Message Bounda
43. cate these proce dures in a standard manner Furthermore the graphical notation facilitates the understanding of the perfor mance collaborations and business transactions between organizations This will ensure the organizations to understand themselves and participants in the business The BPMN 2 0 standard consists of the following three major parts i Process shows business processes events and messages ii Collaboration shows how a process is implemented between collaborators and displays details of the con versations between participants iii Choreography provides a view of the messages information flows between participants Cameo Business Modeler for MagicDraw provides support for BPMN 2 0 profile diagrams user perspective usability features for business process modeling samples user guide and import from BPMN 1 1 models that have been created with MagicDraw Cameo Business Modeler supports all three BPMN 2 0 diagrams i Process diagram shows business processes events and messages ii Collaboration diagram shows how a process is implemented between collaborators and defines the conver sations between participants in detail iii Choreography diagram shows a flowchart view of the messages information between participants The Concepts chapter contains the following sections e Common BPMN 2 0 Elements on page 9 e BPMN Process Diagram on page 34 e BPMN Collaboration Diagram on pag
44. cess definition for other products to read it and allow you to exchange your model with other tools to perform further model simulation execution or deployment MagicDraw supports export of BPMN models to XPDL Version 2 2 This version is backward compatible with previous versions of XPDL and can be used to export BPMN 2 0 and BPMN 1 x models Related procedures Exporting Models to XPDL 3 PROCEDURES This chapter provides the main procedures of Cameo Business Modeler and contains the following sections 6 e Common BPMN Elements Procedures on page 61 6 e BPMN Process Diagram Procedures on page 70 6 e BPMN Collaboration Diagram Procedures on page 79 e BPMN Choreography Diagram Procedures on page 94 e Converting Activity Diagram to or from BPMN Process Diagram on page 105 e Exporting Models to XPDL on page 117 e Integration with Cameo SOA on page 124 3 1 Common BPMN Elements Procedures Common BPMN elements are those that can be used in more than one type of BPMN diagrams for example Process Collaboration Conversation and Choreography diagrams The following sections will describe how to create and specify those elements and their properties 3 1 1 Specifying Element IDs Most of the elements in the BPMN specification have their element IDs IDs of the elements in gray are dis played in the following places e In a diagram the ID is displayed above or before the e
45. e A Condition expression is typically used when the source of a Sequence Flow is a Gateway or an Activity A conditional outgoing Sequence Flow from an Activity is drawn with a mini diamond indicator at the beginning of the Sequence Flow Figure 13 Common BPMN 2 0 Elements Book i on loan Book is available Figure 13 Conditional Sequence Flow Example A Sequence Flow which has an exclusive inclusive or complex gateway or an activity as its source can also be defined as a default Sequence Flow The default Sequence Flow is distinguished by the presence of a back slash Figure 14 A default Sequence Flow will be taken a token is passed only if all of the other outgoing Sequence Flows from the activity or gateway are not valid that is their condition expressions are false Recewe Order order rejected Figure 14 Default Sequence Flow Example Related procedures Creating a Sequence Flow Related concepts BPMN Process Choreography Activities Events Gateways 2 1 9 Message Flow Message Flow MessageFlow Dependency Ce A Message Flow is used to show the flow of messages between two participants who are prepared to send and receive them Figure 15 31 Copyright 2009 2011 No Magic Inc Common BPMN 2 0 Elements p r Order Confirmation Fi D Customer Figure 15 Message Flow Drawn between Two Pools 5 E B 2 bla Request A
46. e 44 e Validation Rules on page 57 e Exporting Models in XPDL Format on page 60 Common BPMN 2 0 Elements 2 1 Common BPMN 2 0 Elements The following section will define the BPMN elements that can be used in more than one type of BPMN dia grams for example Process Collaboration Conversation and Choreography diagrams 2 1 1 Definitions The Definitions element is a root model in a BPMN project This element is the outermost containing object for all BPMN elements Figure 1 It defines the scope of visibility and the namespace for all of the BPMN elements in the model Fe Containment 8 Diagrams Containment g fo x Pere rF al airt E EL Definitions E Relations E E Ordering BRS Receive Medicine E Relations F Patient P Receptionist H 4 Receive Medicine H Index Figure 1 Definitions Element in Containment Tree 2 1 2 Artifacts Artifacts provide modelers with the capability of showing additional information about a process This informa tion is not directly related to the sequence or message flow of the process 2 1 2 1 Anchor Element Stereotype Icon Anchor n a nE An Anchor is used to associate a Text Annotation Note or Comment with other diagram elements Figure 2 Allow 1 week for the discussion of the tSsuUes through email and calle Announce Issues for Discussion Figure 2 Text Annotiation Associates Anchor with Note Common BPMN 2 0 Ele
47. ect Message Flows Dialog 3 Select the Message Flows and click OK 90 Copyright 2009 2011 No Magic Inc BPMN Collaboration Diagram Procedures NOTE When the Show Message Flows Related to Participants check box is selected only the message flows that exist in a project between the represent ing participants of the pools that are connected by a communication will show Clear the check box to see all of the message flows in a project TIP You can also assign a Message Flow to a Communication by dragging it from the browser contrainment tree to the Communication shape in a BPMN Collab oration diagram Related concepts Communication Related procedures 3 3 2 Creating Pool and Lane 3 3 5 Creating a SubConversation A SubConversation can contain inner Conversation Nodes Communications and SubConversations To create a conversation node for a SubConversation 1 Right click a SubConversation and select Specification The SubConversation specification dialog will open Figure 93 92 BPMN Collaboration Diagram Procedures Mj subConversation Delivery Negotiations 4 Delivery Negotiations te m s 2 amp History G Delivery Negotiations Untitled3 Conversation Modes ES Documentation Hyperlinks Aj ei a o a i re Pins E Relations Name Constraint i Bl FRAUE Conversation M Create Glone Delete ee Communication Clase Back 4 SubConversation i subConver
48. egration with Cameo SOA 3 Click Finish To create a pool that represents an SoaML participant 1 Create a Pool in the BPMN Process or BPMN Collaboration diagram 2 Select an SoaML Participant as the participant referenced by a Pool see procedure _ Jo spec ify a model element represented by a Pool do one of the following To select an SoaML element as a BPMN Data Object type 1 Create a Data Object in the BPMN Process or BPMN Collaboration diagram 2 Open the Data Object Specification dialog and select an SoaML element as the property Type value To create a Message typed by an SoaML element as the Message Flow 1 Select a Message Flow in the BPMN Collaboration or BPMN Process diagram The Smart Manipulators toolbar will open 2 Click the Referenced Messages button Create a new message as described in the To create a Message for a Message Flow steps 3 Open the Message Specification dialog Select an SoaML element as the property Type value The Traceability relations between the BPMN and SoaML elements can be reviewed and defined in the BPMN SOAML Traceability tab of the Element specification dialog The BPMN SOAML Traceability tab is available for the following elements e BPMN Activities e Events e Gateways Data Objects SoaML and UML Classifiers e Ports Two types of traceabilitty relations are defined in MagicDraw i Relations to BPMN model elements ii Relations to SoaML model el
49. elect Message Flow X Select search for or create elements Search for an element by using list or tree views To Find an element type text or wildcard 7 into the Search by name input Field Search elements by their qualified names or use camel case when searching if the aoorooriate mode is Select Message Flows Search by name from a model tree Select Message Flows Ee EE Bt ay 34 matches Found from a list ARS Ordering 22 matches Be Relations oon Message Flow Delivery Checkpoint Request Ta Message Flow Delivery Checkpoint Request 4 Ta Message Flow Retailer Order and Delivery va Ta Message Flow Retailer Order and Delivery Ya Y H Load Enable multiple Message Flows b Multiple Selection selection Ok Cancel Help 101 Copyright 2009 2011 No Magic Inc BPMN Choreography Diagram Procedures We select Message Flow i x Select search for or create elements Search for an element by using list or tree views l Fe To find an element type text or wildcard 7 E into the Search by name input Field Search A elements by their qualified names or use camel a case when searching if the acorooriake mode is Select Message Flows from a model tree Select Message Flows E E m oF 34 matches Found from a list rae Fa Search by name Fy Ordering 22 matches EJ Relations Fa Message Flow Delivery Checkpoint Request T
50. ements Table 13 below lists the BPMN SoaML traceability relations to BPMN elements that are available in MagicDraw Table 13 BPMN SoaML Traceability Relations to BPMN Elements Property Name Function To select the BPMN Choreography diagrams that describe the cur BPMN Choregraphy rent element Diagrams To select the BPMN Collaboration diagrams that describe the cur BPMN Collaboration rent element Diagrams To select the BPMN Interfaces that correspond to the current ele BPMN Interface ment To select the BPMN Participants that correspond to the current BPMN Participants element Integration with Cameo SOA Property Name Choreography Collaboration Function To select the BPMN Choreographies that describe the current ele ment To select the BPMN Collaborations that describe the current ele ment Table 14 below lists the BPMN SoaML traceability relations to SoaML elements that are available in MagicDraw Property Name Interface Request Points Service Interface Service Points Table 14 BPMN SoaML Traceability Relations to SoaML Elements Function To select the Interface that is related to the current element To select the SoaML request points that are related to current ele ment To select the SoaML Service Interfaces that are related to the cur rent element To select the SoaML Service Points that are related to the current element To review or define the BPMN SoaML element t
51. eotype Icon Call Activity CallActivity CallBehaviorAction P A Call Activity identifies the point in a process where a global process is used Figure 25 The Call Activity acts as a wrapper for the invocation of the global process within the execution The activation of the Call Activity results in the transfer of control to the called global process A Call Activity shares the same notation as a Task or SubProcess with a thick line around the boundary of the shape Make Book gd i Reservation Lo Figure 25 Call Activitties Referencing Process The BPMN 2 0 Call Activity corresponds to the Reusable Sub Process of BPMN 1 2 and the BPMN 2 0 Sub Process corresponds to the Embedded Sub Process of BPMN 1 2 Related concepts BPMN Process 2 2 3 Items and Data The traditional requirement of process modeling is to be able to model the items physical or information items that are created manipulated and used during the execution of a process This requirement is realized in BPMN through various constructs Data Objects Item Definition Properties Data Inputs Data Outputs Messages Input Sets Output Sets and Data Associations 2 2 3 1 Data Object Element Stereotype Icon Data Object DataObject CentralBufferNode A Data Object is an element that stores or conveys items during process execution The Data Object elements must be contained within the process or SubProcess elements A Data Object e
52. ess Diagram Procedures s n n n n u u p n n n n n p n n n n n n M n Collapsed SubProcess 7 Collapsed SubProcess Expanded SubProcess Collapsed Event SubProcess O Call Activity None Start Event od pms l ae l None Catching Inte O a Ce i Expanded Event SubProcess Message Throwing I CI Collapsed Transaction SubProcess Message Boundary Mone End Event Exclusive Gateway EJ Expanded Transaction SubProcess Collapsed AdHoc SubProcess Expanded AdHoc SubProcess Sequence Flow Figure 73 Expanded SubProcess Option on the Process Diagram Toolbar To draw a collapsed SubProcess e On the Process Diagram toolbar click Collapsed SubProcess gt Collapsed SubProcess To convert a collapsed SubProcess from to an expanded SubProcess either e Open the SubProcess shape shortcut menu and select or clear the Suppress Content check box or e Open the expanded SubProcess shape shortcut menu click Symbol Properties and select or clear the Suppress Content check box To draw an event SubProcess e On the Process Diagram toolbar click the Collapsed SubProcess arrow button and select Collapsed Event SubProcess or Expanded Event SubProcess Figure 74 ee pi Process Diagram I Task i A E A EEE ETEO ENE Collapsed SubProcess 7 amp Collapsed SubProcess Call Activity Expanded SubProcess None Start Event dl Collapsed
53. ess diagram IMPORTANT You can create a BPMN Process diagram only from the Business Modeler Business Analyst and Full Featured user perspectives Related concepts BPMN Process Diagram BPMN Process Diagram Procedures 3 2 2 Managing Activities This section will describe how to create and specify activities in a BPMN process diagram Activities Tasks Subprocesses and Call Activities may have the following specific markers displayed on their shapes e Compensation e Standard loop e Multilnstance loop parallel e Multilnstance loop Sequential To add a Compensation marker to an activity either e Open the activity shortcut menu and select the Is For Compensation check box or e Open the activity Specification dialog select Is For Compensation gt false Figure 68 and then click Close El Task Name Register Order Id Data Outputs Is For Compensation False Start Quantity 1 Completion Quantity 1 Figure 68 Adding a Compensation Marker to an Activity To add a Standard Loop marker to an activity e Open the activity shortcut menu and select the Standard Loop check box To add a Multilnstance Loop parallel marker to an activity e Open the activity shortcut menu and select the Multilnstance Loop check box To display a Multilnstance Loop sequential marker on a Multilnstance Loop activity either e Right click an activity with a Multilnstance Loop parallel marker to open its shortcut me
54. gram Error An Error End Event cannot be used in a Choreography diagram Error An Escalation End Event cannot be used in a Choreography diagram Error A Cancel End Event cannot be used in a Choreography diagram Error A Signal End Event cannot be used in a Choreography diagram Error Validation Rules A Multiple End Event cannot be used in a Choreography diagram Error A Compensation End Event cannot be used in a Choreography diagram Error A Sequence Flow cannot cross the Pool Boundary Error 2 5 2 BPMN 2 0 Correctness Validation Rules Table 11 shows the BPMN 2 0 validation rules included in the BPMN 2 0 Correctness validation rules suite Table 11 BPMN 2 0 Correctness Validation Rules Validation rule Severity A Message Flow cannot connect the elements inside a SubProcess to the elements out Error side the SubProcess An Event SubProcess cannot have any incoming or outgoing Sequence Flow Warning An Ad Hoc SubProcess cannot have a Call Choreography Warning An Ad Hoc SubProcess cannot have a SubChoreography Warning An Ad Hoc SubProcess cannot have Conversations Warning A Converging Gateway should not have more than one outgoing Sequence Flow Info A Diverging Gateway should not have more than one incoming Sequence Flow Info The Participant multiplicity minimum value must be 0 for an unspecified multiplicity or gt 2 Warning when the multiplicity minimum value is specified The Participant multiplicity maximum value must
55. gs in a process for example the start or end of an activity the change of a state of a document and a message that arrives There are three main types of events 2 1 3 1 Start Events define where a process starts 2 1 3 2 Intermediate Events indicate that something is happening between the start and end of a pro cess An Intermediate event which can be placed on the boundary of an activity is called a Boundary Event 2 1 3 3 Boundary Events indicate where the path of a process ends 2 1 3 1 Start Events A Start Event indicates where a particular process starts In terms of sequence flows the Start Event starts the flow of a process and thus cannot have any incoming sequence flow There are 10 types of Start Events used in business process modeling Table 1 Table 1 Types of Start Events in Business Process Modeling Start Event Stereotype and Description Notation None Start Event NoneStartEvent InitialNode A None Start Event does not have a defined trig ea ger that invokes the start of a process Common BPMN 2 0 Elements Start Event Message Start Event Timer Start Event Compensation Start Event Stereotype and Description MessageStartEvent InitialNode A Message Start Event shows that a message from a participant has arrived and triggered the start of a process Message Start Event displays on the diagram e Message Start Event name if the name is specified or e Message Ref proper
56. her e Open the Call Choreography shortcut menu click Called Element and then select a Choreography from the elements list or e Open the Call Choreography Specification dialog and select a choreography as the Called Element property value Related concepts 2 4 2 3 Call Choreography Converting Activity Diagram to or from BPMN Process Diagram 3 5 Converting Activity Diagram to or from BPMN Process Diagram This section will describe how to convert your Activity diagram to a BPMN Process diagram and vice versa IMPORTANT Some incompatible information between Activity and BPMN Process diagrams may be lost during conversion To convert an Activity diagram to a BPMN Process diagram 1 Click either i Transform to BPMN Process Diagram on the Activity diagram context menu Figure 106 or Specification Diagram Properties Shifk Enter Symbolis Properties Alt Enter Show Diagram Frame Show Diagram Info Show Owner a0 To Select in Containment Tree Alt 6 Find in Diagram Cbrl ShiFt D Related Elements Activity Decomposition Hierarchy Wizard Transform to BPMN Process Diagram Fit in Window Ctrl Figure 106 Converting BPMN Process Diagram to Activity Diagram Using the Context Menu ii Tools gt Model Transformations on the main menu Figure 107 Teamwork Window Help Model Transformations Hyperlinks Project Merge Report Wizard Ctrl Shifk 6 Figure 107 Converting BPM
57. hy e Start Events e Intermediate Events e Boundary Events e End Events e Gateways e Sequence Flow The following sections will describe the elements specific for the BPMN Choreography diagram Related procedures BPMN Choreography Diagram Procedures 2 4 1 Choreography Element Stereotype Icon Choreography Choreography Activity 5 A Choreography is a container for a BPMN Choreography diagram and its elements BPMN Choreography Diagram 2 4 2 Choreography Activities Element Stereotype Icon Choreography Activity ChoreographyActivity n a A Choreography Activity is an abstract element It represents a point on a choreography flow where an interac tion occurs between two or more participants There are three types of Choreography activities defined in business process modeling 2 4 2 1 Choreography Task 2 4 2 2 SubChoreography 2 4 2 3 Call Choreography The shape of a Choreography Task SubChoreography or Call Choreography consists of two or more partici pant compartments and one name compartment Figure 46 One of the participants can be selected as an ini tiating participant The color of the initiating participant compartment is the same as the color of the name compartment The other participants compartments are gray Initiating participant _ participant compartment Activity Name Name Compartment Participant Compartment Participant B Figure 46 Compartments on Choreography Act
58. ia gram 3 3 1 Creating a BPMN Collaboration Diagram You can create a BPMN Collaboration diagram by using the i main toolbar ii main menu or iii shortcut menu in the Containment tree i To create a new BPMN Collaboration diagram by using the main toolbar 1 Click the BPMN Collaboration Diagram icon on the BPMN 2 0 toolbar Figure 80 The Create Diagram dialog will open BPhIM Process Diagram Figure 80 BPMN Collaboration Diagram Icon on the Main Toolbar 2 Type the name and select the owner of the diagram 3 Click OK ii To create a new BPMN Collaboration diagram by using the main menu 1 On the Diagrams menu click BPMN2 Diagrams gt BPMN Collaboration Diagram The BPMN Collaboration Diagrams dialog will open 2 Click the Add button The Create Diagram dialog will open 3 Type the name and select the owner of the diagram and then click OK iii To create a new BPMN Collaboration diagram by using the shortcut menu in the Containment tree 1 Right click a package in the Containment tree and select New Diagram gt BPMN2 Diagrams gt BPMN Collaboration Diagram 2 Type the name of the diagram IMPORTANT You can create a BPMN Collaboration diagram only from the Business Modeler and Full Featured user perspectives Related concepts BPMN Collaboration Diagram Related procedures 3 2 BPMN Process Diagram Procedures BPMN Collaboration Diagram Procedures 3 3 2 Creating Pool and La
59. ially Figure 23 Either expression is used to spec ify the desired number of instances or a data driven setup that can be used il m Task with Multilnstance Loop SuUbProcess with Multiinstance marker for parallel instances Loop marker for parallel instances Figure 22 Task and Collapsed SubProcess with Multilnstance Indicator for Parallel Instances Task with Multtinstance Loop SubProcess with Muttinstance Loop marker for sequential instances marker for sequential instances Figure 23 Task and Collapsed SubProcess with Multilnstance Indicator for Sequential Instances IMPORTANT The Compensation Multilnstance Loop and Standard Loop indicators can be added for all types of activities Related procedures Managing Activities 2 2 2 1 Task A Task is an atomic activity within a process flow A Task is used when the work in a process cannot be broken down to a finer level of detail Generally an end user and or applications are used to perform the task when it is executed Table 7 below will define the types of Tasks used in business process modeling Table 7 Types of Tasks in Business Process Modeling Task Type Stereotype and Description Notation Task Task OpaqueAction A Task that has no specified behavior BPMN Process Diagram Task Type Service Task Send Task Receive Task User Task Manual Task Business Rule Task Script Task Related procedures Creating Tasks Stereotype and Description
60. icipant 2 3 4 SubConversation Element Stereotype Icon 5 SubConversation SubConversation StructuredActivity Node A SubConversation is a conversation node that is the hierarchical division within a parent conversation A SubConversation is represented as a graphical object within a BPMN Conversation diagram Figure 41 but it can also be opened up to show a lower level conversation which consists of message flows communica tions and or other SubConversations The SubConversation shares the participants of its parent conversation p Delivery Hegotiations Figure 41 SubConversation Notation Related procedures Creating a SubConversation Related concepts Communication BPMN Collaboration Diagram 2 3 5 Call Conversation Element Stereotype Call Conversation CallConversation CallBehaviorAction a A Call Conversation identifies a place in the conversation where a Conversation is used Figure 42 Delivery Figure 42 Call Conversation Calling Conversation Delivery O Figure 43 Call Conversation that Does Not Call Any Conversation Related concepts Collaboration 2 3 6 Conversation Link Conversation Link ConversationLink Dependency A Conversation Link allows for connecting conversation nodes Communication SubConversation and Call Conversation to and from Participants Pools Procurement l RFQ Figure 44 Conversation Link Notation Related concepts Col
61. ile gt Export To gt XPDL File on the main menu or ii Open the BPMN Process Collaboration shortcut menu in the browser and click Tools gt Export To XPDL File 2 The Export to XPDL dialog will open Figure 119 Importing from BPMN 1 1 M Export to XPDL Export BPMN Model to XPDL 2 2 File Export selected BPMN Processes and Collaborations to POL 2 2 Separate PDL File will be created For each of the selected processes and collaborations Mote XPDOL 2 2 standard does not support Conversation elements From Collaboration diagram so these elements will not be included in PDL file Active BPMN Process Callaboration Order handling Selected BPMN Processes Collaboratians pal File D MagicDraw Order handling xpd mi Overwrite existing files Export to XPDL i Export BPMN Model to XPDL 2 2 File Export selected BPMN Processes and Collaborations to PDL 2 2 Separate PDL File will be created For each of the selected processes and collaborations Note PDL 2 2 standard does not support Conversation elements From Collaboration diagram so these elements will not be included in PDL file i Active BPMN Process Collaboration Order handling Selected BPMN Processes Collaboratians pal File D MagicDraw Order handling pdl ind Overwrite existing files Figure 119 Exporting a Selected BPMN Process Collaboration to XPDL 3 Select the Active BPMN Process Collaboration radi
62. ining the Condition Expression Property 4 Click Submit NOTE An outgoing Conditional Sequence Flow from a gateway is displayed without a mini diamond marker To make a default Sequence Flow 1 Select a Sequence Flow in a diagram and click the Make Default button on the Smart Manipu lator toolbar Figure 62 Common BPMN Elements Procedures Quotation and Hadling Approve Order Figure 62 Make Default Button TIP Click the Make Default button to make a default Sequence Flow non default 2 Open the sequence flow source element for example task Specification dialog and select Sequence Flow from the Default property list The Sequence Flow will be marked as a default one IMPORTANT A default Sequence Flow can be specified for activities tasks subpro cesses and call activity or exclusive inclusive and complex gateways NOTE A default sequence flow should not have a condition expression Related concepts Sequence Flow 3 1 5 Creating an Event This section will describe how to create and specify events in the BPMN diagrams To draw an Event e On the Process Diagram toolbar click the None Start Event None Catching Intermediate Event Message Throwing Intermediate Event or None End Event arrow button to open the submenu Figure 63 and select a type of Event Common BPMN Elements Procedures Process Diagram Task Collapsed SubPr O Call Activity Alone Stark Event No
63. ion Event Sub Process only The event is triggered when the compensation occurs Notation Interrupting Non Interrupting Non Interrupting E hn Sl b y Common BPMN 2 0 Elements Start Event Conditional Start Event Escalation Start Event Stereotype and Description Notation ConditionalStartEvent InitialNode A Conditional Start Event is triggered when a con dition such as S amp P 500 changes by more than 10 since opening or Temperature above 300C becomes true Interrupting Conditional Start Event displays on the diagram e Conditional Start Event name if the name is Pn specified or B e Condition property value if the name is ia unspecified When a Conditional Start Event is owned by an Non Interrupting Event SubProcess it can be e Interrupting The Conditional Start Event interrupts the process contained in the Event SubProcess The Interrupting Conditional Start Event is drawn with a solid border e Non Interrupting The Conditional Start Event does not interrupt the process contained in the Event SubProcess The Interrupting Conditional Start Event is drawn with a dashed border NOTE The condition expression of the event must become false and then true before the event can be triggered again EscalationStartEvent InitialNode An Escalation Start Event implements measures GA to expedite the completion of a business activity Escalation Start Event displays
64. irectory D MagicDraw BPMN2 Overwrite existing Files x Export BPMN Model to XPDL 2 2 File Export selected BPMN Processes and Collaborations to PDL 2 2 Separate PDL File will be created For each of the selected processes and collaborations Note PDL 2 2 standard does not support Conversation elements From Collaboration diagram so these elements will not be included in PDL File Active BPMN Process Collaboration Order handling 4 Delivery Negotiations mes Order handling S4 Top level collaboration Sa Receive Medicine S4 Order handling thigh level S4 Logistics with Pools Sa BPME Collaboration me BPMN Process Sa BPMN Collaboration Sa BPME Collaboration Sa BPMN Collaboration S4 BPMM Collaboration fol OMRARI M hd Select All lear All Working Directory D MagicDraw BPMN2 TE Overwrite existing files Exporting Models to XPDL Figure 118 Exporting Multiple BPMN Processes or Collaborations to XPDL 2 Select the Selected BPMN Processes Collaborations radio button and choose the diagrams you want to export from the BPMN Processes Collaborations list TIP Press and hold down the Ctrl key to select multiple BPMN Processes or Col laborations 3 Type the name of a destination directory in the Working Directory box or click the button to browse for a destination folder 4 Click Save To export an active BPMN Process Collaboration to XPDL 1 Either i Click F
65. ist of participants in a choreography activity by using the i Specification dialog ii Smart Manipulators toolbar and ii drag and drop action i To specify a list of participants by using the Specification dialog 1 Right click a Choreography activity and select Specification 2 Click the Participant Refs buttton Figure 95 The Select Participant dialog will open Choreography Task Mame Id Participant Refs Initiating Participant Fef Message Flow To Do Figure 95 Participant Refs in the Choreography Activity Specification Dialog 3 Click either the Tree or List tab select participants and then click OK Figure 96 95 Copyright 2009 2011 No Magic Inc BPMN Choreography Diagram Procedures Select Participants from a model tree Select Participants from a list Enable creation mode to create new Participant Aj select Participant x Select search for or create 4 EE c Search For an element by usinglistor m sD tree views To find an element type D u PP text or wildcard 7 into the Search by name input Field Search elements i by their qualified names or use camel h Search by name EAE 19 matches Found fF El Data 19 matches El a Ordering Participants 15 matchas F Bidder Enable multiple selection to select more that one Participant Copyright 2009 2011 No Mag IC C I C n BPMN Choreography Diagram Procedures
66. ith either one of the Compensation Events i Compensation Boundary Event ii The handler s Start Event in case of a Compensation Event Sub Process 2 CONCEPTS BPMN Process Diagram A compensation handler connected through a boundary event can only perform a black box compensation of the original activity This compensation is modeled with a specialized Compensation Activity which is con nected to the boundary event through an association The Compensation Activity which can be either a Task or a Sub Process is marked to show that it is used for compensation only and is outside the normal flow of the Process Figure 31 Figure 31 Compensation through Compensation Boundary Event to Compensation Task Another way to model a compensation is using the compensation handler which starts with the Start Event of an Event SubProcess which is contained within a Process or SubProcess Figure 32 Just like any other Com pensation Activities a Compensation Event SubProcess is outside the normal flow of a process The Event SubProcess which is marked with a dotted line boundary has access to data that are part of the parent a snapshot at the point in time when the parent has been completed A Compensation Event SubProcess can recursively trigger a compensation for activities contained in its parent Figure 32 Compensation Defined by Event SubProcess Related concepts BPMN Process SubProcess Events 43 Copyright
67. ity that is associated with it will be per formed The Interrupting or non interrupting aspect does not apply in the case of a Compensation Bound ary Event Compensations can only be triggered after the completion of the activity to which they are attached Thus they cannot interrupt the activ ity The boundary of the event is always solid ConditionalBoundaryEvent AcceptEventAc tion A Conditional Boundary Event is triggered when a specified condition becomes true When an event is triggered the normal flow of an activity will be changed into an exception flow Interrupting The boundary of a Conditional Boundary Event that interrupts the activity to which it is attached E is solid The boundary of a Conditional Boundary Event that does not interrupt the activity to which it is attached is dashed Non Interrupting Common BPMN 2 0 Elements Boundary Event Signal Boundary Event Multiple Boundary Event Parallel Multiple Bound ary Event Related concepts BPMN Process Compensation Stereotype and Description Notation SignalBoundaryEvent AcceptEventAction A Signal Boundary Event can receive a Signal In A this context it will change the normal flow into an _ exception flow upon being triggered A Signal Event differs from an Error Event because it defines a more general non error con dition for interrupting Activities such as the suc cessful completion of another Activity and it has
68. ivity Diagram to or from BPMN Process Diagram 105 Exporting Models to XPDL 117 Importing from BPMN 1 1 120 Integration with Cameo SOA 124 1 GETTING STARTED 1 1 Introduction to Cameo Business Modeler Cameo Business Modeler is a tool that provides a solution for modeling and analyzing business processes This product allows you to represent and analyze business processes by using the Business Process Modeling and Notation BPMN standard The Business Process Modeling and Notation BPMN standard provides the capability of understanding inter nal business procedures in a graphical notation and enables organizations to communicate these procedures in a Standard manner Furthermore the graphical notation facilitates the understanding of performance collab orations and business transactions between organizations This ensures that businesses will understand them selves and the participants in their business Cameo Business Modeler for MagicDraw provides support for BPMN 2 0 profile diagrams user perspective usability features for BPMN modeling and BPMN model validation It also includes reports manual samples and import from BPMN 1 1 models that were created with MagicDraw The following three BPMN 2 0 diagrams are supported i BPMN Process Diagram ii BPMN Collaboration Diagram iii BPMN Choreography Diagram The Getting Started chapter contains the following sections e Installing Cameo Business Modeler Plugin on
69. ivity Shape The looping properties of Choreography Activities can be specified they can be repeated sequentially essen tially behaving like a loop The presence of loop characteristics signifies that the Choreography Activity has looping behavior There are two types of Looping characteristics defined in BPMN a Standard Loop b Multilnstance Loop Table 9 Characteristics of Standard and Multilnstance Loops Characteristics Stereotype Marker Standard Loop StandardLoopCharacteristics CallBehav iourAction OpaqueAction StructuredActivityN Q ode Multilnstance Loop MultilnstanceLoopCharacteristics CallBehav iourAction OpaqueAction StructuredActivityN il ode Non sequential Sequential BPMN Choreography Diagram a Standard Loop A Standard Loop marker displayed on a Choreography Activity shape name compartment shows that the loop ing behavior based on a boolean condition is defined for this activity Figure 47 Additional looping characteris tics can also be defined the activity will loop as long as the boolean condition is true The condition is evaluated for every loop iteration and can be evaluated at the beginning or end of the iteration In addition a numeric cap can be optionally specified The number of iterations cannot exceed this cap Participant Pe i L E dhL Se E hL E P Y J F Choreography Task Participant B Participant E Figure 47 Chorepography Task and SubChoreography with a
70. k Finish 116 Copyright 2009 2011 No Magic Inc Exporting Models to XPDL 3 6 Exporting Models to XPDL Cameo Business Modeler for MagicDraw supports BPMN 2 0 model export to XPDL 2 2 The support for XPDL 2 2 allows you to export your BPMN Processes and Collaborations to XPDL 2 2 format A separate XPDL file will be created for each exported BPMN Process or Collaboration diagram IMPORTANT XPDL 2 2 does not support BPMN Choreography and Conversation elements from BPMN Collaborations To export multiple BPMN Processes or Collaborations to XPDL 1 Click File gt Export To gt XPDL File on the main menu The Export to XPDL dialog will open Figure 118 Exporting Models to XPDL Eg MeExport to XPDL Export BPMN Model to PDL 2 2 File Export selected BPMN Processes and Collaborations to PDL 2 2 Separate PDL file will be created For each of the selected processes and collaborations Note PDL 2 2 standard does not support Conversation elements From Collaboration diagram so these elements will not be included in PDL File Active BPMN Process Collaboration Order handling 4 Delivery Negotiations mes Order handling S4 Top level collaboration Sa Receive Medicine S4 Order handling thigh level Sa Logistics with Pools Sa BPMN Collaboration AE BPMN Process Sa BPMN Collaboration Sa BPME Collaboration Sa BPME Collaboration 4 BPMM Collaboration fol OMRARI M xl Select All Glear All Working D
71. l louUair Transformation Destination f Place transformation model in package a Transform in place lt Back Next gt Finish Cancel Help 107 Copyright 2009 2011 No Magic Inc Converting Activity Diagram to or from BPMN Process Diagram Figure 109 Model Transformation Wizard Step 2 TIP Select the whole package to transform all diagrams contained in the package 4 Click the button after the Place Transformation model in package radio button to locate the place to save the BPMN Process diagram that willl be created Figure 110 The Destina tion Package dialog will open Figure 111 Converting Activity Diagram to or from BPMN Process Diagram Model Transformation Wizard E Select transformation source and destination Choose a transformation source model or model part which will be transformed and choose the package a z that will contain the generated model 1 Select transformation type Tame tomto Sollie f 2 Select source destination T ctivikty Diagrams EI M a Coffee Activity Diagrams OL rj Ei Coffee Making Activity Diagrams Coffee E M a Collect Computert Production Materials Rejected Comput J aa Fulfil Order Activity Diagrams press SHIFT and click to select individually Transformation Destination 3 Click to select 0 Place transformation model in package package tor BPMH Process diagrams EPM Diagrams Transform in place
72. laboration SubConversation Call Conversation Communication 49 Copyright 2009 2011 No Magic Inc BPMN Choreography Diagram 2 4 BPMN Choreography Diagram A Choreography formalizes the way business participants coordinate their interactions A Choreography is a type of process but its purpose and behavior is different from a standard BPMN process A standard process defines the flow of activities of a specific partner entity or organization In contrast a Chore ography formalizes the way business participants coordinate their interactions The focus is not on the work performed within these participants but rather on the information messages exchanged between them A Choreography is a definition of expected behavior basically a procedural business contract between inter acting participants It shows the messages exchanged and their logical relation Figure 45 This allows part ners to plan their business processes for inter operation without introducing conflicts Patient Patient Patient Patient i Handle Handle Handle _ SIRO Cesu a Symptoms Prescription j Medicine Dr Office Dr Office Dr Office Dr Office Figure 45 BPMN Choreography Diagram Example BPMN Choreography diagrams are based on the UML Activity diagram and include restrictions and extensions as defined by BPMN A BPMN Choreography diagram contains the following elements e Choreography Activities Choreography Task SubChoreography Call Choreograp
73. lement can optionally reference a DataState element which is the state of data contained in a Data Object A Data Object element which references an element marked as a collection is visualized differently Fig ure 26 BPMN Process Diagram AN AN IIl Data Object Data Object that is a collection Figure 26 Data Object Notation Related procedures Creating Data Items 2 2 3 2 Data Store Element Stereotype Icon Data Store DataStore CentralBufferNode 2 A Data Store Figure 27 provides a mechanism for activities to retrieve or update stored information that will persist beyond the scope of a process p Figure 27 Data Store Notation 2 2 3 3 Data Input and Data Output Element Stereotype Icon Data Input Datalnput CentralBufferNode Data Output DataOutput CentralBufferNode Activities and processes often require data in order to execute In addition they may produce data during or as the result of the execution Data requirements are captured as Data Input The produced data are captured using Data Output Figure 28 se Ls Data Input Data Output Figure 28 Data Input and Data Output Notation BPMN Process Diagram 2 2 3 4 Data Association Element Stereotype Icon Data Association DataAssociation ObjectFlow Data Association is used to model how data are pushed into or pulled from item aware elements Figure 29 Tokens do not flow along a Data Association and as a res
74. lement name e In the model browser the ID is displayed in front of the element name e In the Specification dialog before the Numbered property To specify a BPMN element ID e Open the element Specification dialog and type an ID number in the ID property text box Figure 56 Figure 56 Element ID Property Field To hide or display an element ID in a BPMN 2 0 diagram either e Right click an element in the BPMN 2 0 diagram and clear or select Show Elements Id or e Right click an element in the BPMN 2 0 diagram and click Diagram Properties and then clear or select the Show Elements Id check box 61 Copyright 2009 2011 No Magic Inc Common BPMN Elements Procedures 3 1 2 Creating BPMN Elements in the Model Browser some of the BPMN elements will not be represented in the BPMN diagrams and need to be created in the model browser Containment tree These elements will be used as the data types for specifying the values of the business modeling element properties To create a BPMN element in the Containment tree e Open the package shortcut menu in the Containment tree and click New Element gt BPMN Element and then select a BPMN element that you want to create Figure 57 te Contai M Inheritance Diagrams lt gt Model Ex Containment e AAN n P x a s E m Mew Element I Global Task b ng New Diagram r BPMN Element HIET Activity Resource a New Relation t Choreography 3 BPMN In
75. ll be replaced by Cameo Business Modeler Plugin For MagicDraw 7 BPMN 2 0 support and model import From BPMN 1 x to BPMN 2 0 version is available in Cameo Business Modeler Plugin Do vou want to convert your project to BPMN 4 backup copy of your project will be created in case you need BPMN 1 x model x Project contains BPMN 1 x Business Process Diagrams BPMN 1 x Business Process diagram will not be supported in Future releases It will be replaced by Cameo Business Modeler Plugin For MagicDravy BPMN 2 0 support and model import From BPMN 1 x to BPMN 2 0 version is available in Cameo Business Modeler Plugin n9 Do vou want ko convert your project to BAMM 4 backup copy of your project will be created in case you need BPMN 1 x model Ze Figure 120 Question Dialog 2 Click Yes to convert the project 3 Click OK ii To convert a BPMN 1 1 project to BPMN 2 0 by importing it 1 Click File gt Import From gt BPMN 1 1 Project on the main menu The Open BPMN 1 1 Proj ect dialog will open 2 Select a project that contains the Business Process diagram and click Open 3 Click OK Importing from BPMN 1 1 IMPORTANT A backup file project_name_bpmn1 1 bak will be created after the project has been migrated It will include the BPMN 1 1 project before migration To convert a Teamwork BPMN 1 1 project to BPMN 2 0 1 Click File gt Import From gt BPMN
76. me is Fit unspecified ee When a Signal Start Event is owned by an Event SubProcess it can be Non Interrupting e Interrupting The Signal Start Event interrupts the process contained in the Event SubProcess The Interrupting Signal Start Event is drawn with a solid border e Non Interrupting The Signal Start Event does not interrupt the process contained in the Event SubProcess The Interrupting Signal Start Event is drawn with a dashed border MultipleStartEvent InitialNode A Multiple Start Event indicates that there are mul CS tiple ways to trigger a process However only one way is required When a Multiple Start Event is owned by an Event nterrupting SubProcess it can be e Interrupting The Multiple Start Event interrupts ia the process contained in the Event CT SubProcess The Interrupting Multiple Start E Event is drawn with a solid border l Non Interrupting e Non Interrupting The Multiple Start Event does not interrupt the process contained in the Event SubProcess The Interrupting Multiple Start Event is drawn with a dashed border Common BPMN 2 0 Elements Start Event Parallel Multiple Start Event Stereotype and Description ParallelMultipleStartEvent InitialNode A Parallel Multiple Start Event says that there are multiple triggers required before a process can be instantiated When a Parallel Multiple Start Event is owned by an Event SubProcess it can be e Interrupting
77. ments Related concepts Text Annotation 2 1 2 2 Association Association Dependency a 2 An Association is used to show the Activity used for a compensation Figure 3 apo Lmt al COL MUILE I Cancel Hotel lt Figure 3 Association Drawn from Compensation Boundary Event to Compensation Task Related concepts BPMN Process Compensation 2 1 2 3 Group A Group element represents an informal visual grouping of the graphical elements of a diagram A group shows elements that belong to the same category This type of grouping does not affect the sequence flow within the Group The category name appears on the diagram as the Group label Figure 4 a Figure 4 Group 10 Copyright 2009 2011 No Magic Inc Common BPMN 2 0 Elements 2 1 2 4 Text Annotation Element Stereotype Icon Text Annotiation TextAnnotation Comment A Text Annotation is used to provide additional information to the reader of a BPMN diagram A Text annotation connects to a model element using an anchor Figure 5 Test Annotation allows modeler to provide an additional information Figure 5 Text Annotation Related concepts Anchor 2 1 3 Events Events in business process modeling show what happens while a process is being performed Events affect the flow of a process and usually have a cause or impact and generally require or allow for a reaction The term event is general enough to cover many thin
78. n BPMN 2 0 Elements 2 1 3 4 End Events An End Event indicates where a particular process will end In terms of sequence flows an End Event ends the flow of a process and thus will not have any outgoing sequence flow There are nine 9 End Event types that are used in business process modeling Table 4 Table 4 Types of End Events in Business Process Modeling End Event Stereotype and Description Notation None End Event NoneEndEvent ActivityFinalNode A None Start Event does not have a defined O result Message End Event NoneEndEvent ActivityFinalNode A Message End Event indicates that a message will be sent when a process is completed Message End Event displays on the diagram e Message End Event name if the name is specified or e Message Ref property value if the name is unspecified or e Operation Ref property if name and Message Ref are not specified Error End Event NoneEndEvent ActivityFinalNode An Error End Event indicates that a named error will be generated and this will result in the termi nation of all of the currently active threads in a particular SubProcess Error End Event displays on the diagram e Error End Event name if the name is specified or e Error Ref property value if name is unspecified Escalation End Event EscalationEndEvent ActivityFinalNode An Escalation End Event indicates that an Escala tion should be triggered Other active threads will not
79. n atomic activity in a choreography process It represents one or more messages exchanged between two Participants Figure 50 Supplier Provide kem Consignee a a F J g in E Figure 50 Choreography Task and BPMN Collaboration Diagram Corresponding to the Choreography Task A Choreography Task can display messages that are defined by the referenced Message Flows The mes sages connected to an Initiating Participant compartment are white and those connected to a Non lnitiating Participant compartment are gray Figure 51 BPMN Choreography Diagram c E B 2 E b aden D Request Approval a Approval Figure 51 Choreography Task with Messages and BPMN Collaboration Diagram Corresponding to the Choreography Task Related procedures Creating a Choreography Task Related concepts Participant BPMN Collaboration Diagram sequence Flow 2 4 2 2 SubChoreography Element Stereotype Icon SubChoreography SubChoreography Structure dActivityNode A SubChoreography is a compound activity that can include choreography activities and define their flows Fig ure 52 It can be expanded to show its details within the choreography in which it is contained 2 CONCEPTS BPMN Choreography Diagram Figure 52 Expanded SubChoreography It can also be displayed in a collapsed view to hide its details A collapsed SubChoreography is indicated with a plus sign to
80. n on a suppressed Event SubProcess 1 Draw an expanded Event SubProcess 2 Draw a Start Event to the Event SubProcess 3 Open the SubProcess shortcut menu and select the Suppress Content checkbox Related concepts SubProcess 3 2 5 Creating Data Items You can create the following data items in a BPMN process diagram Data Object Data Store Data Input Data Output You can indicate a Data Object as a collection and connect a Data Item to other elements of the BPMN Process diagram by using a Data Association To draw a data item e On the Process Diagram toolbar click the Data Object arrow button and select Data Object Data Store Data Input or Data Output Figure 78 BPMN Process Diagram Procedures Exclusive Gateway l SL Sequence Flow a 9 Data Object l Data Store Data Input E Horizontal Pool orizontal Poo BEE Chita LE Horizontal Pool with Figure 78 Drawing a Data Item To create a new Data Object typed by a classifier e Select a classifier in the Containment tree and drag it to a BPMN Process or BPMN Collaboration diagram To mark a Data Object as a collection either e Open the Data Object shortcut menu and select Is Collection gt true e Open the Data Object Specification dialog and select Is Collection gt true To draw a Data Association 1 On the Process Diagram toolbar select Data Association 2 Click an element which is the source of Data Ass
81. name is specified or e Time Cycle property name if the name is unspecified or e Time Date property if name and Time Cycle are unspecified Escalation ThowIntermediateEvent SendOb jectAction An Escalation Throwing Intermediate Event raises an Escalation Escalation Throwing Intermediate Event displays on the diagram e Escalation Throwing Intermediate Event name if the name is specified or e Escalation Code property value if then name is unspecified Notation Common BPMN 2 0 Elements Intermediate Event Compensation Throwing Intermediate Event Conditional Catching Intermediate Event Link Catching Intermedi ate Event Stereotype and Description Notation CompensationT howIntermediateEvent Send ObjectAction A Compensation Throwing Intermediate Event al indicates that a compensation is necessary If an activity which has been succesfully com pleted is identified then it will be compensated If no Activity is identified all successfully com pleted Activities visible from a Compensation Throwing Intermediate Event will be compen sated in reverse order of their sequence flows To be compensated that Activity must have a boundary Compensation Event or contain a com pensation Event Sub Process ConditionalCatchIntermediateEvent AcceptE ventAction A Conditional Catching Intermediate Event will be triggered when a condition becomes true 300C becomes t
82. nced Messages button on the Smart Manipulators toolbar Figure 87 The Select Message dialog will open Figure 87 Referenced Messages Button on the Smart Manipulators Toolbar BPMN Collaboration Diagram Procedures x Select search for or create an element Search For an element by using list or tree views 0 E amp Find a desirable element by typing text or wildcard a a PH Finke the Search by name input Field Ca i Search by name pees by pape ooo Ee Tree o List mt OF mt BE 12 matches Found rar 6 G E Data 12 matches EF Ordering 12 matches l oe ule iz matches hese shipment Plan Variation 1 Proposed Plan Cost Variation 1 Delivery Plan Variation 1 Planned Order Variations 1 Order and Delivery Variations _ Ee x Select search for or create an element Search For an element by using list or tree views Find a desirable element by typing text or wildcard ri into the Search by name input Field Search by name piei o o o oaaao E Tree o List m ER Bt By 12 matches Found Data 12 matches EF Ordering 12 matches Se grids iz matches Shipment Plan Variation 1 Proposed Plan amp Cost Variation 1 Delivery Plan Variation 1 Planned Order Variations 1 Order and Delivery Variations ae Element Creation Mode Load JK Cancel Help 86 Copyright 2009 2011 No Magic Inc BPMN Collaboration Diagram Procedures Figure 88 Selec
83. ndary Event Timer Boundary Event Escalation Boundary Event Error Boundary Event Stereotype and Description TimerBoundaryEvent AcceptEventAction A particular time date or cycle for example every Monday at 9 A M can be specified to trigger a Timer Boundary Event A Timer Boundary Event which is attached to the boundary of an activity changes the normal flow into an exception flow upon being triggered The boundary of a Timer Boundary Event that interrupts the activity to which it is attached is solid The boundary of a Timer Event that does not interrupt the activity to which it is attached is dashed Timer Booundary Event displays on the diagram e Timer Boundary Event name if the name is specified or e Time Cycle property name if the name is unspecified or e Time Date property if name and Time Cycle are unspecified EscalationBoundaryEvent AcceptEventAction An Escalation Boundary Event is used to catch an escalation The boundary of an Escalation Event that inter rupts the activity to which it is attached is solid The boundary of an Escalation Event that does not interrupt the activity to which it is attached is dashed Escalation Boundary Event displays on the dia gram e Escalation Boundary Event name if the name IS Specified or e Escalation Code property value if then name is unspecified ErrorBoundaryEvent AcceptEventAction An Error Boundary Event reacts to ca
84. ne A Pool in a BPMN collaboration diagram represents a participant of a collaboration A Pool can have its inner process flows defined You can add the elements from a BPMN Process diagram to a pool You can also hide the pool details by displaying a black box pool A Pool can also have inner lanes To draw a pool e On the Collaboration Diagram toolbar click the Horizontal Pool arrow button and select either Horizontal Pool or Vertical Pool Figure 81 a Collaboration Diagram C Horizontal Pool a Horizontal Pool JE Horizontal Pool with A Vertical Pool a Message Flow eae aoe eae Figure 81 Drawing a Pool To draw a Pool with a suppressed context e Click Participant Pool on the Conversations toolbar Figure 82 Be Conversations M Participant Pool communication SubConversation Figure 82 Drawing a Suppressed Context Pooll To create a Pool with a representing Participant e Drag a Participant from the Containment tree to a BPMN Collaboration diagram To open a Pool Specification dialog e Right click the Pool header and select Specification Figure 83 BPMN Collaboration Diagram Procedures Pool Header Specification Enter Symbols Properties Alk Enter Insert Lanes Ctrl Alk I Delete Pool 0 To Refactor Select in Containment Tree Related Elements Name Display Mode Suppress Pool Content Figure 83 Pool Shortcut Menu To specify a m
85. ne Catching Message Start Event 4 Message Throw Message Bounda oO None End Event Exclusive Gateway SL Sequence Flow 1 Data Object Timer Start Event 4 Error Start Ewent 4 Escalation Start Event Compensation Start Event Conditional Stark Event 4 Signal Start Event Multiple Start Event L Horizontal Pool Y Parallel Multiple Start Event ma l Figure 63 Selecting an Event To draw a Boundary Event 1 On the Process Diagram toolbar click the Message Boundary Event arrow button and select a type of Boundary Event 2 Click an Activity or Choreography Activity in a diagram To change an Event type e Open the Event shortcut menu and select a new Event type Figure 64 Common BPMN Elements Procedures Specification Enter Symbol s Properties Alt Enter Go To Refactor b Select in Containment Tree Related Elements Reset Labels Fositions Compensation Start Event Conditional Start Event Error Stark Event Escalation Start Event ee Se BAL Available Event types Multiple Start Event Current Event type i Faralel Multiple Start Event Signal Start Event Timer Start Event Figure 64 Event Shortcut Menu NOTE You can change an Event type for Start Intermediate Boundary or End Events To create a non interrupting Start Event either e Open the Start Event shortcut menu and click Is Interrupting gt False or e O
86. ne can interpret When the task is ready to start the engine will execute the script When the script is completed the task will also be completed CONCEPTS BPMN Process Diagram 2 2 2 2 SubProcess A SubProcess is an activity whose internal details have been modeled using activities gateways events and sequence flow A SubProcess is a graphical object within a process and it can also be opened up to show a lower level process Figure 24 SubProcesses define a contextual scope that can be used for attribute visibility and transactional scope for the handling exceptions of Events or for compensation Figure 24 Expanded SubProcess Used in Sequence Flow A collapsed view of SubProcess hides its details while an expanded view shows its content A collapsed Sub Process uses a plus sign to distinguish it from a Task Table 8 below shows different types of Sub Processes used in business process modeling Table 8 Types of Sub Processes in Business Process Modeling SubProcess Type Stereotype and Description Notation SubProcess SubProcess StructuredActivityNode A SubProcess is used to create a context for exception handling that applies to a group of activities A collapsed SubProcesses can be used as a mecha nism to show a compact and less clutter group of par allel activities 38 Copyright 2009 2011 No Magic Inc BPMN Process Diagram SubProcess Type Stereotype and Description E
87. nt Link Throwing Intermdiate Event displays e Link Throwing Intermediate Event name if the name is specified or e Target Link Event property valueif the name is unspecified SignalCatchIntermediateEvent AcceptEven tAction A Signal Catching Intermediate Event is used to receive a signal Signal Catching Intermediate Event displays on the diagram e Signal Catching Intermediate Event name if the name is specified or e Signal Ref property value if the name is unspecified Signals in business process modeling are used for general communication within and across pro cess levels SignalThowIntermediateEvent SendObjectAc tion Signal Throwing Intermediate Event displays on the diagram e Signal Throwing Intermediate Event name if the name is specified or e Signal Ref property value if the name is unspecified A Signal Throwing Intermediate Event is used to send a signal MultipleCatchIntermediateEvent AcceptEven tAction A Multiple Caching Intermediate Event shows that multiple types of events can be caught Only one of the defined event triggers is required Multiple ThowIntermediateEvent SendObjec tAction A Multiple Throwing Intermediate Event shows that multiple types of events are thrown All of the defined triggers will be thrown by this event MultipleParalllelCatchIntermediateEvent AcceptEventAction A Parallel Multiple Caching Intermediate Event shows that multiple ty
88. nu and select the Is Sequential check box or e Open an activity with the Multilnstance marker Specification dialog select ls Sequential gt false Figure 69 and then click Close E Multiinstance Loop Is Sequential False Hone Behavior Event Ref Loop Cardinality Completion Condition Figure 69 Displaying Multilnstance Loop Marker on a MultiInstance Loop Activity To convert an Activity to another type of Activity e Open the Task SubProcess or Call Activity shortcut menu click Refactor gt Convert To and select an activity type Figure 70 BPMN Process Diagram Procedures Specification Enter e oo x H Symbols Properties R AELE nET de woe s oes ie ee ee Ae A Se ea a A a A a a ee Go To gt es Refactor oo OP Call Activity 7 7 m ake Select in Containment Tree Olk B Replace With Subpracess ne Lace EEDEN ONE O Ad Hoc Subprocess stereotype Transaction Subprocess Pete tease SGI EEE gt Sees E More Specific 5 Show Tagged Values Figure 70 Converting Activity Type Related concepts Activities 3 2 3 Creating Tasks There are multiple types of Tasks that you can create ina BPMN Process diagram To draw a task e On the Process Diagram toolbar click the Task arrow button and select a type of Task Figure 71 Process Diagram l Task Tak Collapsed SubProcess EEE ae P Call Activity Samal Tak J None Start Event Receive Task O Mone Catching Inte
89. o button 4 Type the name of the destination directory and the XPDL filename in the Xpdl File box or click the button to browse for a destination folder 5 Click Save 3 Importing from BPMN 1 1 The MagicDraw 16 8 and its earlier versions support for BPMN 1 1 and Business Process diagram allows you to model business processes using the BPMN 1 1 notation IMPORTANT The support for BPMN 1 1 and Business Process diagram will no longer be available starting from the next version of MagicDraw It will be replaced by the Cameo Business Modeler support for the BPMN 2 0 specification Importing from BPMN 1 1 You can convert your MagicDraw projects containing old BPMN profile and Business Process diagrams to the new BPMN 2 0 standard A backup file will be created for the project conversion This backup file allows you to find your BPMN 1 1 models whenever you need them You can convert a project to BPMN 2 0 by either i Opening a MagicDraw project that contains the BPMN 1 1 profile and or Business Process dia gram or ii Importing a BPMN 1 1 project i To convert a BPMN 1 1 project to BPMN 2 0 by opening it 1 Open a MagicDraw project that contains the BPMN Profile or Business Process diagram A Question dialog will open Figure 120 Ad Question Project contains BPMN 1 x Business Process Diagrams BPMN 1 x Business Process diagram will not be supported in Future releases eo It wi
90. ociation in a diagram 3 Click an element which is the target of Data Association in a diagram NOTE e The source or target of a Data Association must always be a Data Object Data Store Data Input or Data Output e The other end of a Data Association should always be an activity or event To display a Data Object connected to a Sequence Flow 1 Draw a Data Association from an Activity to a Data Object 2 Draw another Data Association from the Data Object to another Activity 3 Draw a Sequence Flow from the first to the second Activity 4 Open the Data Object shortcut menu and select Show Connected to Sequence Flow Figure 79 BPMN Process Diagram Procedures Specification Enter Symbols Properties Alk Enter 0 To d Refactor b Select in Containment Tree Related Elements Show Giner Wrap Words Type Is Collection Figure 79 Data Object Shortcut Menu A Data Object connected to a Sequence Flow is a visual shortcut of two Data Associations In the model the Data Associations will stillex ist and the Data Object connecting to the Sequence Flow will be dis played Related concepts Items and Data 78 Copyright 2009 2011 No Magic Inc BPMN Collaboration Diagram Procedures 3 3 BPMN Collaboration Diagram Procedures This section will describe how to create and specify a BPMN Collaboration diagram NOTE A BPMN Collaboration diagram can contain the elements from a Process d
91. odel element represented by a Pool do one of the following e Click a Pool in a diagram The smart manipulators toolbar will open Figure 84 Click the Participant button or Figure 84 Selecting a Pool e In the Pool Specification window open the Represents drop down list and select an element Figure 85 or BPMN Collaboration Diagram Procedures El Pool Hame Represents UNSPECIFIED gt I To Do Type text or wildcard 7 to search 2 matches Found F Sales Department F User Figure 85 Selecting a Participant e Select a represented element in the Containment tree and drag it to the Pool header in a diagram NOTE A Pool may represent a BPMN Participant element or UML classifier element TIP You can create a Participant in your model as described in section 3 1 2 Creat ing BPMN Elements in the Model Browser To hide a Pool content in a diagram to display a black box pool e Open the pool shortcut menu and click either i Suppress Pool Content or ii Symbol s Properties and select the Suppress Pool Content check box A Pool with suppressed contents that references a multilnstance Participant will be displayed with a Multiln stance marker To display a multilnstance marker on a Pool e Open the Pool Specification dialog open the Represents drop down list and select a represented multilnstance Participant NOTE A Multilnstance marker can be displayed only on a Poll with sup
92. pen the Start Event Specification dialog select Is Interrupting gt False Figure 65 and then click Close b Is Interrupting Message Ref Operation Ret Owner med Order handling Ordering Figure 65 Creating a Non I nterrupting Start Event Common BPMN Elements Procedures IMPORTANT Not all Start Event types can be created as non interrupting The command Is Interrupting is only available for the following Start Event types e Message Start Event e Timer Start Event e Escalation Start Event e Conditional Start Event e Signal Start Event e Multiple Start Event e Parallel Multiple Start Event To make a Boundary Event non interrupting either e Open the Boundary Event shortcut menu and click Cancel Activity gt False or e Open the Boundary Event Specification dialog select Cancel Activity gt False Figure 66 and then click Close El Timer Boundary Event Mame Id Cancel Activity Time Cycle Time Date Time Duration Figure 66 Creating a Non I nterrupting Boundary Event IMPORTANT Not all Boundary Event types can be created as non interrupting The com mand Cancel Activity is available for the following Boundary Event types e Message Boundary Event e Timer Boundary Event e Escalation Boundary Event e Conditional Boundary Event e Signal Boundary Event e Multiple Boundary Event e Parallel Multiple Boundary Event Related concepts Events Activities Choreography Activities BPMN Process Diag
93. pes of events are caught All of the defined event triggers are required to trigger this event Notation Common BPMN 2 0 Elements Related concepts Compensation 2 1 3 3 Boundary Events A Boundary Event Figure 6 is a Catching Intermediate Event that is attached to the boundary of any of the fol lowing activities e SubProcess Task or Call Activity e SubChoreography Choreography Task or Call Choreography Hotify Customer Booking Failed Booking Figure 6 Error Boundary Event Attached to SubProcess Table 3 will describe all of the Boundary events used in business process modeling Table 3 Types of Boundary Events in Business Process Modeling Boundary Event Stereotype and Description Notation Message Boundary Event MessageBoundaryEvent AcceptEventAction A Message Boundary Event is triggered by an arrived message The normal flow is changed into an exception flow when an event is triggered The boundary of a Message Event that interrupts the activity to which it is attached is solid The boundary of a Message Event that does not interrupt the activity to which it is attached is i dashed Message Boundary Event displays on the dia gram Non Interrupting e Message Boundary Event name if the name is specified or e Message Ref property value if the name is unspecified or e Operation Ref property if name and Message Ref are not specified Common BPMN 2 0 Elements Bou
94. pproval Distribution Authorize De a rt PE Figure 16 A Message Flow Drawn between Pools Inner Elements IMPORTANT e A Message Flow must connect separate Pools It can be connected to the pool boundary or element inside a pool e A Message Flow cannot connect two elements in the same Pool Messages that are sent by a Message Flow can be displayed in a diagram in two ways i associated with the Message Flow Figure 17 and ii overlap the Message Flow Figure 18 But they can also be hidden 32 Copyright 2009 2011 No Magic Inc Common BPMN 2 0 Elements 1 E E T 2 2 E lalaa Approval Request Figure 17 Message Associated with a Message Flow Financial Institution Figure 18 Message Overlapping a Message Flow Related procedures Creating a Message Flow Related concepts Pool and Lane Message 33 Copyright 2009 2011 No Magic Inc BPMN Process Diagram 2 2 BPMN Process Diagram A BPMN Process diagram describes a sequence or flow of activities in an organization that shows how the business works Figure 19 The diagram shows activities events and data that trigger or feed business activi ties ABPMN Process diagram is similar to the UML Activity diagram with a much richer set of default message types and business process styles of notation The Process diagrams are based on the UML Activity diagram and include restrictions and extensions as defined by BPMN
95. raceability relations e Open the element Specification dialog and click BPMN SOAML Traceability Figure 125 Integration with Cameo SOA Mservice Task Retrieve Parts List xj BPMN SoaML Traceablility Specify element traceability relations to BPMN and SoaML model elements History 1 Retrieve Parts List Ordering Order handling x Retrieve Parts List BPMN SOAML Traceability H E Documentation Hyperlinks a al at og Usage in Diagrams Properties Relations eE Constraints ES 4NISOAML Traceability BPMN Interface BPMN Participants Choreography Collaboration El SoaML Model E BPMN Model BPMN Choreography Diagrams BPMN Collaboration Diagrams interface 4 Order Taker Dealers Metwork Ser Request Points Service InterFace P Seller Seller Dealers Network Comp Service Points P Manufacturer Dealers Network Sery Interface Describes the particular expected interactions Q Type here to filter properties Close Back Forward Help 130 Copyright 2009 2011 No Magic Inc Integration with Cameo SOA BPMN SoaML Traceablility Specify element traceability relations to BPMN and SoaML model elements History ie Retrieve Parts List Ordering Order handling T Retrieve Parts List BPM SOA4ML Traceability El Documentation Hyperlinks e Aj L Usage in Diagrams Properties Relations mel Constraints SU EEBPMNSOAML Traceability BPMN InterFace BPMN Participants Choreog
96. ram Procedures 3 2 BPMN Process Diagram Procedures This section will describe how to create and specify a BPMN Process diagram NOTE A BPMN Process diagram may also contain the elements of a BPMN Collabo ration diagram Related concepts BPMN Process Diagram Related procedures 3 3 BPMN Collaboration Diagram Procedures 3 2 1 Creating a BPMN Process Diagram You can create a BPMN Process diagram by using the i main toolbar ii main menu or iii shortcut menu in the Containment tree i To create a new BPMN diagram by using the main toolbar 1 Click the BPMN Process Diagram icon on the BPMN 2 0 main toolbar Figure 67 The Cre ate Diagram dialog will open CEE S254 Figure 67 BPMN Process Diagram Icon on the Main Toolbar 2 Type the name and select the owner of the BPMN Process diagram and then click OK ii To create a new BPMN diagram by using the main menu 1 On the main menu click Diagrams gt BPMN2 Diagrams gt BPMN Process Diagrams The BPMN Process Diagrams dialog will open 2 Click the Add button The Create Diagram dialog will open 3 Type the name and select the owner of the BPMN Process diagram and then click OK iii To create new BPMN diagram from the shortcut menu in the Containment tree 1 Right click a package in the Containment Tree to open the shortcut menu and click New Dia gram gt BPMN2 Diagrams gt BPMN Process Diagram 2 Type the name for a created BPMN Proc
97. raphy El BPMN Model BPMN Choreography Diagrams BPMN Collaboration Diagrams Collaboration El SoaML Model Pe nterrace 4 Order Taker Dealers Network Ser Request Points Service Interface P Seller Seller Dealers Network Comp Service Points P Manufacturer Dealers Network Sery Interface Describes the particular expected interactions Q Type here to filter properties Close Back Forward Help Figure 125 BPMN SOAML Traceability Tab in the Element Specification Dialog The BPMN SOAML Traceability tab is available for the following elements e BPMN Activities e Events Gateways Data Objects SoaML and UML Classifiers To review the Pools that represent SoaML Participants 1 Open the SoaML Participant specification dialog The Property Representing Pools will show all the Pools that represent SoaML Participants Figure 126 131 Copyright 2009 2011 No Magic Inc Integration with Cameo SOA N Participant Provider X Specification of Participant properties Specify properties of the selected Participant in the properties specification table Choose the Expert or All options From the Properties drop down list to see more properties do History i Provider Provider B Usage in Diagran gj at a Properties Standard SK Customize H E Documentation El Participant FA Provider Provider Procurement Representing Pools l l Signal Reception FA Provider Orde
98. ring FE Behaviors Daner Data Template Parame Base Classifier E E Inner Elements 3 Relations Tags Constraints Language Proper BPMN SCAML Tr Realized Interface Visibility public Is Abstract False To Go Name The name of the NamedElement Close Back Forward Help 132 Copyright 2009 2011 No Magic Inc Integration with Cameo SOA Participant Provider Specification of Participant properties Specify properties of the selected Participant in the properties specification table Choose the Expert or All options From the Properties drop down lisk to see more properties do History E Provider Provider Usage in Diagran ez aj at of Properties Standard Customize HES Documentation Attributes aa Forts i i M Provider Provider Procurement Salemi Representing Pools l l Signal Reception M Provider Ordering H E Behaviors Sinner Template Parame IES Inner Elements Relations Tags Constraints Language Propet To Do BPMN SCAML Tr Base Classifier Realized Interface Visibility public Is Abstract false Name The name of the NamedElement Close Back Forward Help Figure 126 Representing Pools in the Participant Specification Dialog T33 Copyright 2009 2011 No Magic Inc
99. roject to BPMN 2 0 Use a Teamwork version as a backup copy that will 123 include the BPMN 1 1 Business Process diagrams before migrating the project Copyright 2009 2011 No Magic Inc Integration with Cameo SOA 3 8 Integration with Cameo SOA The BPMN and SoaML standards compliment each other Together they describe organizations information and behavior from different perspectives SoaML defines the structure of collaborating systems and BPMN describes the dynamic behavior IMPORTANT Cameo SOA Plugin should be installed in order to use the BPMN and SoaML standards together The Cameo Business Process Modeler integration with Cameo SOA Plugin allows you to use the BPMN and SoaML standards together The following are the advantages of using SoaML elements e ABPMN Pool can represent an SoaML Participant e SoaML elements can be selected as the BPMN Data Object type e SoaML elements can be selected as the BPMN Message type e BPMN Elements can be traced to SoaML elements e SoaML elements can be traced to BPMN elements To create a new BPMN SoaML project 1 Do any of the following i Click File gt New Project on the main menu ii Click the New Project button on the main toolbar or iii Press Ctrl N 2 The New Project dialog will open Click the BPMN2 SoaML Project icon Figure 123 Integration with Cameo SOA rev Project OEE General Purpose Modeling A Mame Business rchitecturel a E2
100. rue Conditional Catching Intermediate Event dis plays on the diagram e Conditional Catching Intermediate Event name if the name is specified or e Condition property value if the name is unspecified LinkCatchIntermediateEvent AcceptEventAc tion A Link Intermediate Event provides the capability for connecting two sections of a process This event can be used to create looping situations or to avoid long sequence flow lines as Off Page Connectors to print a Process across multiple pages or as generic Go To objects within a Pro cess level The use of Link Events is limited to one for each single Process level that is it cannot link a parent Process with a Sub Process A Link Catching Intermediate Event is used to catch a link from a Link Throwing Intermediate Event Link Catching Intermdiate Event displays e Link Catching Intermediate Event name if the name is specified or e Source property valueif the name is unspecified Common BPMN 2 0 Elements Intermediate Event Link Throwing Intermedi ate Event Signal Catching Interme diate Event Signal Throwing Interme diate Event Multiple Caching Interme diate Event Multiple Throwing Inter mediate Event Parallel Multiple Catch ing Intermediate Event Stereotype and Description LinkThowIntermediateEvent SendObjectAc tion A Link Throwing Intermediate Event is used to throw a link to a Link Catching Intermediate Eve
101. ry Event cannot be attached to a Call Choreography A Non Interrupting Start Event can only be used inside an Event SubProcess 2 5 3 BPMN2 Completeness Validation Rules Table 12 BPMN 2 0 Completeness Validation Rules Validation rule An Intermediate Boundary Event should have an outgoing Sequence Flow An Intermediate Event should have an incoming or outgoing Sequence Flow An Error Code should be specified for an Error End Event An Event Based Gateway should have two or more outgoing Sequence Flows An Event SubProcess must have one Start Event An Event SubProcess shall have one Start Event A Start Event shall have at least one outgoing Sequence Flow An Intermediate Event can have either an incoming or outgoing Message Flow it cannot have both Severity Warning Warning Warning Warning Info Warning Warning Warning Info Warning Warning Warning Table 12 shows the BPMN 2 0 validation rules included in the BPMN 2 0 Completeness validation suite Severity Info Info Info Info Warning Warning Warning Warning Exporting Models in XPDL Format 2 6 Exporting Models in XPDL Format XML Process Definition Language XPDL is a serialization format for BPMN XPDL provides a file format that supports all BPMN process definition description properties It defines a description of both model element properties and graphical descriptions of the diagram With XPDL Cameo Business Modeler can export pro
102. s Button on the Smart Manipulators Toolbar 2 Click the Participants button Figure 97 The Select Participant dialog will open 3 Select the Participants and click OK iii To specify a list of participants by using the drag and drop action e Drag a Participant from the Containment tree to a Choreography activity ina BPMN Choreography diagram TIP You can drag more than one participant at a time To specify an initiating participant in a choreography activity e Open a Choreography activity Specification dialog Click the Initiating Participant Ref property button to select a participant from the list Figure 98 Ea P Customer Ordering Participants Participant Refs l 7 CE Manufacturer Ordering Participants Initiating Farticipant Ref SUNSPECIFIED gt jpe Message Flow Type text or wildcard 7 to search To Do 17 matches Found lt UNSPECIFIED gt P Bidder Ordering Participants P Breakdown Service Ordering Par LE Buyer Ordering Participants F Carrier Land Sea Rail or Airt 2 LE Consignee Ordering mel H Figure 98 Selecting an Initiating Participant IMPORTANT The Initiating Participants Ref property is required for a choreography activity To add a Standard Loop marker to a choreography activity e Right click a choreography activity and select Standard Loop BPMN Choreography Diagram Procedures To add a Multilnstance Loop parallel marker to a
103. sation Delivery Negotiations 4 Delivery Negotiations He IP He S History E Delivery Negotiations Untitled3 Conversation Modes E E Documentation Hyperlinks a ee Pee fE3 Pins H Bi BS BS Relations Mame fel bse Constraint El conversation M Create Glone Delete Communication Close Back Figure 93 Creating a Conversation Node in the Subconversation Specification Dialog Go SubConversation slp 2 Click Conversation Nodes gt Create and then select either Communication or SubConver sation 3 Type the name of the node and click Close Copyright 2009 2011 No Magic Inc BPMN Collaboration Diagram Procedures Related concepts 2 3 4 SubConversation BPMN Choreography Diagram Procedures 3 4 BPMN Choreography Diagram Procedures This section will describe how to create and specify a BPMN Choreography diagram 3 4 1 Creating a BPMN Choreography Diagram You can create a BPMN Choreography diagram by using the i main toolbar ii main menu ili shortcut menu in the Containment tree i To create a new BPMN Choreography diagram by using the main toolbar 1 Click the BPMN Choreography Diagram icon on the BPMN 2 0 toolbar The Create Diagram dialog will open Figure 94 BPMIM Choreography Diagram Figure 94 BPMN Choreography Icon on the Main Toolbar 2 Type the name and select the owner of the diagram and then click OK ii To create a ne
104. spectives gt Perspectives The Select Perspectives dialog will open 2 Select Cameo Business Modeler and click Apply Related sections Perspectives Selection and Customization in the Getting Started section in the MagicDraw user guide Working with BPMN 2 0 Projects 1 4 Working with BPMN 2 0 Projects A BPMN2 project provides a workspace for business process modeling The Business Process Modeling and Notation BPMN elements and validation rules are available in this project To create a new workspace for an empty project 1 Do one of the following e On the File menu click New Project e Click the New Project button on the main toolbar e Press Ctrl N HPHH 2 In the New Project dialog click the BPMN2 Project icon PPM Project 3 Type the filename in the Name box 4 Click the button to locate where to store your newly created project 5 Click OK NOTE If the Business Modeler perspective is not enabled a message will open and ask whether you want to change the perspective Click Yes to switch to the Business Modeler perspective supporting BPMN2 diagrams Related sections Switching to Business Modeler Perspective e The Working with Projects section in the MagicDraw User Manual 2 CONCEPTS A Business Process Modeling and Notation BPMN standard provides the capability to understand internal business procedures in a graphical notation and gives organizations the ability to communi
105. ssage Flows A Message FlowlOrdering Logistics vith Constraints Outgoing Message Flows a EZ A Message FlowlOrdering Logistics witt Received Messages Confirmation of Schedule Ordering L M Consignee Ordering Delivery M consignee Ordering Logistics with Pu Sent Messages ms Proposed Flan Cost Variation Orderir Representing Pools Forward Help Figure 59 Traceability Information of Participant 64 Copyright 2009 2011 No Magic Inc Common BPMN Elements Procedures Related concepts Participant 3 1 4 Creating a Sequence Flow A Sequence flow connects activities choreography activities events and gateways A Conditional sequence flow has a condition expression and is drawn with a mini diamond marker at the beginning of the Sequence Flow A default sequence flow is indicated with a backslash at the beginning of the Sequence Flow To create a Conditional Sequence Flow 1 Select a Sequence Flow in a diagram and type the condition expression inside the brackets Figure 60 2 Click on an empty space in the diagram Check i Mant Capacity amp Parts Available Figure 60 Creating a Conditional Sequence Flow 3 Open the Sequence Flow Specification dialog and type the expression in the Condition Expression property text box Figure 61 E Sequence Flow Mame Id Condition Expression Parts must be Ordered Is Immediate lt undefined gt Source E Target E Figure 61 Def
106. tches a named error or any error if a name is not speci fied An Error Boundary Event always interrupts the activity to which it is attached The boundary of the event is always solid Error Boundary Event displays on the diagram e Error Boundary Event name if the name is specified or e Error Ref property value if name is unspecified Notation Interrupting Non Interrupting Interrupting y bry 1 i i id i al Eoo Non Interrupting N Interrupting Common BPMN 2 0 Elements Boundary Event Cancel Boundary Event Compensation Boundary Event Conditional Boundary Event Stereotype and Description Notation CancelBoundaryEvent AcceptEventAction A Cancel Boundary Event is used within a Trans G action SubProcess This type of Event must be attached to the boundary of a SubProcess and will be triggered in two cases i If a Cancel End Event is reached within the Interrupting Transaction SubProcess ii If a Transaction Protocol Cancel message is received while a transaction is being performed A Cancel Boundary Event always interrupts the activity to which it is attached The boundary of the event is always solid CompensationBoundaryEvent AcceptEven tAction A Compensation Boundary Event is used to catch a Compensation Event The event will be triggered by a thrown compensation targeting that activity When the event is triggered a Compen sation Activ
107. terface ce Open in New Tab Oa Conversation 0 Item Definition HA Specification Enter AR BPMN Process Output Set k i Use Case Mumbering r 4 BPMN Collaboration F Partner Entity Go To p Ed Class F Performer Related Elements p Interface P Human Performer Tools b Enumeration F Participant Rename F2 O Package F Partner Role fa Copy Ctrl C Profile FP Resource Copy URL Sag Usecase E Definitions Paste Cbrl Actor 4 Error ef Cut Ctrlex Ta Artifact Input Set Wo Delete Delete Component PF Potential Owner 1 1 Figure 57 Creating a BPMN Element in the Containment Tree Related concepts Common BPMN 2 0 Elements 3 1 3 Creating Participants You can create a Participant inside a package The participant will not be displayed ina BPMN 2 0 diagram as it is represented by a Pool and Choreography Task A Participant is called mutilnstance if its Minimum Multiplic ity value is equal or more than two To create a participant in a Containment tree e Open the package shortcut menu in the Containment tree and click New Element gt BPMN Element gt Participant Common BPMN Elements Procedures To create a multilnstance participant e Open the participant Specification dialog and type the value two or greater in the Minimum property text box Figure 58 El Participant Mame ee Id Partner Entity Ref Partner Role Ref Endpoint Refs Interface Refs To Do El Instance Mum Participants
108. ting a Message in the Select Message Dialog 2 Click the Element creation mode button 3 Select a Collaboration element in the model element tree and click the Create button Figure 89 BPMN Collaboration Diagram Procedures xi Select search for or create an element gt Og Search for an element by using list or tree views E Fa S Find a desirable element by typing text or wildcard D a c into the Search by name input Field Search by name pees by pape ooo Ee Tree o List m BE m BE 32 matches Found rar R ER Ordering 31 matches bw Collect Order choreography Sa Delivery Negotiations Lo at dag fl matches 1 Shipment Plan Variation se al gt Proposed Plan amp Cost Variation _ x Select search for or create an element Search For an element by using list or tree views Find a desirable element by typing text or wildcard into the Search by name input Field Search by name psec by pe ooo E Tree o List E ERE Bt ER 32 matches Found EES Ordering 31 matches bt Collect Order choreography Sa Delivery Negotiations Logistics i matches B m gt i m gt e Shipment Plan Variation eT Proposed Plan amp Cost Variation Cancel Help 88 Copyright 2009 2011 No Magic Inc BPMN Collaboration Diagram Procedures Figure 89 Creating a Collaboration Element in the Select Message Dialog To select a Message for a Message
109. tion Click to select Paneer for activity diagrams SSCS CS S Activity Diagrams Place transformation model in package Transform in place Back Hext gt Finish Cancel Help Figure 116 Selecting the Location to Save the Activity Diagram 119 Copyright 2009 2011 No Magic Inc Converting Activity Diagram to or from BPMN Process Diagram Destination Package r B E Data bn activity diagrams E9 Ordering E9 Receive Medicine Ep UML Standard Profile UML_Standard_Protile fea BPMN2 Constraints BPMN2 Constraints mdzi eg BPMN Customization BPMN2 Customization Ea BPMN2 Profile BPMN2 Profile mdzip mp Model Transformation Profile Model TransFa g Click to create new package Cancel i Destination Package E x ue a fame ee ctivity diagrams H E Ordering E Receive Medicine Ep UML Standard Profile UML_Standard_Protile Fes BPMN Constraints BPMN2 Constraints mdzi fea BPMIN2 Customization BPMN2 Customization fea BPMIN2 Profile BPMN2 Profile mdzip Figure 117 Confirming the Package Location 5 Select a package and click OK Click the Create button in the Destination Package dialog to create a new package IMPORTANT e f you select Transform in place as the Transformation Destination option your original BPMN Process diagram will be lost after conversion e It is recommended to select the Place transformation model in package option 6 Clic
110. ty value if the name is unspecified or e Operation Ref property if name and Message Ref are not specified When a Message Start Event is owned by an Event SubProcess it can be e Interrupting The Message Start Event interrupts the process contained in the Event SubProcess The Interrupting Message Start Event is drawn with a solid border e Non Interrupting The Message Start Event does not interrupt the process contained in the Event SubProcess The Interrupting Message Start Event is drawn with a dashed border TimerStartEvent InitialNode A Timer Start Event allows for a particular time date or cycle setting for example every Monday at 9 A M to trigger the start of a process Timer Start Event displays on the diagram e Timer Start Event name if the name is specified or e Time Cycle property name if the name is unspecified or e Time Date property if name and Time Cycle are unspecified When a Timer Start Event is owned by an Event SubProcess it can be e Interrupting The Timer Start Event interrupts the process contained in the Event SubProcess The Interrupting Timer Start Event is drawn with a solid border e Non Interrupting The Timer Start Event does not interrupt the process contained in the Event SubProcess The Interrupting Timer Start Event is drawn with a dashed border CompensationStartEvent InitialNode A Compensation Start Event is allowed to trigger an in line Compensat
111. ubProcess _ Expanded Choreography SubProcess Figure 100 Selecting Expanded Choreography SubProcess BPMN Choreography Diagram Procedures To draw a collapsed SubChoreography e On the BPMN Choreography Diagram toolbar ina BPMN Choreography diagram click the Collapsed SubChoreography SubProcess arrow button and select Collapsed SubChoreography To convert a collapsed SubChoreography to from an expanded SubChoreography e Right click a SubChoreography in a BPMN Choreography diagram and either select or deselect Suppress Content e Right click a SubChoreography in a BPMN Choreography diagram and click Symbol s Properties The Symbol Properties dialog will open Either select or clear the Suppress Content check box Related concepts 2 4 2 2 SubChoreography 3 4 4 Creating a Choreography Task A Choreography Task can have references to message flows existing between referenced participants To draw a Choreography Task e On the BPMN Choreography Diagram toolbar ina BPMN Choreography diagram click Choreography Task and then click the diagram Figure 101 J BPMN Choreography diagram Collapsed Choreography SubProcess _ Call Choreography Activity None Start Event Figure 101 Choreography Task Button To select Message Flows referenced by a Choreography Task 1 Open the choreography activity Specification dialog Message Flow property Figure 102 BPMN Choreography Diagram Procedures Mj s
112. ult they have no direct effect on the flow of a process Research Hotes WW Research the Topic Write Text Figure 29 Data Association Showing the Flow of Data Object Alternatively Data Objects can be directly associated with a Sequence Flow to represent the same input output Data Associations Figure 30 This is a visual shortcut that is stored in a model as two Data Associations one from Activity to Data Object and another from Data Object to Activity b Research Hotes Research the Topic Figure 30 Data Association Associated with a Sequence Flow 2 2 4 Compensation A Compensation in business process modeling is concerned with undoing steps that have already been suc cessfully completed because their results and possible side effects are no longer desired and need to be reversed If an activity is still active it cannot be compensated and needs to be canceled The cancellation of a SubProcess may produce a compensation of the already successfully completed portions of an active activity A Compensation is performed by a compensation handler A compensation handler performs the steps neces sary to reverse the effects of an activity For a SubProcess the compensation handler will have access to the SubProcess data once they have been completed snapshot data A compensation handler is a set of activities that are not connected to other portions of the BPMN model The compensation handler starts w
113. users are required to enter ether password and code from password card or enter code get password from code generator Enter Password F get code from card Enter Login Hame gt Enter Code from F Password Card Login Method get generated code ee tern han Code Generator Figure 10 Complex Gateway Example 2 1 4 5 Event Based Gateway An Event Based Gateway represents a branching point in a process where alternative paths that follow the gateway are based on the events that occur rather than on the evaluation of expressions using process data as with an Exclusive or Inclusive Gateway A specific event usually the receipt of a message determines the path that will be taken Figure 11 Basically the decision has been made by another participant based on data that is not visible to the process thus requiring the use of an Event Based Gateway Common BPMN 2 0 Elements Handia CRIT Handle SMS Figure 11 Event Based Gateway Example Related concepts Intermediate Events 2 1 5 Error An Error represents the contents of an error event or the fault of a failed operation An Error is generated when there is a critical problem in the processing of an activity or when the execution of an operation fails Error Error Class Related concepts Events 2 1 6 Message Message CentralBufferNode A Message represents the contents of a communication between two participants It is passed by a
114. valuation 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 Figure 8 However it should be designed in such a way that at least one path is taken Condition _ Send Message Receive Message Decision Condition Send Message Figure 8 Diverging Inclusive Gateway Example A converging Inclusive Gateway is used to merge a combination of alternative and parallel paths A control flow token arriving at an Inclusive Gateway may be synchronized with some other tokens that arrive later at this gateway Common BPMN 2 0 Elements 2 1 4 3 Parallel Gateway A Parallel Gateway is used to synchronize combine and create parallel flows Figure 9 Order Handing Approve Order gt Review Order Shipment Handling Figure 9 Parallel Gateway Example 2 1 4 4 Complex Gateway A Complex Gateway can be used to model complex synchronization behavior Figure 10 The Complex Gate way property Activation Condition is used to describe precise behavior For example the activation condition specifies that tokens on three out of five incoming sequence flows are needed to activate the gateway Which tokens the gateway will produce is determined by the conditions on the outgoing sequence flow as in the split behavior of an Inclusive Gateway According the Login properties
115. vent SubProcess SubProcess StructuredActivityNode An Event SubProcess is an ordinary SubProcess 2 whose property Triggered By Event is set to true An Event SubProcess is not a part of the normal flow of its parent process there is no incoming or outgoing sequence flow It is possible that an Event SubProcess will occur many times Unlike the standard SubProcess that uses the flow of the parent process as a trigger an Event Sub Process has a start event with a trigger Whenever the start event is triggered while the parent process is active then the Event SubProcess will start Collapsed The Start Event icon of a collapsed Event SubProcess will be displayed on the top left corner of the SubPro cess Collapsed with its own Start Event Transaction Transaction StructuredActivityNode A Transaction is a specialized type of SubProcess whose special behavior is controlled through a transac tion protocol Such as WS Transaction AdHoc SubProcess An AdHoc SubProcess is a specialized type of SubPro cess that is a group of activities that have no required sequence relationships A set of activities can be defined for the process but the sequence and number of performances for the activities are determined by the performers of the activities Collapsed Related procedures Managing SubProcesses 39 Copyright 2009 2011 No Magic Inc BPMN Process Diagram 2 2 2 3 Call Activity Element Ster
116. w BPMN Choreography diagram by using the main menu 1 On the Diagrams menu click BPMN2 Diagrams gt BPMN Choreography Diagrams The BPMN Choreography Diagrams dialog will open 2 Click the Add button The Create Diagram dialog will open 3 Type the name and select the owner of the diagram and then click OK iii To create a new BPMN Collaboration diagram by using the shortcut menu in the Containment tree 1 Right click a package in the Containment tree and click New Diagram gt BPMN2 Diagrams gt BPMN Choreography Diagram 2 Type the name of the diagram IMPORTANT You can create a BPMN Choreography diagram only from the Business Mod eler and Full Featured user perspectives Related concepts BPMN Choreography Diagram 2 4 1 Choreography 3 4 2 Creating Choreography Activity This section will describe how to model choreography activities ina BPMN Choreography diagram Choreogra phy Activities such as Choreography Task SubChoreography and Call Choreography can have the following specific markers displayed on their shapes e Standard loop marker e Multilnstance loop parallel marker e Multilnstance loop Sequential marker BPMN Choreography Diagram Procedures Choreography activities must have a list of specified participants and initiating participant The Participants in a choreography activity will be displayed in gray and the initiating participant will be displayed in another color You can specify a l
117. y E d 1 F if preabCowh SETUICE Track Breakdown Arrival Pickup Traffic Optimization Locative Service Provision Confirmation Guidance Figure 35 BPMN Collaboration Diagram with Conversations The BPMN Collaboration diagrams are based on the UML Activity diagram and include restrictions and exten sions as defined by BPMN The elements from a BPMN Process diagram can be displayed in the BPMN Col laboration diagram Related procedures Creating a Communication BPMN Collaboration Diagram 2 3 1 Collaboration Element Stereotype Icon Collaboration Collaboration Activity 5 A Collaboration element provides a description of several pools collaboration This element is a container for a BPMN Collaboration diagram and its elements 2 3 2 Pool and Lane Element Stereotype Pool Pool ActivityPartition Lane Lane ActivityPartition A Pool represents a participant in a collaboration The participant can be a specific partner entity for example a company or it can be a more general partner role for example a buyer seller or manufacturer Graphically a Pool is a container to partition a process from other pools A Pool can contain a process Figure 36 or it can be a black box Figure 37 Figure 36 Pool that May Contain a Process Figure 37 Pool with Suppressed Contents A Pool with suppressed contents will display a multilnstance marker if the participant referenced by a pool has a Minimum
118. ys on the diagram e Signal End Event name if the name is specified or Signal Ref property value if the name is unspecified Note that the signal which is broadcast to any process that can receive the signal can be sent across process levels or pools TerminateEndEvent ActivityFinalNode A Terminate End Event indicates that all activities in a process should be immediately ended includ ing all of the instances of multi instance activities The process will be ended without any compensa tion or event handling NoneEndEvent ActivityFinalNode A Multiple End Event shows that there are multi ple consequences of ending a process and all of them will occur for example multiple messages might be sent Common BPMN 2 0 Elements 2 1 4 Gateways A Gateways allows you to control the flow of a process through a sequence flow The term gateway implies that there is a gating mechanism that either allows or disallows passage through the Gateway Tokens that arrive at the gateway can be merged on input and or split on output If you do not need to control the flow of a process you do not need a gateway Table 5 will describe five types of gateways defined in business process modeling Table 5 Types of Gateways in Business Process Modeling Gateway Type Stereotype Notation Exclusive Gateway Deci ExclusiveGateway DecisionNode sion Event Based Gateway EventBasedGateway ForkNode
Download Pdf Manuals
Related Search
Related Contents
User Manual - Affordable Scales & Balances Chevrolet MODE D`EMPLOI Montréal - Park(ing) Day Montréal Manuel de l`utilisateur User manual - produktinfo.conrad.com Copyright © All rights reserved.
Failed to retrieve file