<?xml version="1.0" encoding="UTF-8"?>
<bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_MagIIMOUEeW8asg-vCEgWQ" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.4.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
  <bpmn2:process id="DeleteGenericMacroServiceNetworkVnf" name="DeleteGenericMacroServiceNetworkVnf" isExecutable="true">
    <bpmn2:scriptTask id="sendSyncAckResponse_ScriptTask" name="Send Sync Ack Response" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DeleteGenericMacroServiceNetworkVnf = new DeleteGenericMacroServiceNetworkVnf()
DeleteGenericMacroServiceNetworkVnf.sendSyncResponse(execution)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="sendSyncAckResponse_ScriptTask" targetRef="IntermediateThrowEvent_2" />
    <bpmn2:startEvent id="createVIPR_startEvent" name="Start Flow">
      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
    </bpmn2:startEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="createVIPR_startEvent" targetRef="preProcessRequest_ScriptTask" />
    <bpmn2:scriptTask id="preProcessRequest_ScriptTask" name="PreProcess Incoming Request" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DeleteGenericMacroServiceNetworkVnf = new DeleteGenericMacroServiceNetworkVnf()
DeleteGenericMacroServiceNetworkVnf.preProcessRequest(execution)
]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="preProcessRequest_ScriptTask" targetRef="sendSyncAckResponse_ScriptTask" />
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_3" name="vIPR-ATM">
      <bpmn2:outgoing>SequenceFlow_10o22u2</bpmn2:outgoing>
      <bpmn2:linkEventDefinition id="_LinkEventDefinition_37" name="vIPR-ATM" />
    </bpmn2:intermediateCatchEvent>
    <bpmn2:scriptTask id="postProcessAndCompletionRequest_ScriptTask" name="Post Process &#38; Completion Request" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_12ilko1</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_29</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DeleteGenericMacroServiceNetworkVnf = new DeleteGenericMacroServiceNetworkVnf()
DeleteGenericMacroServiceNetworkVnf.postProcessResponse(execution)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_29" name="" sourceRef="postProcessAndCompletionRequest_ScriptTask" targetRef="callCompleteMsoProcess_CallActivity" />
    <bpmn2:callActivity id="callCompleteMsoProcess_CallActivity" name="Call CompleteMsoProcess" calledElement="CompleteMsoProcess">
      <bpmn2:extensionElements>
        <camunda:in variables="all" />
        <camunda:out variables="all" />
        <camunda:in source="DELVAS_CompleteMsoProcessRequest" target="CompleteMsoProcessRequest" />
        <camunda:in source="requestId" target="requestId" />
        <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
        <camunda:out source="CMSO_ResponseCode" target="CMSO_ResponseCode" />
        <camunda:out source="CompleteMsoProcessResponse" target="CompleteMsoProcessResponse" />
        <camunda:out source="CMSO_ErrorResponse" target="CMSO_ErrorResponse" />
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_29</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
    </bpmn2:callActivity>
    <bpmn2:sequenceFlow id="SequenceFlow_8" name="" sourceRef="callCompleteMsoProcess_CallActivity" targetRef="ScriptTask_2" />
    <bpmn2:scriptTask id="ScriptTask_2" name="Set Success Indicator" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
      <bpmn2:script><![CDATA[// The following variable is checked by the unit test
execution.setVariable("DeleteGenericMacroServiceNetworkVnfSuccessIndicator", true)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="ScriptTask_2" targetRef="DeleteVIPR_EndEvent" />
    <bpmn2:endEvent id="DeleteVIPR_EndEvent" name="End">
      <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
      <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_13" />
    </bpmn2:endEvent>
    <bpmn2:subProcess id="UnexpectedError_SubProcess_1" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
      <bpmn2:startEvent id="StartEvent_1">
        <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
        <bpmn2:errorEventDefinition id="_ErrorEventDefinition_92" errorRef="Error_1" />
      </bpmn2:startEvent>
      <bpmn2:endEvent id="EndEvent_1">
        <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
      </bpmn2:endEvent>
      <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="StartEvent_1" targetRef="ScriptTask_1" />
      <bpmn2:scriptTask id="ScriptTask_1" name="Log / Print Unexpected Error" scriptFormat="groovy">
        <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
        <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DeleteServiceInstanceInfra = new DeleteServiceInstanceInfra()
DeleteServiceInstanceInfra.processJavaException(execution)]]></bpmn2:script>
      </bpmn2:scriptTask>
      <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="ScriptTask_1" targetRef="EndEvent_1" />
    </bpmn2:subProcess>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_4" name="FinishProcess">
      <bpmn2:outgoing>SequenceFlow_12ilko1</bpmn2:outgoing>
      <bpmn2:linkEventDefinition id="_LinkEventDefinition_39" name="FinishProcess" />
    </bpmn2:intermediateCatchEvent>
    <bpmn2:callActivity id="doDeleteNetworkInstance_CallActivity" name="DoDelete&#10;Network&#10;Instance" calledElement="DoDeleteNetworkInstance">
      <bpmn2:extensionElements>
        <camunda:in source="msoRequestId" target="msoRequestId" />
        <camunda:in source="lcpCloudRegionId" target="lcpCloudRegionId" />
        <camunda:in source="tenantId" target="tenantId" />
        <camunda:in source="disableRollback" target="disableRollback" />
        <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
        <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
        <camunda:in source="failIfExists" target="failIfExists" />
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:out source="rollbackData" target="DELNWKI_rollbackData" />
        <camunda:out source="rolledBack" target="DELNWKI_rolledBack" />
        <camunda:out source="wasDeleted" target="wasDeleted" />
        <camunda:in source="networkId" target="networkId" />
        <camunda:in source="sdncVersion" target="sdncVersion" />
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_1bwbn7r</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_12ag2bk</bpmn2:outgoing>
    </bpmn2:callActivity>
    <bpmn2:scriptTask id="ScriptTask_PrepareNetworkDelete" name="Prepare for Network Delete" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_0cmebdc</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_0dfkfh1</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_1bwbn7r</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DeleteGenericMacroServiceNetworkVnf= new DeleteGenericMacroServiceNetworkVnf()
DeleteGenericMacroServiceNetworkVnf.prepareNetworkDelete(execution)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:callActivity id="doDeleteServiceInstance_CallActivity" name="DoDelete&#10;ServiceInstance&#10;" calledElement="DoDeleteServiceInstance">
      <bpmn2:extensionElements>
        <camunda:in source="msoRequestId" target="msoRequestId" />
        <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
        <camunda:out source="rollbackData" target="DCRESI_rollbackData" />
        <camunda:in source="failExists" target="failExists" />
        <camunda:in source="disableRollback" target="disableRollback" />
        <camunda:out source="rolledBack" target="DCRESI_rolledBack" />
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
        <camunda:in source="sdncVersion" target="sdncVersion" />
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_10o22u2</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_04ao07f</bpmn2:outgoing>
    </bpmn2:callActivity>
    <bpmn2:callActivity id="doDeleteVNFandModules_CallActivity" name="DoDelete&#10;VNF and Modules&#10;" calledElement="DoDeleteVnfAndModules">
      <bpmn2:extensionElements>
        <camunda:in source="msoRequestId" target="msoRequestId" />
        <camunda:in source="disableRollback" target="disableRollback" />
        <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
        <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
        <camunda:in source="vnftId" target="vnftId" />
        <camunda:in source="sdncVersion" target="sdncVersion" />
        <camunda:out source="rollbackData" target="rollbackData" />
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:out source="rolledBack" target="rolledBack" />
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_1h77psn</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_1dmn40p</bpmn2:outgoing>
    </bpmn2:callActivity>
    <bpmn2:scriptTask id="ScriptTask_3" name="Prepare to Delete VNF" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_0bvecvm</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_0mr8jgt</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_1h77psn</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DeleteGenericMacroServiceNetworkVnf= new DeleteGenericMacroServiceNetworkVnf()
DeleteGenericMacroServiceNetworkVnf.prepareVnfAndModulesDelete(execution)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_4" name="GoToStartNetworks">
      <bpmn2:incoming>SequenceFlow_0xowenu</bpmn2:incoming>
      <bpmn2:linkEventDefinition id="_LinkEventDefinition_41" name="StartNetworks" />
    </bpmn2:intermediateThrowEvent>
    <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_2" name="GoQueryServiceInstance">
      <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
      <bpmn2:linkEventDefinition id="_LinkEventDefinition_38" name="QueryServiceInstance" />
    </bpmn2:intermediateThrowEvent>
    <bpmn2:subProcess id="SubProcess_0s6hpty" name="Subprocess For Exception / FalloutHandler " triggeredByEvent="true">
      <bpmn2:startEvent id="StartEvent_1bwmffk" name="Fault Start">
        <bpmn2:outgoing>SequenceFlow_06llof4</bpmn2:outgoing>
        <bpmn2:errorEventDefinition />
      </bpmn2:startEvent>
      <bpmn2:callActivity id="CallActivity_0jw5tqa" name="Call FalloutHandlerV1" calledElement="FalloutHandler">
        <bpmn2:extensionElements>
          <camunda:in source="DELVAS_falloutRequest" target="FalloutHandlerRequest" />
          <camunda:in source="msoRequestId" target="mso-request-id" />
          <camunda:in source="serviceInstanceId" target="mso-service-instance-id" />
          <camunda:out source="FH_ResponseCode" target="FH_ResponseCode" />
          <camunda:out source="FalloutHandlerResponse" target="FalloutHandlerResponse" />
          <camunda:out source="FH_ErrorResponse" target="FH_ErrorResponse" />
        </bpmn2:extensionElements>
        <bpmn2:incoming>SequenceFlow_0807ukc</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_19yywk8</bpmn2:outgoing>
      </bpmn2:callActivity>
      <bpmn2:endEvent id="EndEvent_04xute7">
        <bpmn2:incoming>SequenceFlow_19yywk8</bpmn2:incoming>
      </bpmn2:endEvent>
      <bpmn2:scriptTask id="ScriptTask_0yk02h3" name="Prepare FalloutHandler" scriptFormat="groovy">
        <bpmn2:incoming>SequenceFlow_06llof4</bpmn2:incoming>
        <bpmn2:outgoing>SequenceFlow_0807ukc</bpmn2:outgoing>
        <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DeleteGenericMacroServiceNetworkVnf = new DeleteGenericMacroServiceNetworkVnf()
DeleteGenericMacroServiceNetworkVnf.prepareFalloutRequest(execution)]]></bpmn2:script>
      </bpmn2:scriptTask>
      <bpmn2:sequenceFlow id="SequenceFlow_0807ukc" sourceRef="ScriptTask_0yk02h3" targetRef="CallActivity_0jw5tqa" />
      <bpmn2:sequenceFlow id="SequenceFlow_19yywk8" sourceRef="CallActivity_0jw5tqa" targetRef="EndEvent_04xute7" />
      <bpmn2:sequenceFlow id="SequenceFlow_06llof4" sourceRef="StartEvent_1bwmffk" targetRef="ScriptTask_0yk02h3" />
    </bpmn2:subProcess>
    <bpmn2:sequenceFlow id="SequenceFlow_10o22u2" sourceRef="IntermediateCatchEvent_3" targetRef="doDeleteServiceInstance_CallActivity" />
    <bpmn2:sequenceFlow id="SequenceFlow_12ilko1" sourceRef="IntermediateCatchEvent_4" targetRef="postProcessAndCompletionRequest_ScriptTask" />
    <bpmn2:sequenceFlow id="SequenceFlow_1bwbn7r" sourceRef="ScriptTask_PrepareNetworkDelete" targetRef="doDeleteNetworkInstance_CallActivity" />
    <bpmn2:sequenceFlow id="SequenceFlow_1n7r495" name="No" sourceRef="ExclusiveGateway_0fe690i" targetRef="ExclusiveGateway_1os8cm5" />
    <bpmn2:sequenceFlow id="SequenceFlow_1h77psn" sourceRef="ScriptTask_3" targetRef="doDeleteVNFandModules_CallActivity" />
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1nh09nr" name="StartNetworks">
      <bpmn2:outgoing>SequenceFlow_1vwssu7</bpmn2:outgoing>
      <bpmn2:linkEventDefinition name="StartNetworks" />
    </bpmn2:intermediateCatchEvent>
    <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_0prlju0" name="GoTo FinishProcess">
      <bpmn2:incoming>SequenceFlow_04ao07f</bpmn2:incoming>
      <bpmn2:linkEventDefinition name="FinishProcess" />
    </bpmn2:intermediateThrowEvent>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_0b9wd4f" name="Delete Network(s)?" default="SequenceFlow_1f26zbk">
      <bpmn2:incoming>SequenceFlow_1vwssu7</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_0cmebdc</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_1f26zbk</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_0fe690i" name="Delete Additional Networks?" default="SequenceFlow_1n7r495">
      <bpmn2:incoming>SequenceFlow_04vlq8r</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_1n7r495</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_0dfkfh1</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_0dfkfh1" name="Yes" sourceRef="ExclusiveGateway_0fe690i" targetRef="ScriptTask_PrepareNetworkDelete">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELVAS_networksDeletedCount") < execution.getVariable("DELVAS_networksCount")}]]></bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="SequenceFlow_0cmebdc" name="Yes" sourceRef="ExclusiveGateway_0b9wd4f" targetRef="ScriptTask_PrepareNetworkDelete">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELVAS_networksCount") > 0}]]></bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_1os8cm5">
      <bpmn2:incoming>SequenceFlow_1n7r495</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_1f26zbk</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_1j7n6qx</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_1f26zbk" name="No" sourceRef="ExclusiveGateway_0b9wd4f" targetRef="ExclusiveGateway_1os8cm5" />
    <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_0nreq15" name="GoTo vIPR-ATM">
      <bpmn2:incoming>SequenceFlow_1j7n6qx</bpmn2:incoming>
      <bpmn2:linkEventDefinition name="vIPR-ATM" />
    </bpmn2:intermediateThrowEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_1vwssu7" sourceRef="IntermediateCatchEvent_1nh09nr" targetRef="ExclusiveGateway_0b9wd4f" />
    <bpmn2:sequenceFlow id="SequenceFlow_1j7n6qx" sourceRef="ExclusiveGateway_1os8cm5" targetRef="IntermediateThrowEvent_0nreq15" />
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_0rlqdvq" name="StartVnfs">
      <bpmn2:outgoing>SequenceFlow_10tbv62</bpmn2:outgoing>
      <bpmn2:linkEventDefinition name="StartVnfs" />
    </bpmn2:intermediateCatchEvent>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_1nlocis" name="Delete VNF?" default="SequenceFlow_0w7328u">
      <bpmn2:incoming>SequenceFlow_10tbv62</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_0bvecvm</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_0w7328u</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_04q1qud">
      <bpmn2:incoming>SequenceFlow_0w7328u</bpmn2:incoming>
      <bpmn2:incoming>SequenceFlow_1wc8h5g</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_0xowenu</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_10tbv62" sourceRef="IntermediateCatchEvent_0rlqdvq" targetRef="ExclusiveGateway_1nlocis" />
    <bpmn2:sequenceFlow id="SequenceFlow_0bvecvm" name="Yes" sourceRef="ExclusiveGateway_1nlocis" targetRef="ScriptTask_3">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELVAS_vnfsCount") > 0}]]></bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="SequenceFlow_0w7328u" name="No" sourceRef="ExclusiveGateway_1nlocis" targetRef="ExclusiveGateway_04q1qud" />
    <bpmn2:sequenceFlow id="SequenceFlow_0xowenu" sourceRef="ExclusiveGateway_04q1qud" targetRef="IntermediateThrowEvent_4" />
    <bpmn2:scriptTask id="ScriptTask_04o8gb3" name="Validate Network Delete" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_12ag2bk</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_04vlq8r</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DeleteGenericMacroServiceNetworkVnf= new DeleteGenericMacroServiceNetworkVnf()
DeleteGenericMacroServiceNetworkVnf.validateNetworkDelete(execution)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:sequenceFlow id="SequenceFlow_12ag2bk" sourceRef="doDeleteNetworkInstance_CallActivity" targetRef="ScriptTask_04o8gb3" />
    <bpmn2:sequenceFlow id="SequenceFlow_04vlq8r" sourceRef="ScriptTask_04o8gb3" targetRef="ExclusiveGateway_0fe690i" />
    <bpmn2:callActivity id="callGetServiceInstance" name="Get&#10;Service&#10;Instance" calledElement="GenericGetService">
      <bpmn2:extensionElements>
        <camunda:in source="serviceInstanceId" target="GENGS_serviceInstanceId" />
        <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
        <camunda:in source="GENGS_type" target="GENGS_type" />
        <camunda:out source="GENGS_FoundIndicator" target="GENGS_FoundIndicator" />
        <camunda:out source="GENGS_FoundIndicator" target="GENGS_FoundIndicator" />
        <camunda:out source="GENGS_service" target="GENGS_service" />
        <camunda:out source="WorkflowException" target="WorkflowException" />
        <camunda:out source="GENGS_siResourceLink" target="GENGS_siResourceLink" />
      </bpmn2:extensionElements>
      <bpmn2:incoming>SequenceFlow_0jek18q</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_1ttswdr</bpmn2:outgoing>
    </bpmn2:callActivity>
    <bpmn2:scriptTask id="ScriptTask_05m3m2e" name="Process Response &#38; ready data for subflows" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_1ttswdr</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_18103ca</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DeleteGenericMacroServiceNetworkVnf = new DeleteGenericMacroServiceNetworkVnf()
DeleteGenericMacroServiceNetworkVnf.prepareServiceInstanceDelete(execution)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_112zjtp" name="QueryServiceInstance">
      <bpmn2:outgoing>SequenceFlow_0jek18q</bpmn2:outgoing>
      <bpmn2:linkEventDefinition name="QueryServiceInstance" />
    </bpmn2:intermediateCatchEvent>
    <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_162gs5w" name="GoToStartVnfs">
      <bpmn2:incoming>SequenceFlow_18103ca</bpmn2:incoming>
      <bpmn2:linkEventDefinition name="StartVnfs" />
    </bpmn2:intermediateThrowEvent>
    <bpmn2:sequenceFlow id="SequenceFlow_0jek18q" sourceRef="IntermediateCatchEvent_112zjtp" targetRef="callGetServiceInstance" />
    <bpmn2:sequenceFlow id="SequenceFlow_18103ca" sourceRef="ScriptTask_05m3m2e" targetRef="IntermediateThrowEvent_162gs5w" />
    <bpmn2:sequenceFlow id="SequenceFlow_04ao07f" sourceRef="doDeleteServiceInstance_CallActivity" targetRef="IntermediateThrowEvent_0prlju0" />
    <bpmn2:sequenceFlow id="SequenceFlow_1ttswdr" sourceRef="callGetServiceInstance" targetRef="ScriptTask_05m3m2e" />
    <bpmn2:scriptTask id="ScriptTask_1ildy3f" name="Validate VNF delete" scriptFormat="groovy">
      <bpmn2:incoming>SequenceFlow_1dmn40p</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_0g2cw86</bpmn2:outgoing>
      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
def DeleteGenericMacroServiceNetworkVnf= new DeleteGenericMacroServiceNetworkVnf()
DeleteGenericMacroServiceNetworkVnf.validateVnfDelete(execution)]]></bpmn2:script>
    </bpmn2:scriptTask>
    <bpmn2:exclusiveGateway id="ExclusiveGateway_1uds6yu" name="Delete Additional VNFs?" default="SequenceFlow_1wc8h5g">
      <bpmn2:incoming>SequenceFlow_0g2cw86</bpmn2:incoming>
      <bpmn2:outgoing>SequenceFlow_0mr8jgt</bpmn2:outgoing>
      <bpmn2:outgoing>SequenceFlow_1wc8h5g</bpmn2:outgoing>
    </bpmn2:exclusiveGateway>
    <bpmn2:sequenceFlow id="SequenceFlow_1dmn40p" sourceRef="doDeleteVNFandModules_CallActivity" targetRef="ScriptTask_1ildy3f" />
    <bpmn2:sequenceFlow id="SequenceFlow_0g2cw86" sourceRef="ScriptTask_1ildy3f" targetRef="ExclusiveGateway_1uds6yu" />
    <bpmn2:sequenceFlow id="SequenceFlow_0mr8jgt" name="Yes" sourceRef="ExclusiveGateway_1uds6yu" targetRef="ScriptTask_3">
      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELVAS_vnfsDeletedCountt") < execution.getVariable("DELVAS_vnfsCount")}]]></bpmn2:conditionExpression>
    </bpmn2:sequenceFlow>
    <bpmn2:sequenceFlow id="SequenceFlow_1wc8h5g" name="No" sourceRef="ExclusiveGateway_1uds6yu" targetRef="ExclusiveGateway_04q1qud" />
  </bpmn2:process>
  <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
  <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeleteGenericMacroServiceNetworkVnf">
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_47" bpmnElement="createVIPR_startEvent">
        <dc:Bounds x="96" y="90" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="82" y="131" width="65" height="22" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_61" bpmnElement="preProcessRequest_ScriptTask">
        <dc:Bounds x="285" y="68" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_47" targetElement="_BPMNShape_ScriptTask_61">
        <di:waypoint xsi:type="dc:Point" x="132" y="108" />
        <di:waypoint xsi:type="dc:Point" x="285" y="108" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="171" y="108" width="6" height="6" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_CallActivity_4" bpmnElement="callCompleteMsoProcess_CallActivity">
        <dc:Bounds x="476" y="1192" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_80" bpmnElement="postProcessAndCompletionRequest_ScriptTask">
        <dc:Bounds x="285" y="1193" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ScriptTask_61" targetElement="_BPMNShape_ScriptTask_127">
        <di:waypoint xsi:type="dc:Point" x="385" y="108" />
        <di:waypoint xsi:type="dc:Point" x="476" y="108" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="271" y="69" width="6" height="6" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_127" bpmnElement="sendSyncAckResponse_ScriptTask">
        <dc:Bounds x="476" y="68" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_42" bpmnElement="SequenceFlow_29" sourceElement="_BPMNShape_ScriptTask_80" targetElement="_BPMNShape_CallActivity_4">
        <di:waypoint xsi:type="dc:Point" x="385" y="1233" />
        <di:waypoint xsi:type="dc:Point" x="476" y="1232" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="431" y="1217.5" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_177" bpmnElement="DeleteVIPR_EndEvent">
        <dc:Bounds x="1046" y="1213" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1054" y="1254" width="19" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_CallActivity_4" targetElement="_BPMNShape_ScriptTask_337">
        <di:waypoint xsi:type="dc:Point" x="576" y="1233" />
        <di:waypoint xsi:type="dc:Point" x="636" y="1233" />
        <di:waypoint xsi:type="dc:Point" x="636" y="1230" />
        <di:waypoint xsi:type="dc:Point" x="803" y="1230" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="651" y="1231.5" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_27" bpmnElement="UnexpectedError_SubProcess_1" isExpanded="true">
        <dc:Bounds x="686" y="1374" width="405" height="205" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_70" bpmnElement="StartEvent_1">
        <dc:Bounds x="754" y="1479" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="772" y="1520" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_269" bpmnElement="ScriptTask_1">
        <dc:Bounds x="829" y="1457" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_219" bpmnElement="EndEvent_1">
        <dc:Bounds x="982" y="1479" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1000" y="1520" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_StartEvent_70" targetElement="_BPMNShape_ScriptTask_269">
        <di:waypoint xsi:type="dc:Point" x="790" y="1497" />
        <di:waypoint xsi:type="dc:Point" x="829" y="1497" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="818" y="1497" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_269" targetElement="_BPMNShape_EndEvent_219">
        <di:waypoint xsi:type="dc:Point" x="929" y="1497" />
        <di:waypoint xsi:type="dc:Point" x="962" y="1497" />
        <di:waypoint xsi:type="dc:Point" x="962" y="1497" />
        <di:waypoint xsi:type="dc:Point" x="982" y="1497" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="977" y="1497" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_CallActivity_75" bpmnElement="doDeleteServiceInstance_CallActivity">
        <dc:Bounds x="285" y="1009" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_127">
        <di:waypoint xsi:type="dc:Point" x="576" y="108" />
        <di:waypoint xsi:type="dc:Point" x="728" y="108" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="652" y="93" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_337" bpmnElement="ScriptTask_2">
        <dc:Bounds x="803" y="1191" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_337" targetElement="_BPMNShape_EndEvent_177">
        <di:waypoint xsi:type="dc:Point" x="903" y="1230" />
        <di:waypoint xsi:type="dc:Point" x="1046" y="1231" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="975" y="1215.5" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="_BPMNShape_CallActivity_76" bpmnElement="doDeleteNetworkInstance_CallActivity">
        <dc:Bounds x="555" y="722" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_IntermediateCatchEvent_35" bpmnElement="IntermediateCatchEvent_3">
        <dc:Bounds x="100" y="1031" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="92" y="1067" width="51" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_IntermediateCatchEvent_36" bpmnElement="IntermediateCatchEvent_4">
        <dc:Bounds x="100" y="1216" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="82" y="1252" width="71" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_IntermediateThrowEvent_51" bpmnElement="IntermediateThrowEvent_4">
        <dc:Bounds x="1036" y="524" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1011" y="565" width="85" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_341" bpmnElement="ScriptTask_PrepareNetworkDelete">
        <dc:Bounds x="413" y="719" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_342" bpmnElement="ScriptTask_3">
        <dc:Bounds x="413" y="435" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_CallActivity_81" bpmnElement="doDeleteVNFandModules_CallActivity">
        <dc:Bounds x="555" y="435" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="_BPMNShape_IntermediateThrowEvent_49" bpmnElement="IntermediateThrowEvent_2">
        <dc:Bounds x="728" y="90" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="703" y="131" width="86" height="26" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="SubProcess_0s6hpty_di" bpmnElement="SubProcess_0s6hpty" isExpanded="true">
        <dc:Bounds x="52" y="1375" width="598" height="203" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="StartEvent_1bwmffk_di" bpmnElement="StartEvent_1bwmffk">
        <dc:Bounds x="123" y="1448" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="117" y="1489" width="50" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="CallActivity_0jw5tqa_di" bpmnElement="CallActivity_0jw5tqa">
        <dc:Bounds x="384" y="1426" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="EndEvent_04xute7_di" bpmnElement="EndEvent_04xute7">
        <dc:Bounds x="539" y="1448" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="557" y="1489" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ScriptTask_0yk02h3_di" bpmnElement="ScriptTask_0yk02h3">
        <dc:Bounds x="237" y="1426" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_10o22u2_di" bpmnElement="SequenceFlow_10o22u2">
        <di:waypoint xsi:type="dc:Point" x="136" y="1049" />
        <di:waypoint xsi:type="dc:Point" x="285" y="1049" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="211" y="1034" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_12ilko1_di" bpmnElement="SequenceFlow_12ilko1">
        <di:waypoint xsi:type="dc:Point" x="136" y="1234" />
        <di:waypoint xsi:type="dc:Point" x="285" y="1233" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="211" y="1218.5" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0807ukc_di" bpmnElement="SequenceFlow_0807ukc">
        <di:waypoint xsi:type="dc:Point" x="337" y="1466" />
        <di:waypoint xsi:type="dc:Point" x="384" y="1466" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="361" y="1451" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_19yywk8_di" bpmnElement="SequenceFlow_19yywk8">
        <di:waypoint xsi:type="dc:Point" x="484" y="1466" />
        <di:waypoint xsi:type="dc:Point" x="539" y="1466" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="512" y="1451" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1bwbn7r_di" bpmnElement="SequenceFlow_1bwbn7r">
        <di:waypoint xsi:type="dc:Point" x="513" y="761" />
        <di:waypoint xsi:type="dc:Point" x="555" y="760" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="534" y="746" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1n7r495_di" bpmnElement="SequenceFlow_1n7r495">
        <di:waypoint xsi:type="dc:Point" x="891" y="762" />
        <di:waypoint xsi:type="dc:Point" x="936" y="762" />
        <di:waypoint xsi:type="dc:Point" x="936" y="792" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="908" y="747" width="14" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1h77psn_di" bpmnElement="SequenceFlow_1h77psn">
        <di:waypoint xsi:type="dc:Point" x="513" y="475" />
        <di:waypoint xsi:type="dc:Point" x="555" y="475" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="534" y="460" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="IntermediateCatchEvent_1nh09nr_di" bpmnElement="IntermediateCatchEvent_1nh09nr">
        <dc:Bounds x="96" y="786" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="80" y="822" width="68" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="IntermediateThrowEvent_0prlju0_di" bpmnElement="IntermediateThrowEvent_0prlju0">
        <dc:Bounds x="508" y="1031" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="491" y="1072" width="70" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_0b9wd4f_di" bpmnElement="ExclusiveGateway_0b9wd4f" isMarkerVisible="true">
        <dc:Bounds x="345" y="779" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="408" y="811" width="57" height="26" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_0fe690i_di" bpmnElement="ExclusiveGateway_0fe690i" isMarkerVisible="true">
        <dc:Bounds x="841" y="737" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="809" y="795" width="82" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0dfkfh1_di" bpmnElement="SequenceFlow_0dfkfh1">
        <di:waypoint xsi:type="dc:Point" x="866" y="737" />
        <di:waypoint xsi:type="dc:Point" x="866" y="657" />
        <di:waypoint xsi:type="dc:Point" x="463" y="657" />
        <di:waypoint xsi:type="dc:Point" x="463" y="717" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="657" y="642" width="18" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0cmebdc_di" bpmnElement="SequenceFlow_0cmebdc">
        <di:waypoint xsi:type="dc:Point" x="370" y="779" />
        <di:waypoint xsi:type="dc:Point" x="370" y="759" />
        <di:waypoint xsi:type="dc:Point" x="413" y="759" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="375" y="769" width="19" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ExclusiveGateway_1os8cm5_di" bpmnElement="ExclusiveGateway_1os8cm5" isMarkerVisible="true">
        <dc:Bounds x="911" y="792" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="936" y="847" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1f26zbk_di" bpmnElement="SequenceFlow_1f26zbk">
        <di:waypoint xsi:type="dc:Point" x="370" y="829" />
        <di:waypoint xsi:type="dc:Point" x="370" y="896" />
        <di:waypoint xsi:type="dc:Point" x="936" y="896" />
        <di:waypoint xsi:type="dc:Point" x="936" y="842" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="646" y="881" width="14" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="IntermediateThrowEvent_0nreq15_di" bpmnElement="IntermediateThrowEvent_0nreq15">
        <dc:Bounds x="1046" y="799" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1024" y="840" width="80" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1vwssu7_di" bpmnElement="SequenceFlow_1vwssu7">
        <di:waypoint xsi:type="dc:Point" x="132" y="804" />
        <di:waypoint xsi:type="dc:Point" x="345" y="804" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="239" y="789" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1j7n6qx_di" bpmnElement="SequenceFlow_1j7n6qx">
        <di:waypoint xsi:type="dc:Point" x="961" y="817" />
        <di:waypoint xsi:type="dc:Point" x="1046" y="817" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="1004" y="792" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="IntermediateCatchEvent_0rlqdvq_di" bpmnElement="IntermediateCatchEvent_0rlqdvq">
        <dc:Bounds x="86" y="540" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="80" y="576" width="45" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_1nlocis_di" bpmnElement="ExclusiveGateway_1nlocis" isMarkerVisible="true">
        <dc:Bounds x="335" y="533" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="395" y="565" width="62" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_04q1qud_di" bpmnElement="ExclusiveGateway_04q1qud" isMarkerVisible="true">
        <dc:Bounds x="901" y="517" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="926" y="572" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_10tbv62_di" bpmnElement="SequenceFlow_10tbv62">
        <di:waypoint xsi:type="dc:Point" x="122" y="558" />
        <di:waypoint xsi:type="dc:Point" x="335" y="558" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="229" y="533" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0bvecvm_di" bpmnElement="SequenceFlow_0bvecvm">
        <di:waypoint xsi:type="dc:Point" x="360" y="533" />
        <di:waypoint xsi:type="dc:Point" x="360" y="475" />
        <di:waypoint xsi:type="dc:Point" x="413" y="475" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="366" y="494" width="18" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0w7328u_di" bpmnElement="SequenceFlow_0w7328u">
        <di:waypoint xsi:type="dc:Point" x="360" y="584" />
        <di:waypoint xsi:type="dc:Point" x="360" y="607" />
        <di:waypoint xsi:type="dc:Point" x="926" y="607" />
        <di:waypoint xsi:type="dc:Point" x="926" y="568" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="606" y="583" width="14" height="14" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0xowenu_di" bpmnElement="SequenceFlow_0xowenu">
        <di:waypoint xsi:type="dc:Point" x="951" y="542" />
        <di:waypoint xsi:type="dc:Point" x="1036" y="542" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="994" y="517" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ScriptTask_04o8gb3_di" bpmnElement="ScriptTask_04o8gb3">
        <dc:Bounds x="699" y="722" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_12ag2bk_di" bpmnElement="SequenceFlow_12ag2bk">
        <di:waypoint xsi:type="dc:Point" x="655" y="762" />
        <di:waypoint xsi:type="dc:Point" x="699" y="762" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="677" y="737" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_04vlq8r_di" bpmnElement="SequenceFlow_04vlq8r">
        <di:waypoint xsi:type="dc:Point" x="799" y="762" />
        <di:waypoint xsi:type="dc:Point" x="820" y="762" />
        <di:waypoint xsi:type="dc:Point" x="820" y="762" />
        <di:waypoint xsi:type="dc:Point" x="841" y="762" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="835" y="762" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="CallActivity_0nmoax4_di" bpmnElement="callGetServiceInstance">
        <dc:Bounds x="285" y="223" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ScriptTask_05m3m2e_di" bpmnElement="ScriptTask_05m3m2e">
        <dc:Bounds x="476" y="223" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="IntermediateCatchEvent_112zjtp_di" bpmnElement="IntermediateCatchEvent_112zjtp">
        <dc:Bounds x="96" y="245" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="72" y="281" width="82" height="25" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="IntermediateThrowEvent_162gs5w_di" bpmnElement="IntermediateThrowEvent_162gs5w">
        <dc:Bounds x="732" y="245" width="36" height="36" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="713" y="286" width="72" height="13" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_0jek18q_di" bpmnElement="SequenceFlow_0jek18q">
        <di:waypoint xsi:type="dc:Point" x="132" y="263" />
        <di:waypoint xsi:type="dc:Point" x="285" y="263" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="209" y="248" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_18103ca_di" bpmnElement="SequenceFlow_18103ca">
        <di:waypoint xsi:type="dc:Point" x="576" y="263" />
        <di:waypoint xsi:type="dc:Point" x="732" y="263" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="654" y="248" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_04ao07f_di" bpmnElement="SequenceFlow_04ao07f">
        <di:waypoint xsi:type="dc:Point" x="385" y="1049" />
        <di:waypoint xsi:type="dc:Point" x="508" y="1049" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="447" y="1034" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1ttswdr_di" bpmnElement="SequenceFlow_1ttswdr">
        <di:waypoint xsi:type="dc:Point" x="385" y="263" />
        <di:waypoint xsi:type="dc:Point" x="422" y="263" />
        <di:waypoint xsi:type="dc:Point" x="422" y="263" />
        <di:waypoint xsi:type="dc:Point" x="476" y="263" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="437" y="263" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNShape id="ScriptTask_1ildy3f_di" bpmnElement="ScriptTask_1ildy3f">
        <dc:Bounds x="687" y="435" width="100" height="80" />
      </bpmndi:BPMNShape>
      <bpmndi:BPMNShape id="ExclusiveGateway_1uds6yu_di" bpmnElement="ExclusiveGateway_1uds6yu" isMarkerVisible="true">
        <dc:Bounds x="828" y="450" width="50" height="50" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="797" y="508" width="80" height="24" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNShape>
      <bpmndi:BPMNEdge id="SequenceFlow_1dmn40p_di" bpmnElement="SequenceFlow_1dmn40p">
        <di:waypoint xsi:type="dc:Point" x="655" y="475" />
        <di:waypoint xsi:type="dc:Point" x="687" y="475" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="671" y="450" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0g2cw86_di" bpmnElement="SequenceFlow_0g2cw86">
        <di:waypoint xsi:type="dc:Point" x="787" y="475" />
        <di:waypoint xsi:type="dc:Point" x="828" y="475" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="808" y="460" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_0mr8jgt_di" bpmnElement="SequenceFlow_0mr8jgt">
        <di:waypoint xsi:type="dc:Point" x="853" y="453" />
        <di:waypoint xsi:type="dc:Point" x="853" y="364" />
        <di:waypoint xsi:type="dc:Point" x="463" y="364" />
        <di:waypoint xsi:type="dc:Point" x="463" y="435" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="649" y="349" width="18" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_1wc8h5g_di" bpmnElement="SequenceFlow_1wc8h5g">
        <di:waypoint xsi:type="dc:Point" x="878" y="475" />
        <di:waypoint xsi:type="dc:Point" x="926" y="475" />
        <di:waypoint xsi:type="dc:Point" x="926" y="517" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="895" y="460" width="14" height="12" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
      <bpmndi:BPMNEdge id="SequenceFlow_06llof4_di" bpmnElement="SequenceFlow_06llof4">
        <di:waypoint xsi:type="dc:Point" x="159" y="1466" />
        <di:waypoint xsi:type="dc:Point" x="237" y="1466" />
        <bpmndi:BPMNLabel>
          <dc:Bounds x="198" y="1441" width="0" height="0" />
        </bpmndi:BPMNLabel>
      </bpmndi:BPMNEdge>
    </bpmndi:BPMNPlane>
  </bpmndi:BPMNDiagram>
</bpmn2:definitions>