<?xml version="1.0" encoding="UTF-8"?>
<bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn">
  <bpmn:collaboration id="Collaboration">
    <bpmn:textAnnotation id="TextAnnotation">
      <bpmn:text>Boundary Events are awesome!</bpmn:text>
    </bpmn:textAnnotation>
    <bpmn:participant id="Participant" processRef="Process" />
    <bpmn:participant id="OtherParticipant" processRef="OtherProcess" />
  </bpmn:collaboration>
  <bpmn:process id="Process" isExecutable="false">
    <bpmn:subProcess id="SubProcess">
      <bpmn:task id="Task_nested" />
      <bpmn:boundaryEvent id="BoundaryEvent_nested" attachedToRef="Task_nested" />
      <bpmn:endEvent id="EndEvent_nested" />
    </bpmn:subProcess>
    <bpmn:boundaryEvent id="BoundaryEvent_on_SubProcess" attachedToRef="SubProcess" />
    <bpmn:task id="Task" />
    <bpmn:boundaryEvent id="BoundaryEvent_on_Task" attachedToRef="Task" />
    <bpmn:startEvent id="StartEvent_None" />
    <bpmn:exclusiveGateway id="ExclusiveGateway" />
  </bpmn:process>
  <bpmn:process id="OtherProcess">
    <bpmn:task id="Task_in_OtherProcess" name="3" />
    <bpmn:boundaryEvent id="BoundaryEvent_in_OtherProcess" name="4" attachedToRef="Task_in_OtherProcess" />
  </bpmn:process>
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Collaboration">
      <bpmndi:BPMNShape id="Participant_di" bpmnElement="Participant">
        <dc:Bounds x="111" y="31" width="600" height="275" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="OtherParticipant_di" bpmnElement="OtherParticipant">
        <dc:Bounds x="382" y="394" width="329" height="182" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_in_OtherProcess_di" bpmnElement="Task_in_OtherProcess">
        <dc:Bounds x="450" y="426" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BoundaryEvent_in_OtherProcess_di" bpmnElement="BoundaryEvent_in_OtherProcess">
        <dc:Bounds x="495" y="488" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="468" y="524" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="SubProcess_di" bpmnElement="SubProcess" isExpanded="true">
        <dc:Bounds x="196" y="67" width="243" height="155" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BoundaryEvent_di" bpmnElement="BoundaryEvent_on_SubProcess">
        <dc:Bounds x="237" y="204" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="210" y="240" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_nested_di" bpmnElement="Task_nested">
        <dc:Bounds x="295" y="88" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BoundaryEvent_nested_di" bpmnElement="BoundaryEvent_nested">
        <dc:Bounds x="340" y="150" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="313" y="186" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_di" bpmnElement="EndEvent_nested">
        <dc:Bounds x="229" y="110" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="202" y="146" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_di" bpmnElement="ExclusiveGateway" isMarkerVisible="true">
        <dc:Bounds x="596" y="232" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="576" y="282" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="TextAnnotation_di" bpmnElement="TextAnnotation">
        <dc:Bounds x="804" y="101" width="143" height="83" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Task_di" bpmnElement="Task">
        <dc:Bounds x="557" y="95" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BoundaryEvent_on_Task_di" bpmnElement="BoundaryEvent_on_Task">
        <dc:Bounds x="603" y="157" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="576" y="193" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_None_di" bpmnElement="StartEvent_None">
        <dc:Bounds x="501" y="239" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="474" y="275" width="90" height="20" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>
