<?xml version="1.0" encoding="UTF-8"?> 
<definitions id="Definition"
             targetNamespace="http://www.jboss.org/drools"
             typeLanguage="http://www.java.com/javaTypes"
             expressionLanguage="http://www.mvel.org/2.0"
             xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd"
             xmlns:g="http://www.jboss.org/drools/flow/gpd"
             xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI"
             xmlns:dc="http://www.omg.org/spec/DD/20100524/DC"
             xmlns:di="http://www.omg.org/spec/DD/20100524/DI"
             xmlns:tns="http://www.jboss.org/drools">

  <itemDefinition id="_ticketItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.Ticket" />
  <itemDefinition id="_ticketAckItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.TicketAck" />

  <itemDefinition id="_4-ticketItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.Ticket" />
  <itemDefinition id="_4-ticketAckItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.TicketAck" />

  <itemDefinition id="_5-ticketItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.Ticket" />
  <itemDefinition id="_5-ticketAckItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.TicketAck" />

  <itemDefinition id="_8-ticketItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.Ticket" />
  <itemDefinition id="_8-ticketAckItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.TicketAck" />

  <itemDefinition id="_10-ticketItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.Ticket" />
  <itemDefinition id="_10-ticketAckItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.TicketAck" />

  <itemDefinition id="_12-ticketItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.Ticket" />
  <itemDefinition id="_12-ticketAckItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.TicketAck" />

  <itemDefinition id="_13-ticketItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.Ticket" />
  <itemDefinition id="_13-ticketAckItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.TicketAck" />

  <itemDefinition id="_14-ticketItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.Ticket" />
  <itemDefinition id="_14-ticketAckItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.TicketAck" />

  <itemDefinition id="_16-ticketItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.Ticket" />
  <itemDefinition id="_16-ticketAckItem" structureRef="org.switchyard.quickstarts.demos.helpdesk.TicketAck" />

  <process processType="Private" isExecutable="true" id="HelpDeskService" name="Help Desk Service" tns:packageName="org.switchyard.quickstarts.demos.helpdesk" >

    <extensionElements>
     <tns:import name="java.util.Random" />
    </extensionElements>
    <!-- process variables -->
    <property id="ticket" itemSubjectRef="_ticketItem"/>
    <property id="ticketAck" itemSubjectRef="_ticketAckItem"/>

    <!-- nodes -->
    <startEvent id="_1" name="StartProcess" />
    <task id="_4" name="Open Ticket" tns:taskName="SwitchYard Service Task" >
      <ioSpecification>
        <dataInput id="_4_ticketInput" name="ticket" />
        <dataInput id="_4_ParameterNameInput" name="ParameterName" />
        <dataInput id="_4_ServiceNameInput" name="ServiceName" />
        <dataInput id="_4_OperationNameInput" name="OperationName" />
        <dataInput id="_4_ResultNameInput" name="ResultName" />
        <dataOutput id="_4_ticketAckOutput" name="ticketAck" />
        <inputSet>
          <dataInputRefs>_4_ticketInput</dataInputRefs>
          <dataInputRefs>_4_ParameterNameInput</dataInputRefs>
          <dataInputRefs>_4_ServiceNameInput</dataInputRefs>
          <dataInputRefs>_4_OperationNameInput</dataInputRefs>
          <dataInputRefs>_4_ResultNameInput</dataInputRefs>
        </inputSet>
        <outputSet>
          <dataOutputRefs>_4_ticketAckOutput</dataOutputRefs>
        </outputSet>
      </ioSpecification>
      <dataInputAssociation>
        <sourceRef>ticket</sourceRef>
        <targetRef>_4_ticketInput</targetRef>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_4_ParameterNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">ticket</from>
          <to xsi:type="tFormalExpression">_4_ParameterNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_4_ServiceNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">TicketManagementService</from>
          <to xsi:type="tFormalExpression">_4_ServiceNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_4_OperationNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">openTicket</from>
          <to xsi:type="tFormalExpression">_4_OperationNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_4_ResultNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">ticketAck</from>
          <to xsi:type="tFormalExpression">_4_ResultNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataOutputAssociation>
        <sourceRef>_4_ticketAckOutput</sourceRef>
        <targetRef>ticketAck</targetRef>
      </dataOutputAssociation>
    </task>
    <task id="_5" name="Reject Ticket" tns:taskName="SwitchYard Service Task" >
      <ioSpecification>
        <dataInput id="_5_ticketInput" name="ticket" />
        <dataInput id="_5_ParameterNameInput" name="ParameterName" />
        <dataInput id="_5_ServiceNameInput" name="ServiceName" />
        <dataInput id="_5_OperationNameInput" name="OperationName" />
        <inputSet>
          <dataInputRefs>_5_ticketInput</dataInputRefs>
          <dataInputRefs>_5_ParameterNameInput</dataInputRefs>
          <dataInputRefs>_5_ServiceNameInput</dataInputRefs>
          <dataInputRefs>_5_OperationNameInput</dataInputRefs>
        </inputSet>
        <outputSet>
        </outputSet>
      </ioSpecification>
      <dataInputAssociation>
        <sourceRef>ticket</sourceRef>
        <targetRef>_5_ticketInput</targetRef>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_5_ParameterNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">ticket</from>
          <to xsi:type="tFormalExpression">_5_ParameterNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_5_ServiceNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">TicketManagementService</from>
          <to xsi:type="tFormalExpression">_5_ServiceNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_5_OperationNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">rejectTicket</from>
          <to xsi:type="tFormalExpression">_5_OperationNameInput</to>
        </assignment>
      </dataInputAssociation>
    </task>
    <endEvent id="_6" name="End" >
        <terminateEventDefinition/>
    </endEvent>
    <exclusiveGateway id="_7" name="Gateway" gatewayDirection="Converging" />
    <userTask id="_8" name="Provide Details" >
      <ioSpecification>
        <dataInput id="_8_ticketInput" name="ticket" />
        <dataInput id="_8_SkippableInput" name="Skippable" />
        <dataInput id="_8_TaskNameInput" name="TaskName" />
        <dataInput id="_8_GroupIdInput" name="GroupId" />
        <dataOutput id="_8_ticketOutput" name="ticket" />
        <inputSet>
          <dataInputRefs>_8_ticketInput</dataInputRefs>
          <dataInputRefs>_8_SkippableInput</dataInputRefs>
          <dataInputRefs>_8_TaskNameInput</dataInputRefs>
          <dataInputRefs>_8_GroupIdInput</dataInputRefs>
        </inputSet>
        <outputSet>
          <dataOutputRefs>_8_ticketOutput</dataOutputRefs>
        </outputSet>
      </ioSpecification>
      <dataInputAssociation>
        <sourceRef>ticket</sourceRef>
        <targetRef>_8_ticketInput</targetRef>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_8_SkippableInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">false</from>
          <to xsi:type="tFormalExpression">_8_SkippableInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_8_TaskNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">ProvideDetails</from>
          <to xsi:type="tFormalExpression">_8_TaskNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_8_GroupIdInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">users</from>
          <to xsi:type="tFormalExpression">_8_GroupIdInput</to>
        </assignment>
      </dataInputAssociation>
      <dataOutputAssociation>
        <sourceRef>_8_ticketOutput</sourceRef>
        <targetRef>ticket</targetRef>
      </dataOutputAssociation>
      <potentialOwner>
        <resourceAssignmentExpression>
          <formalExpression></formalExpression>
        </resourceAssignmentExpression>
      </potentialOwner>
    </userTask>
    <userTask id="_10" name="Review Ticket" >
      <extensionElements>
        <tns:onExit-script>
          <script></script>
        </tns:onExit-script>
      </extensionElements>
      <ioSpecification>
        <dataInput id="_10_ticketInput" name="ticket" />
        <dataInput id="_10_SkippableInput" name="Skippable" />
        <dataInput id="_10_TaskNameInput" name="TaskName" />
        <dataInput id="_10_GroupIdInput" name="GroupId" />
        <dataOutput id="_10_ticketOutput" name="ticket" />
        <inputSet>
          <dataInputRefs>_10_ticketInput</dataInputRefs>
          <dataInputRefs>_10_SkippableInput</dataInputRefs>
          <dataInputRefs>_10_TaskNameInput</dataInputRefs>
          <dataInputRefs>_10_GroupIdInput</dataInputRefs>
        </inputSet>
        <outputSet>
          <dataOutputRefs>_10_ticketOutput</dataOutputRefs>
        </outputSet>
      </ioSpecification>
      <dataInputAssociation>
        <sourceRef>ticket</sourceRef>
        <targetRef>_10_ticketInput</targetRef>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_10_SkippableInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">false</from>
          <to xsi:type="tFormalExpression">_10_SkippableInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_10_TaskNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">ReviewTicket</from>
          <to xsi:type="tFormalExpression">_10_TaskNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_10_GroupIdInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">developers</from>
          <to xsi:type="tFormalExpression">_10_GroupIdInput</to>
        </assignment>
      </dataInputAssociation>
      <dataOutputAssociation>
        <sourceRef>_10_ticketOutput</sourceRef>
        <targetRef>ticket</targetRef>
      </dataOutputAssociation>
      <potentialOwner>
        <resourceAssignmentExpression>
          <formalExpression></formalExpression>
        </resourceAssignmentExpression>
      </potentialOwner>
    </userTask>
    <exclusiveGateway id="_11" name="Gateway" gatewayDirection="Diverging" />
    <task id="_12" name="Approve Ticket" tns:taskName="SwitchYard Service Task" >
      <ioSpecification>
        <dataInput id="_12_ticketInput" name="ticket" />
        <dataInput id="_12_ParameterNameInput" name="ParameterName" />
        <dataInput id="_12_ServiceNameInput" name="ServiceName" />
        <dataInput id="_12_OperationNameInput" name="OperationName" />
        <inputSet>
          <dataInputRefs>_12_ticketInput</dataInputRefs>
          <dataInputRefs>_12_ParameterNameInput</dataInputRefs>
          <dataInputRefs>_12_ServiceNameInput</dataInputRefs>
          <dataInputRefs>_12_OperationNameInput</dataInputRefs>
        </inputSet>
        <outputSet>
        </outputSet>
      </ioSpecification>
      <dataInputAssociation>
        <sourceRef>ticket</sourceRef>
        <targetRef>_12_ticketInput</targetRef>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_12_ParameterNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">ticket</from>
          <to xsi:type="tFormalExpression">_12_ParameterNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_12_ServiceNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">TicketManagementService</from>
          <to xsi:type="tFormalExpression">_12_ServiceNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_12_OperationNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">approveTicket</from>
          <to xsi:type="tFormalExpression">_12_OperationNameInput</to>
        </assignment>
      </dataInputAssociation>
    </task>
    <userTask id="_13" name="Resolve Ticket" >
      <ioSpecification>
        <dataInput id="_13_ticketInput" name="ticket" />
        <dataInput id="_13_SkippableInput" name="Skippable" />
        <dataInput id="_13_TaskNameInput" name="TaskName" />
        <dataInput id="_13_GroupIdInput" name="GroupId" />
        <dataOutput id="_13_ticketOutput" name="ticket" />
        <inputSet>
          <dataInputRefs>_13_ticketInput</dataInputRefs>
          <dataInputRefs>_13_SkippableInput</dataInputRefs>
          <dataInputRefs>_13_TaskNameInput</dataInputRefs>
          <dataInputRefs>_13_GroupIdInput</dataInputRefs>
        </inputSet>
        <outputSet>
          <dataOutputRefs>_13_ticketOutput</dataOutputRefs>
        </outputSet>
      </ioSpecification>
      <dataInputAssociation>
        <sourceRef>ticket</sourceRef>
        <targetRef>_13_ticketInput</targetRef>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_13_SkippableInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">false</from>
          <to xsi:type="tFormalExpression">_13_SkippableInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_13_TaskNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">ResolveTicket</from>
          <to xsi:type="tFormalExpression">_13_TaskNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_13_GroupIdInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">developers</from>
          <to xsi:type="tFormalExpression">_13_GroupIdInput</to>
        </assignment>
      </dataInputAssociation>
      <dataOutputAssociation>
        <sourceRef>_13_ticketOutput</sourceRef>
        <targetRef>ticket</targetRef>
      </dataOutputAssociation>
      <potentialOwner>
        <resourceAssignmentExpression>
          <formalExpression></formalExpression>
        </resourceAssignmentExpression>
      </potentialOwner>
    </userTask>
    <task id="_14" name="Close Ticket" tns:taskName="SwitchYard Service Task" >
      <ioSpecification>
        <dataInput id="_14_ticketInput" name="ticket" />
        <dataInput id="_14_ParameterNameInput" name="ParameterName" />
        <dataInput id="_14_ServiceNameInput" name="ServiceName" />
        <dataInput id="_14_OperationNameInput" name="OperationName" />
        <inputSet>
          <dataInputRefs>_14_ticketInput</dataInputRefs>
          <dataInputRefs>_14_ParameterNameInput</dataInputRefs>
          <dataInputRefs>_14_ServiceNameInput</dataInputRefs>
          <dataInputRefs>_14_OperationNameInput</dataInputRefs>
        </inputSet>
        <outputSet>
        </outputSet>
      </ioSpecification>
      <dataInputAssociation>
        <sourceRef>ticket</sourceRef>
        <targetRef>_14_ticketInput</targetRef>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_14_ParameterNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">ticket</from>
          <to xsi:type="tFormalExpression">_14_ParameterNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_14_ServiceNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">TicketManagementService</from>
          <to xsi:type="tFormalExpression">_14_ServiceNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_14_OperationNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">closeTicket</from>
          <to xsi:type="tFormalExpression">_14_OperationNameInput</to>
        </assignment>
      </dataInputAssociation>
    </task>
    <endEvent id="_15" name="End" >
        <terminateEventDefinition/>
    </endEvent>
    <task id="_16" name="Request Details" tns:taskName="SwitchYard Service Task" >
      <ioSpecification>
        <dataInput id="_16_ticketInput" name="ticket" />
        <dataInput id="_16_ParameterNameInput" name="ParameterName" />
        <dataInput id="_16_ServiceNameInput" name="ServiceName" />
        <dataInput id="_16_OperationNameInput" name="OperationName" />
        <inputSet>
          <dataInputRefs>_16_ticketInput</dataInputRefs>
          <dataInputRefs>_16_ParameterNameInput</dataInputRefs>
          <dataInputRefs>_16_ServiceNameInput</dataInputRefs>
          <dataInputRefs>_16_OperationNameInput</dataInputRefs>
        </inputSet>
        <outputSet>
        </outputSet>
      </ioSpecification>
      <dataInputAssociation>
        <sourceRef>ticket</sourceRef>
        <targetRef>_16_ticketInput</targetRef>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_16_ParameterNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">ticket</from>
          <to xsi:type="tFormalExpression">_16_ParameterNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_16_ServiceNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">TicketManagementService</from>
          <to xsi:type="tFormalExpression">_16_ServiceNameInput</to>
        </assignment>
      </dataInputAssociation>
      <dataInputAssociation>
        <targetRef>_16_OperationNameInput</targetRef>
        <assignment>
          <from xsi:type="tFormalExpression">requestDetails</from>
          <to xsi:type="tFormalExpression">_16_OperationNameInput</to>
        </assignment>
      </dataInputAssociation>
    </task>

    <!-- connections -->
    <sequenceFlow id="_1-_4" sourceRef="_1" targetRef="_4" />
    <sequenceFlow id="_11-_5" sourceRef="_11" targetRef="_5" name="reject" tns:priority="1" >
      <conditionExpression xsi:type="tFormalExpression" language="http://www.java.com/java" >return ticket.getStatus().equals("rejected");</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="_5-_6" sourceRef="_5" targetRef="_6" />
    <sequenceFlow id="_4-_7" sourceRef="_4" targetRef="_7" />
    <sequenceFlow id="_8-_7" sourceRef="_8" targetRef="_7" />
    <sequenceFlow id="_16-_8" sourceRef="_16" targetRef="_8" />
    <sequenceFlow id="_7-_10" sourceRef="_7" targetRef="_10" />
    <sequenceFlow id="_10-_11" sourceRef="_10" targetRef="_11" />
    <sequenceFlow id="_11-_12" sourceRef="_11" targetRef="_12" name="approve" tns:priority="1" >
      <conditionExpression xsi:type="tFormalExpression" language="http://www.java.com/java" >return ticket.getStatus().equals("approved");</conditionExpression>
    </sequenceFlow>
    <sequenceFlow id="_12-_13" sourceRef="_12" targetRef="_13" />
    <sequenceFlow id="_13-_14" sourceRef="_13" targetRef="_14" />
    <sequenceFlow id="_14-_15" sourceRef="_14" targetRef="_15" />
    <sequenceFlow id="_11-_16" sourceRef="_11" targetRef="_16" name="request" tns:priority="1" >
      <conditionExpression xsi:type="tFormalExpression" language="http://www.java.com/java" >return ticket.getStatus().equals("requested");</conditionExpression>
    </sequenceFlow>

  </process>

  <bpmndi:BPMNDiagram>
    <bpmndi:BPMNPlane bpmnElement="HelpDeskService" >
      <bpmndi:BPMNShape bpmnElement="_1" >
        <dc:Bounds x="16" y="16" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_4" >
        <dc:Bounds x="88" y="17" width="123" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_5" >
        <dc:Bounds x="202" y="331" width="129" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_6" >
        <dc:Bounds x="243" y="403" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_7" >
        <dc:Bounds x="125" y="88" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_8" >
        <dc:Bounds x="279" y="89" width="119" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_10" >
        <dc:Bounds x="90" y="162" width="119" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_11" >
        <dc:Bounds x="125" y="241" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_12" >
        <dc:Bounds x="31" y="331" width="132" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_13" >
        <dc:Bounds x="30" y="406" width="136" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_14" >
        <dc:Bounds x="36" y="482" width="126" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_15" >
        <dc:Bounds x="76" y="552" width="48" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape bpmnElement="_16" >
        <dc:Bounds x="266" y="242" width="145" height="48" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge bpmnElement="_1-_4" >
        <di:waypoint x="40" y="40" />
        <di:waypoint x="149" y="41" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_11-_5" >
        <di:waypoint x="149" y="265" />
        <di:waypoint x="266" y="355" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_5-_6" >
        <di:waypoint x="266" y="355" />
        <di:waypoint x="267" y="427" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_4-_7" >
        <di:waypoint x="149" y="41" />
        <di:waypoint x="149" y="112" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_8-_7" >
        <di:waypoint x="338" y="113" />
        <di:waypoint x="149" y="112" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_16-_8" >
        <di:waypoint x="338" y="266" />
        <di:waypoint x="338" y="113" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_7-_10" >
        <di:waypoint x="149" y="112" />
        <di:waypoint x="149" y="186" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_10-_11" >
        <di:waypoint x="149" y="186" />
        <di:waypoint x="149" y="265" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_11-_12" >
        <di:waypoint x="149" y="265" />
        <di:waypoint x="97" y="355" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_12-_13" >
        <di:waypoint x="97" y="355" />
        <di:waypoint x="98" y="430" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_13-_14" >
        <di:waypoint x="98" y="430" />
        <di:waypoint x="99" y="506" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_14-_15" >
        <di:waypoint x="99" y="506" />
        <di:waypoint x="100" y="576" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge bpmnElement="_11-_16" >
        <di:waypoint x="149" y="265" />
        <di:waypoint x="338" y="266" />
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>

</definitions>
