<bpmndi:BPMNShape bpmnElement="Participant_Participant_3" isHorizontal="true"> <dc:Bounds height="108.0" width="384.0" x="96.0" y="396.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="Conversation_Conversation_2"> <dc:Bounds height="38.0" width="38.0" x="406.0" y="305.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNEdge bpmnElement="ConversationLink_C"> <di:waypoint x="425.0" y="252.0"/>

<di:waypoint x="425.0" y="305.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNEdge>

<bpmndi:BPMNEdge bpmnElement="ConversationLink_D"> <di:waypoint x="425.0" y="343.0"/>

<di:waypoint x="425.0" y="396.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNEdge>

<bpmndi:BPMNShape bpmnElement="TextAnnotation_MessageAnnotation"> <dc:Bounds height="23.0" width="108.0" x="210.0" y="313.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNEdge bpmnElement="MessageFlow_E"> <di:waypoint x="164.0" y="252.0"/>

<di:waypoint x="163.0" y="396.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNEdge>

<bpmndi:BPMNEdge bpmnElement="Association_F"> <di:waypoint x="163.0" y="360.0"/>

<di:waypoint x="181.0" y="360.0"/> <di:waypoint x="181.0" y="324.0"/> <di:waypoint x="210.0" y="324.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNEdge>

</bpmndi:BPMNPlane>

</bpmndi:BPMNDiagram>

12.4.5 Choreography

The following diagram depicts a Choreography consisting of 3 Choreography Activities (2 Choreography Tasks and 1 SubChoreography). This diagram also depicts Participant Bands with and without envelope decorator.

Business Process Model and Notation (BPMN), v2.0.2

421

 

P articipant 1

P articipant 1

P articipant 1

a

C T 1

b

C T 2

c

S C

d

 

S tartE vent

 

 

 

 

P articipant 2

E ndE vent

 

P articipant 2

 

P articipant 2

 

P articipant 3

 

Figure 12.15 – Choreography Example

Table 12.43 – Choreography BPMN DI instance

<bpmndi:BPMNDiagram name="Choreography" resolution="72"> <bpmndi:BPMNPlane bpmnElement="Choreography_Choreography">

<bpmndi:BPMNShape bpmnElement="StartEvent_StartEvent"> <dc:Bounds height="30.0" width="30.0" x="72.0" y="138.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="ChoreographyTask_CT1" id="DI_ChoreographyTask_CT1"> <dc:Bounds height="114.0" width="96.0" x="156.0" y="96.0"/>

<bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="Participant_Participant1" choreographyActivityShape="DI_ChoreographyTask_CT1" isMessageVisible="true" participantBandKind="top_non_initiating">

<dc:Bounds height="20.0" width="96.0" x="156.0" y="96.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="Participant_Participant2" choreographyActivityShape="DI_ChoreographyTask_CT1" isMessageVisible="true" participantBandKind="bottom_initiating">

<dc:Bounds height="20.0" width="96.0" x="156.0" y="190.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="ChoreographyTask_CT2" id="DI_ChoreographyTask_CT2"> <dc:Bounds height="114.0" width="96.0" x="312.0" y="96.0"/>

<bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="Participant_Participant1" choreographyActivityShape="DI_ChoreographyTask_CT2" isMessageVisible="false" participantBandKind="top_non_initiating">

<dc:Bounds height="20.0" width="96.0" x="312.0" y="96.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="Participant_Participant2"

422

Business Process Model and Notation (BPMN), v2.0.2

choreographyActivityShape="DI_ChoreographyTask_CT2" isMessageVisible="true" participantBandKind="bottom_initiating">

<dc:Bounds height="20.0" width="96.0" x="312.0" y="190.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="SubChoreography_SC" isExpanded="false"> <dc:Bounds height="117.0" width="96.0" x="468.0" y="94.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="Participant_Participant1" choreographyActivityShape="DI_SubChoreography_SC" isMessageVisible="false" participantBandKind="top_non_initiating">

<dc:Bounds height="20.0" width="96.0" x="468.0" y="94.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="Participant_Participant3" choreographyActivityShape="DI_SubChoreography_SC" isMessageVisible="false" participantBandKind="bottom_non_initiating">

<dc:Bounds height="20.0" width="96.0" x="468.0" y="191.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="Participant_Participant2" choreographyActivityShape="DI_SubChoreography_SC" isMessageVisible="false" participantBandKind="middle_initiating">

<dc:Bounds height="20.0" width="96.0" x="468.0" y="171.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="EndEvent_EndEvent"> <dc:Bounds height="32.0" width="32.0" x="624.0" y="137.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNEdge bpmnElement="SequenceFlow_a"> <di:waypoint x="102.0" y="153.0"/>

<di:waypoint x="156.0" y="153.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNEdge>

<bpmndi:BPMNEdge bpmnElement="SequenceFlow_b"> <di:waypoint x="252.0" y="153.0"/>

<di:waypoint x="312.0" y="153.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNEdge>

<bpmndi:BPMNEdge bpmnElement="SequenceFlow_c"> <di:waypoint x="408.0" y="153.0"/>

<di:waypoint x="468.0" y="153.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNEdge>

<bpmndi:BPMNEdge bpmnElement="SequenceFlow_d"> <di:waypoint x="564.0" y="153.0"/>

<di:waypoint x="624.0" y="153.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNEdge>

Business Process Model and Notation (BPMN), v2.0.2

423

</bpmndi:BPMNPlane>

</bpmndi:BPMNDiagram>

424

Business Process Model and Notation (BPMN), v2.0.2