<?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" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.4.0">
  <bpmn:process id="DoDeleteNetworkInstanceRollback" name="DoDeleteNetworkInstanceRollback" isExecutable="true">
    <bpmn:startEvent id="StartEvent_1">
      <bpmn:outgoing>SequenceFlow_1krl2dg</bpmn:outgoing>
    </bpmn:startEvent>
    <bpmn:scriptTask id="Task_0whino1" name="PreProcess Incoming Data" scriptFormat="groovy">
      <bpmn:incoming>SequenceFlow_1krl2dg</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_0u41iz2</bpmn:outgoing>
      <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DoDeleteNetworkInstanceRollback = new DoDeleteNetworkInstanceRollback()
DoDeleteNetworkInstanceRollback.preProcessRequest(execution)]]></bpmn:script>
    </bpmn:scriptTask>
    <bpmn:sequenceFlow id="SequenceFlow_1krl2dg" sourceRef="StartEvent_1" targetRef="Task_0whino1" />
    <bpmn:sequenceFlow id="SequenceFlow_0u41iz2" sourceRef="Task_0whino1" targetRef="ExclusiveGateway_0p5zgdb" />
    <bpmn:callActivity id="CallActivity_1x88fsq" name="Call RSRC SDNC Activate Adapter" calledElement="sdncAdapter">
      <bpmn:extensionElements>
        <camunda:in source="DELNWKIR_rollbackDeactivateSDNCRequest" target="sdncAdapterWorkflowRequest" />
        <camunda:in source="mso-request-id" target="mso-request-id" />
        <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
        <camunda:out source="SDNCA_ResponseCode" target="DELNWKIR_rollbackDeactivateSDNCReturnCode" />
        <camunda:out source="sdncAdapterResponse" target="DELNWKIR_rollbackDeactivateSDNCResponse" />
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_1mxbdps</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_07s5r14</bpmn:outgoing>
    </bpmn:callActivity>
    <bpmn:exclusiveGateway id="ExclusiveGateway_0p5zgdb" name="is RSRC Deactivate Rollback?" default="SequenceFlow_1bb7zpp">
      <bpmn:incoming>SequenceFlow_0u41iz2</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1bb7zpp</bpmn:outgoing>
      <bpmn:outgoing>SequenceFlow_1mxbdps</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:scriptTask id="ScriptTask_1ggaxfu" name="Validate Rollback Responses" scriptFormat="groovy">
      <bpmn:incoming>SequenceFlow_1xokvq6</bpmn:incoming>
      <bpmn:incoming>SequenceFlow_1xs882r</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1ucaagl</bpmn:outgoing>
      <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DoDeleteNetworkInstanceRollback = new DoDeleteNetworkInstanceRollback()
DoDeleteNetworkInstanceRollback.validateRollbackResponses(execution)]]></bpmn:script>
    </bpmn:scriptTask>
    <bpmn:sequenceFlow id="SequenceFlow_1bb7zpp" name="No" sourceRef="ExclusiveGateway_0p5zgdb" targetRef="ExclusiveGateway_03d5sol" />
    <bpmn:sequenceFlow id="SequenceFlow_1mxbdps" name="Yes" sourceRef="ExclusiveGateway_0p5zgdb" targetRef="CallActivity_1x88fsq">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("DELNWKIR_rollbackDeactivateSDNCRequest") != null}]]></bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="SequenceFlow_07s5r14" sourceRef="CallActivity_1x88fsq" targetRef="ExclusiveGateway_03d5sol" />
    <bpmn:endEvent id="EndEvent_1fvr7ad">
      <bpmn:incoming>SequenceFlow_1ucaagl</bpmn:incoming>
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="SequenceFlow_1eyt8z2" sourceRef="ServiceTask_1vx8ti9" targetRef="ExclusiveGateway_03fn5ks" />
    <bpmn:subProcess id="SubProcess_1p4663w" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
      <bpmn:scriptTask id="ScriptTask_0by1uwk" name="Log / Print Unexpected Error" scriptFormat="groovy">
        <bpmn:incoming>SequenceFlow_0xktw7v</bpmn:incoming>
        <bpmn:outgoing>SequenceFlow_0soe5t3</bpmn:outgoing>
        <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DoDeleteNetworkInstanceRollback = new DoDeleteNetworkInstanceRollback()
DoDeleteNetworkInstanceRollback.processJavaException(execution)]]></bpmn:script>
      </bpmn:scriptTask>
      <bpmn:startEvent id="StartEvent_1j0eixl">
        <bpmn:outgoing>SequenceFlow_0xktw7v</bpmn:outgoing>
        <bpmn:errorEventDefinition errorRef="Error_1" />
      </bpmn:startEvent>
      <bpmn:endEvent id="EndEvent_0jxh015">
        <bpmn:incoming>SequenceFlow_0soe5t3</bpmn:incoming>
      </bpmn:endEvent>
      <bpmn:sequenceFlow id="SequenceFlow_0xktw7v" name="" sourceRef="StartEvent_1j0eixl" targetRef="ScriptTask_0by1uwk" />
      <bpmn:sequenceFlow id="SequenceFlow_0soe5t3" name="" sourceRef="ScriptTask_0by1uwk" targetRef="EndEvent_0jxh015" />
    </bpmn:subProcess>
    <bpmn:inclusiveGateway id="ExclusiveGateway_0798yby">
      <bpmn:incoming>SequenceFlow_1hcmrh9</bpmn:incoming>
      <bpmn:incoming>SequenceFlow_1pi168e</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1xs882r</bpmn:outgoing>
    </bpmn:inclusiveGateway>
    <bpmn:sequenceFlow id="SequenceFlow_1xs882r" sourceRef="ExclusiveGateway_0798yby" targetRef="ScriptTask_1ggaxfu" />
    <bpmn:exclusiveGateway id="ExclusiveGateway_03d5sol" name="is PO Network Rollback?" default="SequenceFlow_1yj3542">
      <bpmn:incoming>SequenceFlow_1bb7zpp</bpmn:incoming>
      <bpmn:incoming>SequenceFlow_07s5r14</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1yj3542</bpmn:outgoing>
      <bpmn:outgoing>SequenceFlow_18e00sw</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="SequenceFlow_1yj3542" name="No" sourceRef="ExclusiveGateway_03d5sol" targetRef="ExclusiveGateway_03fn5ks" />
    <bpmn:serviceTask id="ServiceTask_1vx8ti9" name="Call Rollback Network">
      <bpmn:extensionElements>
        <camunda:connector>
          <camunda:inputOutput>
            <camunda:inputParameter name="payload">${DELNWKIR_rollbackNetworkRequest}</camunda:inputParameter>
            <camunda:inputParameter name="url">${URN_mso_adapters_network_rest_endpoint}</camunda:inputParameter>
            <camunda:inputParameter name="headers">
              <camunda:map>
                <camunda:entry key="Authorization">#{BasicAuthHeaderValuePO}</camunda:entry>
                <camunda:entry key="content-type">application/xml</camunda:entry>
              </camunda:map>
            </camunda:inputParameter>
            <camunda:inputParameter name="method">POST</camunda:inputParameter>
            <camunda:outputParameter name="DELNWKIR_rollbackNetworkResponse">${response}</camunda:outputParameter>
            <camunda:outputParameter name="DELNWKIR_rollbackNetworkReturnCode">${statusCode}</camunda:outputParameter>
          </camunda:inputOutput>
          <camunda:connectorId>http-connector</camunda:connectorId>
        </camunda:connector>
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_18e00sw</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1eyt8z2</bpmn:outgoing>
    </bpmn:serviceTask>
    <bpmn:sequenceFlow id="SequenceFlow_18e00sw" name="Yes" sourceRef="ExclusiveGateway_03d5sol" targetRef="ServiceTask_1vx8ti9">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("DELNWKIR_rollbackNetworkRequest") != null}]]></bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:exclusiveGateway id="ExclusiveGateway_03fn5ks" name="is SDNC Rollback?" default="SequenceFlow_1xokvq6">
      <bpmn:incoming>SequenceFlow_1yj3542</bpmn:incoming>
      <bpmn:incoming>SequenceFlow_1eyt8z2</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1xokvq6</bpmn:outgoing>
      <bpmn:outgoing>SequenceFlow_172safw</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:exclusiveGateway id="ExclusiveGateway_1ga27si" name="is RSRC SDNC?" default="SequenceFlow_1wy1aba">
      <bpmn:incoming>SequenceFlow_172safw</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1wy1aba</bpmn:outgoing>
      <bpmn:outgoing>SequenceFlow_1yltkyg</bpmn:outgoing>
    </bpmn:exclusiveGateway>
    <bpmn:sequenceFlow id="SequenceFlow_1xokvq6" name="No" sourceRef="ExclusiveGateway_03fn5ks" targetRef="ScriptTask_1ggaxfu" />
    <bpmn:sequenceFlow id="SequenceFlow_172safw" name="Yes" sourceRef="ExclusiveGateway_03fn5ks" targetRef="ExclusiveGateway_1ga27si">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("DELNWKIR_rollbackSDNCRequest") != null}]]></bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="SequenceFlow_1wy1aba" name="No" sourceRef="ExclusiveGateway_1ga27si" targetRef="Task_00chyig" />
    <bpmn:sequenceFlow id="SequenceFlow_1yltkyg" name="Yes" sourceRef="ExclusiveGateway_1ga27si" targetRef="Task_1iuumxi">
      <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[#{execution.getVariable("sdncVersion") != '1610'} ]]></bpmn:conditionExpression>
    </bpmn:sequenceFlow>
    <bpmn:sequenceFlow id="SequenceFlow_1hcmrh9" sourceRef="Task_1iuumxi" targetRef="ExclusiveGateway_0798yby" />
    <bpmn:sequenceFlow id="SequenceFlow_1pi168e" sourceRef="Task_00chyig" targetRef="ExclusiveGateway_0798yby" />
    <bpmn:callActivity id="Task_1iuumxi" name="Call Assign RSRC SDNC Adapter" calledElement="sdncAdapter">
      <bpmn:extensionElements>
        <camunda:in source="DELNWKIR_rollbackSDNCRequest" target="sdncAdapterWorkflowRequest" />
        <camunda:in source="mso-request-id" target="mso-request-id" />
        <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
        <camunda:out source="SDNCA_ResponseCode" target="DELNWKIR_rollbackSDNCReturnCode" />
        <camunda:out source="sdncAdapterResponse" target="DELNWKIR_rollbackSDNCResponse" />
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_1yltkyg</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1hcmrh9</bpmn:outgoing>
    </bpmn:callActivity>
    <bpmn:callActivity id="Task_00chyig" name="Call Rollback SDNC Adapter" calledElement="sdncAdapter">
      <bpmn:extensionElements>
        <camunda:in source="DELNWKIR_rollbackSDNCRequest" target="sdncAdapterWorkflowRequest" />
        <camunda:in source="mso-request-id" target="mso-request-id" />
        <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
        <camunda:out source="SDNCA_ResponseCode" target="DELNWKIR_rollbackSDNCReturnCode" />
        <camunda:out source="sdncAdapterResponse" target="DELNWKIR_rollbackSDNCResponse" />
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
      </bpmn:extensionElements>
      <bpmn:incoming>SequenceFlow_1wy1aba</bpmn:incoming>
      <bpmn:outgoing>SequenceFlow_1pi168e</bpmn:outgoing>
    </bpmn:callActivity>
    <bpmn:sequenceFlow id="SequenceFlow_1ucaagl" sourceRef="ScriptTask_1ggaxfu" targetRef="EndEvent_1fvr7ad" />
    <bpmn:subProcess id="SubProcess_02vfqr7" triggeredByEvent="true">
      <bpmn:endEvent id="EndEvent_0m7hpuj">
        <bpmn:incoming>SequenceFlow_1s5yjuu</bpmn:incoming>
      </bpmn:endEvent>
      <bpmn:scriptTask id="ScriptTask_0yr3vca" name="Catch Exception" scriptFormat="groovy">
        <bpmn:incoming>SequenceFlow_01hh1wq</bpmn:incoming>
        <bpmn:outgoing>SequenceFlow_1s5yjuu</bpmn:outgoing>
        <bpmn:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
execution.setVariable("workflowException", execution.getVariable("WorkflowException")]]></bpmn:script>
      </bpmn:scriptTask>
      <bpmn:startEvent id="StartEvent_001ol7f">
        <bpmn:outgoing>SequenceFlow_01hh1wq</bpmn:outgoing>
        <bpmn:errorEventDefinition errorRef="Error_2" />
      </bpmn:startEvent>
      <bpmn:sequenceFlow id="SequenceFlow_1s5yjuu" sourceRef="ScriptTask_0yr3vca" targetRef="EndEvent_0m7hpuj" />
      <bpmn:sequenceFlow id="SequenceFlow_01hh1wq" sourceRef="StartEvent_001ol7f" targetRef="ScriptTask_0yr3vca" />
    </bpmn:subProcess>
    <bpmn:boundaryEvent id="BoundaryEvent_1mrkh9x" attachedToRef="CallActivity_1x88fsq">
      <bpmn:outgoing>SequenceFlow_0b0m3o7</bpmn:outgoing>
      <bpmn:errorEventDefinition errorRef="Error_2" />
    </bpmn:boundaryEvent>
    <bpmn:boundaryEvent id="BoundaryEvent_16cracu" attachedToRef="ServiceTask_1vx8ti9">
      <bpmn:outgoing>SequenceFlow_141226w</bpmn:outgoing>
      <bpmn:errorEventDefinition errorRef="Error_2" />
    </bpmn:boundaryEvent>
    <bpmn:sequenceFlow id="SequenceFlow_141226w" sourceRef="BoundaryEvent_16cracu" targetRef="EndEvent_00y9o8y" />
    <bpmn:sequenceFlow id="SequenceFlow_0b0m3o7" sourceRef="BoundaryEvent_1mrkh9x" targetRef="EndEvent_00y9o8y" />
    <bpmn:endEvent id="EndEvent_00y9o8y">
      <bpmn:incoming>SequenceFlow_141226w</bpmn:incoming>
      <bpmn:incoming>SequenceFlow_0b0m3o7</bpmn:incoming>
      <bpmn:errorEventDefinition errorRef="Error_2" />
    </bpmn:endEvent>
    <bpmn:boundaryEvent id="BoundaryEvent_1gk4tem" attachedToRef="Task_1iuumxi">
      <bpmn:outgoing>SequenceFlow_1lr1613</bpmn:outgoing>
      <bpmn:errorEventDefinition errorRef="Error_2" />
    </bpmn:boundaryEvent>
    <bpmn:boundaryEvent id="BoundaryEvent_1qaz277" attachedToRef="Task_00chyig">
      <bpmn:outgoing>SequenceFlow_0np0b8p</bpmn:outgoing>
      <bpmn:errorEventDefinition errorRef="Error_2" />
    </bpmn:boundaryEvent>
    <bpmn:endEvent id="EndEvent_1qfbudr">
      <bpmn:incoming>SequenceFlow_1lr1613</bpmn:incoming>
      <bpmn:incoming>SequenceFlow_0np0b8p</bpmn:incoming>
      <bpmn:errorEventDefinition errorRef="Error_2" />
    </bpmn:endEvent>
    <bpmn:sequenceFlow id="SequenceFlow_1lr1613" sourceRef="BoundaryEvent_1gk4tem" targetRef="EndEvent_1qfbudr" />
    <bpmn:sequenceFlow id="SequenceFlow_0np0b8p" sourceRef="BoundaryEvent_1qaz277" targetRef="EndEvent_1qfbudr" />
    <bpmn:textAnnotation id="TextAnnotation_000ap15">    <bpmn:text><![CDATA[Include ONLY inputs/varrables:  
rollbackData, as Map
-rollbackDeactivateSDNCRequest
-rollbackNetworkRequest 
WorkflowException
]]></bpmn:text>
</bpmn:textAnnotation>
    <bpmn:association id="Association_0ybkmal" sourceRef="Task_0whino1" targetRef="TextAnnotation_000ap15" />
    <bpmn:textAnnotation id="TextAnnotation_0vwyo82">    <bpmn:text><![CDATA[set value for:
WorkflowException
rolledBack
wasDeleted
]]></bpmn:text>
</bpmn:textAnnotation>
    <bpmn:association id="Association_1gx121b" sourceRef="ScriptTask_1ggaxfu" targetRef="TextAnnotation_0vwyo82" />
  </bpmn:process>
  <bpmn:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
  <bpmn:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoDeleteNetworkInstanceRollback">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
        <dc:Bounds x="214" y="240" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="232" y="276" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ScriptTask_1dqe09s_di" bpmnElement="Task_0whino1">
        <dc:Bounds x="333" y="218" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1krl2dg_di" bpmnElement="SequenceFlow_1krl2dg">
        <di:waypoint xsi:type="dc:Point" x="250" y="258" />
        <di:waypoint xsi:type="dc:Point" x="333" y="258" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="292" y="243" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0u41iz2_di" bpmnElement="SequenceFlow_0u41iz2">
        <di:waypoint xsi:type="dc:Point" x="433" y="258" />
        <di:waypoint xsi:type="dc:Point" x="556" y="258" />
        <di:waypoint xsi:type="dc:Point" x="556" y="347" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="495" y="243" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="CallActivity_1x88fsq_di" bpmnElement="CallActivity_1x88fsq">
        <dc:Bounds x="506" y="481" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_0p5zgdb_di" bpmnElement="ExclusiveGateway_0p5zgdb" isMarkerVisible="true">
        <dc:Bounds x="531" y="347" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="451" y="360" width="55" height="36" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="TextAnnotation_000ap15_di" bpmnElement="TextAnnotation_000ap15">
        <dc:Bounds x="112" y="355" width="277" height="115" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Association_0ybkmal_di" bpmnElement="Association_0ybkmal">
        <di:waypoint xsi:type="dc:Point" x="349" y="298" />
        <di:waypoint xsi:type="dc:Point" x="300" y="355" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ScriptTask_1ggaxfu_di" bpmnElement="ScriptTask_1ggaxfu">
        <dc:Bounds x="1097" y="332" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="TextAnnotation_0vwyo82_di" bpmnElement="TextAnnotation_0vwyo82">
        <dc:Bounds x="1230" y="448" width="165" height="60" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="Association_1gx121b_di" bpmnElement="Association_1gx121b">
        <di:waypoint xsi:type="dc:Point" x="1195" y="404" />
        <di:waypoint xsi:type="dc:Point" x="1264" y="448" />
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1bb7zpp_di" bpmnElement="SequenceFlow_1bb7zpp">
        <di:waypoint xsi:type="dc:Point" x="581" y="372" />
        <di:waypoint xsi:type="dc:Point" x="711" y="372" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="589" y="350.17259171746633" width="14" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1mxbdps_di" bpmnElement="SequenceFlow_1mxbdps">
        <di:waypoint xsi:type="dc:Point" x="556" y="397" />
        <di:waypoint xsi:type="dc:Point" x="556" y="481" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="560" y="397.10731155015196" width="18" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_07s5r14_di" bpmnElement="SequenceFlow_07s5r14">
        <di:waypoint xsi:type="dc:Point" x="606" y="521" />
        <di:waypoint xsi:type="dc:Point" x="639" y="521" />
        <di:waypoint xsi:type="dc:Point" x="639" y="372" />
        <di:waypoint xsi:type="dc:Point" x="711" y="372" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="654" y="446.5" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="EndEvent_1fvr7ad_di" bpmnElement="EndEvent_1fvr7ad">
        <dc:Bounds x="1253" y="252" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1271" y="288" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1eyt8z2_di" bpmnElement="SequenceFlow_1eyt8z2">
        <di:waypoint xsi:type="dc:Point" x="786" y="521" />
        <di:waypoint xsi:type="dc:Point" x="815" y="521" />
        <di:waypoint xsi:type="dc:Point" x="815" y="372" />
        <di:waypoint xsi:type="dc:Point" x="866" y="372" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="830" y="446.5" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="SubProcess_1p4663w_di" bpmnElement="SubProcess_1p4663w" isExpanded="true">
        <dc:Bounds x="-6" y="665" width="394" height="188" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ScriptTask_0by1uwk_di" bpmnElement="ScriptTask_0by1uwk">
        <dc:Bounds x="142" y="720" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_1j0eixl_di" bpmnElement="StartEvent_1j0eixl">
        <dc:Bounds x="27" y="742" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="45" y="783" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_0jxh015_di" bpmnElement="EndEvent_0jxh015">
        <dc:Bounds x="303" y="742" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="321" y="783" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0xktw7v_di" bpmnElement="SequenceFlow_0xktw7v">
        <di:waypoint xsi:type="dc:Point" x="63" y="760" />
        <di:waypoint xsi:type="dc:Point" x="142" y="760" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="105" y="760" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0soe5t3_di" bpmnElement="SequenceFlow_0soe5t3">
        <di:waypoint xsi:type="dc:Point" x="242" y="760" />
        <di:waypoint xsi:type="dc:Point" x="303" y="760" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="277" y="760" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="InclusiveGateway_04myanb_di" bpmnElement="ExclusiveGateway_0798yby">
        <dc:Bounds x="1122" y="496" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1147" y="546" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1xs882r_di" bpmnElement="SequenceFlow_1xs882r">
        <di:waypoint xsi:type="dc:Point" x="1147" y="496" />
        <di:waypoint xsi:type="dc:Point" x="1147" y="412" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1162" y="454" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ExclusiveGateway_03d5sol_di" bpmnElement="ExclusiveGateway_03d5sol" isMarkerVisible="true">
        <dc:Bounds x="711" y="347" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="699" y="312" width="74" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1yj3542_di" bpmnElement="SequenceFlow_1yj3542">
        <di:waypoint xsi:type="dc:Point" x="761" y="372" />
        <di:waypoint xsi:type="dc:Point" x="866" y="372" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="774" y="354" width="14" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ServiceTask_1vx8ti9_di" bpmnElement="ServiceTask_1vx8ti9">
        <dc:Bounds x="686" y="481" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_18e00sw_di" bpmnElement="SequenceFlow_18e00sw">
        <di:waypoint xsi:type="dc:Point" x="736" y="397" />
        <di:waypoint xsi:type="dc:Point" x="736" y="481" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="748" y="394" width="18" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ExclusiveGateway_03fn5ks_di" bpmnElement="ExclusiveGateway_03fn5ks" isMarkerVisible="true">
        <dc:Bounds x="866" y="347" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="867" y="310" width="48" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_1ga27si_di" bpmnElement="ExclusiveGateway_1ga27si" isMarkerVisible="true">
        <dc:Bounds x="866" y="496" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="898" y="456" width="82" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1xokvq6_di" bpmnElement="SequenceFlow_1xokvq6">
        <di:waypoint xsi:type="dc:Point" x="916" y="372" />
        <di:waypoint xsi:type="dc:Point" x="1097" y="372" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="926" y="353" width="14" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_172safw_di" bpmnElement="SequenceFlow_172safw">
        <di:waypoint xsi:type="dc:Point" x="891" y="397" />
        <di:waypoint xsi:type="dc:Point" x="891" y="496" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="898" y="396.5" width="18" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1wy1aba_di" bpmnElement="SequenceFlow_1wy1aba">
        <di:waypoint xsi:type="dc:Point" x="891" y="546" />
        <di:waypoint xsi:type="dc:Point" x="891" y="677" />
        <di:waypoint xsi:type="dc:Point" x="955" y="677" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="903" y="541.5" width="14" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1yltkyg_di" bpmnElement="SequenceFlow_1yltkyg">
        <di:waypoint xsi:type="dc:Point" x="916" y="521" />
        <di:waypoint xsi:type="dc:Point" x="955" y="521" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="915" y="502" width="18" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1hcmrh9_di" bpmnElement="SequenceFlow_1hcmrh9">
        <di:waypoint xsi:type="dc:Point" x="1055" y="521" />
        <di:waypoint xsi:type="dc:Point" x="1122" y="521" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1089" y="506" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1pi168e_di" bpmnElement="SequenceFlow_1pi168e">
        <di:waypoint xsi:type="dc:Point" x="1055" y="677" />
        <di:waypoint xsi:type="dc:Point" x="1147" y="677" />
        <di:waypoint xsi:type="dc:Point" x="1147" y="546" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1101" y="662" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="CallActivity_12rk9t5_di" bpmnElement="Task_1iuumxi">
        <dc:Bounds x="955" y="481" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="CallActivity_0l1dvlv_di" bpmnElement="Task_00chyig">
        <dc:Bounds x="955" y="637" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1ucaagl_di" bpmnElement="SequenceFlow_1ucaagl">
        <di:waypoint xsi:type="dc:Point" x="1147" y="332" />
        <di:waypoint xsi:type="dc:Point" x="1147" y="270" />
        <di:waypoint xsi:type="dc:Point" x="1253" y="270" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1162" y="301" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="SubProcess_02vfqr7_di" bpmnElement="SubProcess_02vfqr7" isExpanded="true">
        <dc:Bounds x="-10" y="898" width="382" height="213" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_0m7hpuj_di" bpmnElement="EndEvent_0m7hpuj">
        <dc:Bounds x="293" y="977" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="311" y="1013" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ScriptTask_0yr3vca_di" bpmnElement="ScriptTask_0yr3vca">
        <dc:Bounds x="120" y="955" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_001ol7f_di" bpmnElement="StartEvent_001ol7f">
        <dc:Bounds x="20" y="977" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="38" y="1013" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1s5yjuu_di" bpmnElement="SequenceFlow_1s5yjuu">
        <di:waypoint xsi:type="dc:Point" x="220" y="995" />
        <di:waypoint xsi:type="dc:Point" x="293" y="995" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="257" y="970" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_01hh1wq_di" bpmnElement="SequenceFlow_01hh1wq">
        <di:waypoint xsi:type="dc:Point" x="56" y="995" />
        <di:waypoint xsi:type="dc:Point" x="120" y="995" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="88" y="980" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="BoundaryEvent_10qmjw0_di" bpmnElement="BoundaryEvent_1mrkh9x">
        <dc:Bounds x="588" y="543" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="606" y="579" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BoundaryEvent_1n1s1n0_di" bpmnElement="BoundaryEvent_16cracu">
        <dc:Bounds x="668" y="543" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="686" y="579" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_141226w_di" bpmnElement="SequenceFlow_141226w">
        <di:waypoint xsi:type="dc:Point" x="677" y="577" />
        <di:waypoint xsi:type="dc:Point" x="655" y="613" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="666" y="580" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0b0m3o7_di" bpmnElement="SequenceFlow_0b0m3o7">
        <di:waypoint xsi:type="dc:Point" x="615" y="576" />
        <di:waypoint xsi:type="dc:Point" x="637" y="614" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="626" y="580" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="EndEvent_0yeci14_di" bpmnElement="EndEvent_00y9o8y">
        <dc:Bounds x="628" y="611" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="646" y="647" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BoundaryEvent_10psbey_di" bpmnElement="BoundaryEvent_1gk4tem">
        <dc:Bounds x="1037" y="543" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1055" y="579" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="BoundaryEvent_0wka4xd_di" bpmnElement="BoundaryEvent_1qaz277">
        <dc:Bounds x="1037" y="619" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1055" y="655" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_0c33uj0_di" bpmnElement="EndEvent_1qfbudr">
        <dc:Bounds x="1089" y="587" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1107" y="623" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1lr1613_di" bpmnElement="SequenceFlow_1lr1613">
        <di:waypoint xsi:type="dc:Point" x="1068" y="572" />
        <di:waypoint xsi:type="dc:Point" x="1094" y="594" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1081" y="568" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0np0b8p_di" bpmnElement="SequenceFlow_0np0b8p">
        <di:waypoint xsi:type="dc:Point" x="1070" y="628" />
        <di:waypoint xsi:type="dc:Point" x="1092" y="614" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1081" y="606" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn:definitions>