<BPMNShape bpmnElement="EndEvent_SubProcessEnd"> <dc:Bounds height="32.0" width="32.0" x="448.0" y="218.0"/> <BPMNLabel/>

</BPMNShape>

<BPMNEdge bpmnElement="SequenceFlow_b"> <di:waypoint x="238.0" y="234.0"/> <di:waypoint x="304.0" y="234.0"/> <BPMNLabel/>

</BPMNEdge>

<BPMNEdge bpmnElement="SequenceFlow_c"> <di:waypoint x="387.0" y="234.0"/> <di:waypoint x="448.0" y="234.0"/> <BPMNLabel/>

</BPMNEdge>

</BPMNPlane>

</BPMNDiagram>

12.4.2 Multiple Lanes and Nested Lanes

In this next example, a diagram depicting a BPMN Process is composed of a LaneSet that contains 2 lanes is presented. The second lane contains 2 sub lanes (See Figure 12.12).

1

Manual

 

 

Lane

a

 

Task

 

 

 

 

 

2-1

Sub-

 

 

Lane

 

 

Process

 

2

 

 

 

 

b

Lane

 

 

2-2

 

 

 

 

User Task

 

Lane

Document

 

c

 

 

 

Figure 12.12 – Nested Lanes Example

Table 12.40 – Multiple Lanes and Nested Lanes BPMN DI instance

<BPMNDiagram name="Lanes and Nested Lanes" resolution="72"> <BPMNPlane bpmnElement="Process_LanesAndNestedLanes">

<BPMNShape bpmnElement="Lane_Lane1" isHorizontal="true">

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

417

<dc:Bounds height="144.0" width="498.0" x="87.0" y="144.0"/> <BPMNLabel/>

</BPMNShape>

<BPMNShape bpmnElement="Lane_Lane2" isHorizontal="true"> <dc:Bounds height="162.0" width="498.0" x="87.0" y="288.0"/> <BPMNLabel/>

</BPMNShape>

<BPMNShape bpmnElement="Lane_Lane2_2" isHorizontal="true"> <dc:Bounds height="78.0" width="474.0" x="111.0" y="372.0"/> <BPMNLabel/>

</BPMNShape>

<BPMNShape bpmnElement="Lane_Lane2_1" isHorizontal="true"> <dc:Bounds height="84.0" width="474.0" x="111.0" y="288.0"/> <BPMNLabel/>

</BPMNShape>

12.4.3 Vertical Collaboration

In this example, a Collaboration between two Participants (Pool A and Pool B) is depicted. The first Participant is depicted with a white box Pool and the second Participant is depicted with a black box Pool. This diagram also depicts message flows that are decorated with message envelopes (See Figure 12.13).

Pool A

Pool B

Lane 1

Lane 2

 

 

Sending

a

Receiving

 

b

Figure 12.13 – Vertical Collaboration Example

Table 12.41 – Vertical Collaboration BPMN DI instance

<BPMNDiagram name="Vertical Collaboration" resolution="72"> <BPMNPlane bpmnElement="Collaboration_Vertical_Collaboration">

<BPMNShape bpmnElement="Participant_Pool_A" isHorizontal="false"> <dc:Bounds height="258.0" width="336.0" x="96.0" y="276.0"/>

<BPMNLabel/>

</BPMNShape>

<BPMNShape bpmnElement="Lane_Lane1" isHorizontal="false"> <dc:Bounds height="228.0" width="168.0" x="96.0" y="306.0"/>

<BPMNLabel/>

418

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

</BPMNShape>

<BPMNShape bpmnElement="Lane_Lane2" isHorizontal="false"> <dc:Bounds height="228.0" width="168.0" x="264.0" y="306.0"/>

<BPMNLabel/>

</BPMNShape>

<BPMNShape bpmnElement="Participant_Pool_B" isHorizontal="false"> <dc:Bounds height="258.0" width="336.0" x="624.0" y="279.0"/>

<BPMNLabel/>

</BPMNShape>

<BPMNShape bpmnElement="TaskReceiving_Receiving"> <dc:Bounds height="68.0" width="83.0" x="145.0" y="436.0"/>

<BPMNLabel/>

</BPMNShape>

<BPMNShape bpmnElement="TaskSending_Sending"> <dc:Bounds height="68.0" width="83.0" x="282.0" y="338.0"/>

<BPMNLabel/>

</BPMNShape>

<BPMNEdge bpmnElement="MessageFlow_a" messageVisibleKind="initiating"> <di:waypoint x="366.0" y="372.0"/>

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

</BPMNEdge>

<BPMNEdge bpmnElement="MessageFlow_b" messageVisibleKind="non_initiating"> <di:waypoint x="624.0" y="470.0"/>

<di:waypoint x="228.0" y="470.0"/> <BPMNLabel/>

</BPMNEdge>

</BPMNPlane>

</BPMNDiagram>

12.4.4 Conversation

The following diagram depicts a Collaboration between 3 Participants (Participants 1, 2, and 3) including two Conversations. The diagram also has an annotation connected to a message flow (see Figure 12.14).

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

419

Participant 1

 

Participant 2

 

 

a

b

 

 

Conversation 1

 

 

 

c

e

 

Message Annotation

 

f

 

Conversation 2

 

 

d

Participant 3

Figure 12.14 – Conversation Example

Table 12.42 – Conversation BPMN DI instance

<bpmndi:BPMNDiagram name="Conversation " resolution="72"> <bpmndi:BPMNPlane bpmnElement="Collaboration_Conversation">

<bpmndi:BPMNShape bpmnElement="Participant_Participant_1" isHorizontal="false"> <dc:Bounds height="144.0" width="132.0" x="97.0" y="108.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="Participant_Participant_2" isHorizontal="false"> <dc:Bounds height="144.0" width="120.0" x="360.0" y="108.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNShape bpmnElement="Conversation_Conversation_1"> <dc:Bounds height="38.0" width="38.0" x="274.0" y="168.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNShape>

<bpmndi:BPMNEdge bpmnElement="ConversationLink_A"> <di:waypoint x="229.0" y="187.0"/>

<di:waypoint x="274.0" y="187.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNEdge>

<bpmndi:BPMNEdge bpmnElement="ConversationLink_B"> <di:waypoint x="312.0" y="187.0"/>

<di:waypoint x="360.0" y="187.0"/> <bpmndi:BPMNLabel/>

</bpmndi:BPMNEdge>

420

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