<?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:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1k6npmy" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.4.0">
  <bpmn:process id="ServiceLevelUpgrade" name="ServiceLevelUpgrade" isExecutable="true">
    <bpmn:startEvent id="Event_02mc8tr">
      <bpmn:outgoing>Flow_0nrz340</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:serviceTask id="Activity_18vue7u" name="Service Upgrade Dispatcher" camunda:delegateExpression="${ServiceLevelRequestDispatcher}">
      <bpmn:incoming>Flow_0nrz340</bpmn:incoming>
      <bpmn:outgoing>Flow_1b392qs</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:endEvent id="Event_12983th">
      <bpmn:incoming>Flow_10jgbxm</bpmn:incoming>
      <bpmn:terminateEventDefinition id="TerminateEventDefinition_1pnutu7" />
    </bpmn:endEvent>
    <bpmn:exclusiveGateway id="Gateway_02fectw">
      <bpmn:incoming>Flow_1y3cptr</bpmn:incoming>
      <bpmn:outgoing>Flow_0y1ebox</bpmn:outgoing>
      <bpmn:outgoing>Flow_0mbp7mv</bpmn:outgoing>
      <bpmn:outgoing>Flow_19tmp99</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:endEvent id="Event_0ldlupa">
      <bpmn:incoming>Flow_0y1ebox</bpmn:incoming>
      <bpmn:errorEventDefinition id="ErrorEventDefinition_1dih7c9" errorRef="Error_01a8p43" />
    </bpmn:endEvent>
    <bpmn:exclusiveGateway id="Gateway_1nr51kr">
      <bpmn:incoming>Flow_0zjsp5x</bpmn:incoming>
      <bpmn:outgoing>Flow_0mxq0qe</bpmn:outgoing>
      <bpmn:outgoing>Flow_05x2cqc</bpmn:outgoing>
      <bpmn:outgoing>Flow_02elm5b</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:endEvent id="Event_16k9r1c">
      <bpmn:incoming>Flow_0mxq0qe</bpmn:incoming>
      <bpmn:errorEventDefinition id="ErrorEventDefinition_042otuj" errorRef="Error_0e5owqi" />
    </bpmn:endEvent>
    <bpmn:exclusiveGateway id="Gateway_1vq11i7" default="Flow_1tcnzdx">
      <bpmn:incoming>Flow_1ru18s3</bpmn:incoming>
      <bpmn:outgoing>Flow_1tcnzdx</bpmn:outgoing>
      <bpmn:outgoing>Flow_0l67uzl</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:endEvent id="Event_03tpudy">
      <bpmn:incoming>Flow_1tcnzdx</bpmn:incoming>
      <bpmn:errorEventDefinition id="ErrorEventDefinition_16r0jc3" errorRef="Error_04y00c4" />
    </bpmn:endEvent>
    <bpmn:serviceTask id="Activity_0snmatn" name="Service Level Upgrade" camunda:delegateExpression="${ServiceLevelUpgrade}">
      <bpmn:incoming>Flow_02elm5b</bpmn:incoming>
      <bpmn:outgoing>Flow_01gwzx9</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="Activity_0ft7fa2" name="Service Level Postcheck" camunda:delegateExpression="${ServiceLevelPostcheck}">
      <bpmn:incoming>Flow_05ohtnj</bpmn:incoming>
      <bpmn:outgoing>Flow_1ru18s3</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="Activity_09bqns0" name="Service Level Preparation" camunda:delegateExpression="${ServiceLevelPreparation}">
      <bpmn:incoming>Flow_1b392qs</bpmn:incoming>
      <bpmn:outgoing>Flow_1ptk2a3</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:scriptTask id="Activity_1n4rk7m" name="Prepare Completion" scriptFormat="groovy">
      <bpmn:incoming>Flow_05aa7gj</bpmn:incoming>
      <bpmn:outgoing>Flow_0frhsd0</bpmn:outgoing>
      <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
def serviceLevelUpgrade = new ServiceLevelUpgrade()
serviceLevelUpgrade.prepareCompletion(execution)</bpmn:script>
    </bpmn:scriptTask>
    <bpmn:callActivity id="Activity_1lz38px" name="Complete Process" calledElement="CompleteMsoProcess">
      <bpmn:extensionElements>
        <camunda:in source="requestId" target="CMSO_request_id" />
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_0frhsd0</bpmn:incoming>
      <bpmn:outgoing>Flow_10jgbxm</bpmn:outgoing>
    </bpmn:callActivity>
    <bpmn:subProcess id="Activity_0ui6tp1" name="Subprocess for FalloutHandler" triggeredByEvent="true">
      <bpmn:startEvent id="Event_08f3m9h">
        <bpmn:outgoing>Flow_0iayg6u</bpmn:outgoing>
        <bpmn:errorEventDefinition id="ErrorEventDefinition_1d67w55" />
      </bpmn:startEvent>
      <bpmn:scriptTask id="Activity_1k2f3ha" name="Prepare FalloutHandler" scriptFormat="groovy">
        <bpmn:incoming>Flow_0iayg6u</bpmn:incoming>
        <bpmn:outgoing>Flow_0lb7zv5</bpmn:outgoing>
        <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
def pnfSwUpgrade = new GenericPnfSoftwareUpgrade()
pnfSwUpgrade.prepareFalloutHandler(execution)</bpmn:script>
      </bpmn:scriptTask>
      <bpmn:callActivity id="Activity_0ai3z2q" name="Call FalloutHandler" calledElement="FalloutHandler">
        <bpmn:incoming>Flow_0lb7zv5</bpmn:incoming>
        <bpmn:outgoing>Flow_1peoyur</bpmn:outgoing>
      </bpmn:callActivity>
      <bpmn:endEvent id="Event_0ngb9wx">
        <bpmn:incoming>Flow_1peoyur</bpmn:incoming>
        <bpmn:terminateEventDefinition id="TerminateEventDefinition_1e5scwm" />
      </bpmn:endEvent>
      <bpmn:sequenceFlow id="Flow_1peoyur" sourceRef="Activity_0ai3z2q" targetRef="Event_0ngb9wx" />
      <bpmn:sequenceFlow id="Flow_0lb7zv5" sourceRef="Activity_1k2f3ha" targetRef="Activity_0ai3z2q" />
      <bpmn:sequenceFlow id="Flow_0iayg6u" sourceRef="Event_08f3m9h" targetRef="Activity_1k2f3ha" />
    </bpmn:subProcess>
    <bpmn:sequenceFlow id="Flow_0nrz340" sourceRef="Event_02mc8tr" targetRef="Activity_18vue7u" />
    <bpmn:sequenceFlow id="Flow_1b392qs" sourceRef="Activity_18vue7u" targetRef="Activity_09bqns0" />
    <bpmn:sequenceFlow id="Flow_10jgbxm" sourceRef="Activity_1lz38px" targetRef="Event_12983th" />
    <bpmn:sequenceFlow id="Flow_01gwzx9" sourceRef="Activity_0snmatn" targetRef="Activity_0e6w886" />
    <bpmn:sequenceFlow id="Flow_0y1ebox" name="Failure" sourceRef="Gateway_02fectw" targetRef="Event_0ldlupa">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${!execution.getVariable("ControllerStatus").equals("Success")}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="Flow_0mxq0qe" name="Failure" sourceRef="Gateway_1nr51kr" targetRef="Event_16k9r1c">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${!execution.getVariable("ControllerStatus").equals("Success")}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="Flow_1ru18s3" sourceRef="Activity_0ft7fa2" targetRef="Gateway_1vq11i7" />
    <bpmn:sequenceFlow id="Flow_1tcnzdx" name="Failure" sourceRef="Gateway_1vq11i7" targetRef="Event_03tpudy" />
    <bpmn:sequenceFlow id="Flow_0l67uzl" name="Success" sourceRef="Gateway_1vq11i7" targetRef="Activity_0o2rrag">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("ControllerStatus").equals("Success")}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="Flow_0frhsd0" sourceRef="Activity_1n4rk7m" targetRef="Activity_1lz38px" />
    <bpmn:sequenceFlow id="Flow_0mbp7mv" name="Success" sourceRef="Gateway_02fectw" targetRef="Activity_1hp67qz">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${execution.getVariable("pnfCounter") &gt;= execution.getVariable("pnfSize")}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:callActivity id="Activity_0n17xou" name="BPMN to Execute" calledElement="${healthCheckWorkflow}">
      <bpmn:extensionElements>
        <camunda:in source="bpmnRequest" target="bpmnRequest" />
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:in source="msoRequestId" target="msoRequestId" />
        <camunda:out source="WorkflowExceptionErrorMessage" target="WorkflowExceptionErrorMessage" />
        <camunda:out source="ControllerStatus" target="ControllerStatus" />
        <camunda:in source="isRollback" target="isRollback" />
        <camunda:in source="pnfName" target="pnfName" />
        <camunda:in source="requestId" target="requestId" />
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_0rpnl02</bpmn:incoming>
      <bpmn:outgoing>Flow_0zjsp5x</bpmn:outgoing>
    </bpmn:callActivity>
    <bpmn:callActivity id="Activity_1q4o9fx" name="BPMN to Execute" calledElement="${softwareUpgradeWorkflow}">
      <bpmn:extensionElements>
        <camunda:in source="bpmnRequest" target="bpmnRequest" />
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:in source="msoRequestId" target="msoRequestId" />
        <camunda:out source="WorkflowExceptionErrorMessage" target="WorkflowExceptionErrorMessage" />
        <camunda:out source="ControllerStatus" target="ControllerStatus" />
        <camunda:in source="isRollback" target="isRollback" />
        <camunda:in source="pnfName" target="pnfName" />
        <camunda:in source="requestId" target="requestId" />
      </bpmn:extensionElements>
      <bpmn:incoming>Flow_0g6gkgx</bpmn:incoming>
      <bpmn:outgoing>Flow_1y3cptr</bpmn:outgoing>
    </bpmn:callActivity>
    <bpmn:sequenceFlow id="Flow_1y3cptr" sourceRef="Activity_1q4o9fx" targetRef="Gateway_02fectw" />
    <bpmn:serviceTask id="Activity_1hp67qz" name="Update ServiceInstance To AAI" camunda:delegateExpression="${UpdateServiceInstanceInAai}">
      <bpmn:incoming>Flow_0mbp7mv</bpmn:incoming>
      <bpmn:outgoing>Flow_0dyc3kv</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="Flow_0dyc3kv" sourceRef="Activity_1hp67qz" targetRef="Gateway_18ch73t" />
    <bpmn:exclusiveGateway id="Gateway_18ch73t" default="Flow_0ny61qm">
      <bpmn:incoming>Flow_0dyc3kv</bpmn:incoming>
      <bpmn:outgoing>Flow_05ohtnj</bpmn:outgoing>
      <bpmn:outgoing>Flow_0ny61qm</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="Flow_05ohtnj" name="Success&#10;" sourceRef="Gateway_18ch73t" targetRef="Activity_0ft7fa2">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("ControllerStatus").equals("Success")}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:endEvent id="Event_1fhov6x">
      <bpmn:incoming>Flow_0ny61qm</bpmn:incoming>
      <bpmn:errorEventDefinition id="ErrorEventDefinition_0od3xnw" errorRef="Error_01a8p43" />
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="Flow_0ny61qm" name="Failure&#10;" sourceRef="Gateway_18ch73t" targetRef="Event_1fhov6x" />
    <bpmn:sequenceFlow id="Flow_1ptk2a3" sourceRef="Activity_09bqns0" targetRef="Activity_02vp5np" />
    <bpmn:sequenceFlow id="Flow_0rpnl02" sourceRef="Activity_02vp5np" targetRef="Activity_0n17xou" />
    <bpmn:sequenceFlow id="Flow_0g6gkgx" sourceRef="Activity_0e6w886" targetRef="Activity_1q4o9fx" />
    <bpmn:sequenceFlow id="Flow_0zjsp5x" sourceRef="Activity_0n17xou" targetRef="Gateway_1nr51kr" />
    <bpmn:sequenceFlow id="Flow_19tmp99" name="pick next pnf" sourceRef="Gateway_02fectw" targetRef="Activity_0e6w886">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${execution.getVariable("pnfCounter") &lt; execution.getVariable("pnfSize")}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="Flow_05x2cqc" name="pick next pnf" sourceRef="Gateway_1nr51kr" targetRef="Activity_02vp5np">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${execution.getVariable("pnfCounter") &lt; execution.getVariable("pnfSize")}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="Flow_02elm5b" name="Success" sourceRef="Gateway_1nr51kr" targetRef="Activity_0snmatn">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${execution.getVariable("pnfCounter") &gt;= execution.getVariable("pnfSize")}</bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:serviceTask id="Activity_02vp5np" name="Pnf Counter Execution for HC" camunda:expression="${ServiceLevelPreparation.pnfCounterExecution(execution)}">
      <bpmn:incoming>Flow_1ptk2a3</bpmn:incoming>
      <bpmn:incoming>Flow_05x2cqc</bpmn:incoming>
      <bpmn:outgoing>Flow_0rpnl02</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:serviceTask id="Activity_0e6w886" name="Pnf Counter Execution for SWU" camunda:expression="${ServiceLevelUpgrade.pnfCounterExecution(execution)}">
      <bpmn:incoming>Flow_01gwzx9</bpmn:incoming>
      <bpmn:incoming>Flow_19tmp99</bpmn:incoming>
      <bpmn:outgoing>Flow_0g6gkgx</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:scriptTask id="Activity_0o2rrag" name="Send Response" scriptFormat="groovy">
      <bpmn:incoming>Flow_0l67uzl</bpmn:incoming>
      <bpmn:outgoing>Flow_05aa7gj</bpmn:outgoing>
      <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
def pnfSwUpgrade = new GenericPnfSoftwareUpgrade()
pnfSwUpgrade.sendResponse(execution)</bpmn:script>
    </bpmn:scriptTask>
    <bpmn:sequenceFlow id="Flow_05aa7gj" sourceRef="Activity_0o2rrag" targetRef="Activity_1n4rk7m" />
  </bpmn:process>
  <bpmn:error id="Error_01a8p43" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
  <bpmn:error id="Error_0e5owqi" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
  <bpmn:error id="Error_1at4rzq" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
  <bpmn:error id="Error_04y00c4" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ServiceLevelUpgrade">
      <bpmndi:BPMNEdge id="Flow_02elm5b_di" bpmnElement="Flow_02elm5b">
        <di:waypoint x="1140" y="198" />
        <di:waypoint x="1140" y="240" />
        <di:waypoint x="210" y="240" />
        <di:waypoint x="210" y="330" />
        <di:waypoint x="262" y="330" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1148" y="222" width="43" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_05x2cqc_di" bpmnElement="Flow_05x2cqc">
        <di:waypoint x="1140" y="166" />
        <di:waypoint x="1140" y="100" />
        <di:waypoint x="810" y="100" />
        <di:waypoint x="810" y="142" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="944" y="82" width="63" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_19tmp99_di" bpmnElement="Flow_19tmp99">
        <di:waypoint x="804" y="314" />
        <di:waypoint x="804" y="260" />
        <di:waypoint x="488" y="260" />
        <di:waypoint x="488" y="290" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="616" y="242" width="63" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0zjsp5x_di" bpmnElement="Flow_0zjsp5x">
        <di:waypoint x="1030" y="182" />
        <di:waypoint x="1124" y="182" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0g6gkgx_di" bpmnElement="Flow_0g6gkgx">
        <di:waypoint x="538" y="330" />
        <di:waypoint x="590" y="330" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0rpnl02_di" bpmnElement="Flow_0rpnl02">
        <di:waypoint x="860" y="182" />
        <di:waypoint x="930" y="182" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1ptk2a3_di" bpmnElement="Flow_1ptk2a3">
        <di:waypoint x="710" y="181" />
        <di:waypoint x="760" y="181" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0ny61qm_di" bpmnElement="Flow_0ny61qm">
        <di:waypoint x="1140" y="346" />
        <di:waypoint x="1140" y="404" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1102" y="362" width="35" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_05ohtnj_di" bpmnElement="Flow_05ohtnj">
        <di:waypoint x="1156" y="330" />
        <di:waypoint x="1310" y="330" />
        <di:waypoint x="1310" y="490" />
        <di:waypoint x="1190" y="490" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1318" y="406" width="43" height="27" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0dyc3kv_di" bpmnElement="Flow_0dyc3kv">
        <di:waypoint x="1030" y="330" />
        <di:waypoint x="1124" y="330" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1y3cptr_di" bpmnElement="Flow_1y3cptr">
        <di:waypoint x="690" y="330" />
        <di:waypoint x="788" y="330" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0mbp7mv_di" bpmnElement="Flow_0mbp7mv">
        <di:waypoint x="820" y="330" />
        <di:waypoint x="930" y="330" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="845" y="316" width="43" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0frhsd0_di" bpmnElement="Flow_0frhsd0">
        <di:waypoint x="362" y="579" />
        <di:waypoint x="450" y="579" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0l67uzl_di" bpmnElement="Flow_0l67uzl">
        <di:waypoint x="964" y="490" />
        <di:waypoint x="362" y="490" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="637" y="476" width="43" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1tcnzdx_di" bpmnElement="Flow_1tcnzdx">
        <di:waypoint x="980" y="506" />
        <di:waypoint x="980" y="554" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="942" y="526" width="35" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1ru18s3_di" bpmnElement="Flow_1ru18s3">
        <di:waypoint x="1090" y="490" />
        <di:waypoint x="996" y="490" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0mxq0qe_di" bpmnElement="Flow_0mxq0qe">
        <di:waypoint x="1156" y="182" />
        <di:waypoint x="1284" y="182" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1192" y="163" width="35" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0y1ebox_di" bpmnElement="Flow_0y1ebox">
        <di:waypoint x="804" y="346" />
        <di:waypoint x="804" y="414" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="813" y="374" width="35" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_01gwzx9_di" bpmnElement="Flow_01gwzx9">
        <di:waypoint x="362" y="330" />
        <di:waypoint x="438" y="330" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_10jgbxm_di" bpmnElement="Flow_10jgbxm">
        <di:waypoint x="550" y="580" />
        <di:waypoint x="624" y="580" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1b392qs_di" bpmnElement="Flow_1b392qs">
        <di:waypoint x="536" y="182" />
        <di:waypoint x="610" y="182" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0nrz340_di" bpmnElement="Flow_0nrz340">
        <di:waypoint x="226" y="182" />
        <di:waypoint x="436" y="182" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_05aa7gj_di" bpmnElement="Flow_05aa7gj">
        <di:waypoint x="262" y="490" />
        <di:waypoint x="210" y="490" />
        <di:waypoint x="210" y="579" />
        <di:waypoint x="262" y="579" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_12983th_di" bpmnElement="Event_12983th">
        <dc:Bounds x="624" y="565" width="32" height="32" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="-132" y="-188" width="20" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_02fectw_di" bpmnElement="Gateway_02fectw" isMarkerVisible="true">
        <dc:Bounds x="788" y="314" width="32" height="32" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0ldlupa_di" bpmnElement="Event_0ldlupa">
        <dc:Bounds x="788" y="414" width="32" height="32" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_1nr51kr_di" bpmnElement="Gateway_1nr51kr" isMarkerVisible="true">
        <dc:Bounds x="1124" y="166" width="32" height="32" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_16k9r1c_di" bpmnElement="Event_16k9r1c">
        <dc:Bounds x="1284" y="166" width="32" height="32" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_1vq11i7_di" bpmnElement="Gateway_1vq11i7" isMarkerVisible="true">
        <dc:Bounds x="964" y="474" width="32" height="32" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_03tpudy_di" bpmnElement="Event_03tpudy">
        <dc:Bounds x="964" y="554" width="32" height="32" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0snmatn_di" bpmnElement="Activity_0snmatn">
        <dc:Bounds x="262" y="290" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0ft7fa2_di" bpmnElement="Activity_0ft7fa2">
        <dc:Bounds x="1090" y="450" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1n4rk7m_di" bpmnElement="Activity_1n4rk7m">
        <dc:Bounds x="262" y="539" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1lz38px_di" bpmnElement="Activity_1lz38px">
        <dc:Bounds x="450" y="539" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_09bqns0_di" bpmnElement="Activity_09bqns0">
        <dc:Bounds x="610" y="140" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0o2rrag_di" bpmnElement="Activity_0o2rrag">
        <dc:Bounds x="262" y="450" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_18vue7u_di" bpmnElement="Activity_18vue7u">
        <dc:Bounds x="436" y="142" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_02mc8tr_di" bpmnElement="Event_02mc8tr">
        <dc:Bounds x="194" y="166" width="32" height="32" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="-6" y="-188" width="51" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0ui6tp1_di" bpmnElement="Activity_0ui6tp1" isExpanded="true">
        <dc:Bounds x="362" y="810" width="650" height="190" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Flow_0iayg6u_di" bpmnElement="Flow_0iayg6u">
        <di:waypoint x="466" y="908" />
        <di:waypoint x="532" y="910" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_0lb7zv5_di" bpmnElement="Flow_0lb7zv5">
        <di:waypoint x="632" y="910" />
        <di:waypoint x="702" y="910" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="Flow_1peoyur_di" bpmnElement="Flow_1peoyur">
        <di:waypoint x="802" y="910" />
        <di:waypoint x="874" y="908" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="Event_08f3m9h_di" bpmnElement="Event_08f3m9h">
        <dc:Bounds x="434" y="892" width="32" height="32" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="-161" y="-188" width="78" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1k2f3ha_di" bpmnElement="Activity_1k2f3ha">
        <dc:Bounds x="532" y="870" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0ai3z2q_di" bpmnElement="Activity_0ai3z2q">
        <dc:Bounds x="702" y="870" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_0ngb9wx_di" bpmnElement="Event_0ngb9wx">
        <dc:Bounds x="874" y="892" width="32" height="32" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="-132" y="-188" width="20" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_0n17xou_di" bpmnElement="Activity_0n17xou">
        <dc:Bounds x="930" y="142" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1q4o9fx_di" bpmnElement="Activity_1q4o9fx">
        <dc:Bounds x="590" y="290" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1hp67qz_di" bpmnElement="Activity_1hp67qz">
        <dc:Bounds x="930" y="290" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Gateway_18ch73t_di" bpmnElement="Gateway_18ch73t" isMarkerVisible="true">
        <dc:Bounds x="1124" y="314" width="32" height="32" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Event_1fhov6x_di" bpmnElement="Event_1fhov6x">
        <dc:Bounds x="1124" y="404" width="32" height="32" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1bjlebw_di" bpmnElement="Activity_02vp5np">
        <dc:Bounds x="760" y="142" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="Activity_1knf0nl_di" bpmnElement="Activity_0e6w886">
        <dc:Bounds x="438" y="290" width="100" height="80" />
      </bpmndi:BPMNShape>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>