[MSO-8] Update the maven dependency
[so.git] / bpmn / MSOCommonBPMN / src / main / resources / subprocess / GenericDeleteService.bpmn
-<?xml version="1.0" encoding="UTF-8"?>\r
-<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://activiti.org/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_wAtdAGrUEeaJwpcpVN5gXw" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://activiti.org/bpmn">\r
-  <bpmn2:process id="GenericDeleteService" name="GenericDeleteService" isExecutable="true">\r
-    <bpmn2:subProcess id="bpmnExceptionHandlingSubProcess" name="Error Handling Sub Process" triggeredByEvent="true">\r
-      <bpmn2:scriptTask id="processError" name="Process Error" scriptFormat="groovy">\r
-        <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>\r
-        <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>\r
-        <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
+<?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" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_wAtdAGrUEeaJwpcpVN5gXw" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://camunda.org/schema/1.0/bpmn">
+  <bpmn2:process id="GenericDeleteService" name="GenericDeleteService" isExecutable="true">
+    <bpmn2:subProcess id="bpmnExceptionHandlingSubProcess" name="Error Handling Sub Process" triggeredByEvent="true">
+      <bpmn2:scriptTask id="processError" name="Process Error" scriptFormat="groovy">
+        <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
+        <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
+        <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
 
 ExceptionUtil ex = new ExceptionUtil()
 ex.processSubflowsBPMNException(execution)
-]]></bpmn2:script>\r
-      </bpmn2:scriptTask>\r
-      <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="processError" targetRef="EndEvent_3"/>\r
-      <bpmn2:startEvent id="StartEvent_2">\r
-        <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>\r
-        <bpmn2:errorEventDefinition id="ErrorEventDefinition_1"/>\r
-      </bpmn2:startEvent>\r
-      <bpmn2:sequenceFlow id="SequenceFlow_9" name="" sourceRef="StartEvent_2" targetRef="processError"/>\r
-      <bpmn2:endEvent id="EndEvent_3">\r
-        <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>\r
-        <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_25"/>\r
-      </bpmn2:endEvent>\r
-    </bpmn2:subProcess>\r
-    <bpmn2:subProcess id="javaExceptionSubProcess" name="Java Exception Handling Sub Process" triggeredByEvent="true">\r
-      <bpmn2:endEvent id="EndEvent_2">\r
-        <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>\r
-      </bpmn2:endEvent>\r
-      <bpmn2:scriptTask id="processJavaError" name="Process Error">\r
-        <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>\r
-        <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>\r
-        <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
+]]></bpmn2:script>
+      </bpmn2:scriptTask>
+      <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="processError" targetRef="EndEvent_3"/>
+      <bpmn2:startEvent id="StartEvent_2">
+        <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
+        <bpmn2:errorEventDefinition id="ErrorEventDefinition_1"/>
+      </bpmn2:startEvent>
+      <bpmn2:sequenceFlow id="SequenceFlow_9" name="" sourceRef="StartEvent_2" targetRef="processError"/>
+      <bpmn2:endEvent id="EndEvent_3">
+        <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
+        <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_25"/>
+      </bpmn2:endEvent>
+    </bpmn2:subProcess>
+    <bpmn2:subProcess id="javaExceptionSubProcess" name="Java Exception Handling Sub Process" triggeredByEvent="true">
+      <bpmn2:endEvent id="EndEvent_2">
+        <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
+      </bpmn2:endEvent>
+      <bpmn2:scriptTask id="processJavaError" name="Process Error">
+        <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
+        <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
+        <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
 
 ExceptionUtil ex = new ExceptionUtil()
 ex.processSubflowsJavaException(execution)
-]]></bpmn2:script>\r
-      </bpmn2:scriptTask>\r
-      <bpmn2:startEvent id="StartEvent_3">\r
-        <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>\r
-        <bpmn2:errorEventDefinition id="ErrorEventDefinition_2"/>\r
-      </bpmn2:startEvent>\r
-      <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="StartEvent_3" targetRef="processJavaError"/>\r
-      <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="processJavaError" targetRef="EndEvent_2"/>\r
-    </bpmn2:subProcess>\r
-    <bpmn2:startEvent id="StartEvent_1">\r
-      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>\r
-    </bpmn2:startEvent>\r
-    <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="initialization"/>\r
-    <bpmn2:scriptTask id="initialization" name="Initialization" scriptFormat="groovy">\r
-      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>\r
-      <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>\r
-      <bpmn2:script><![CDATA[import com.att.bpm.scripts.*\r
-GenericDeleteService deleteService  = new GenericDeleteService()\r
-deleteService.preProcessRequest(execution)\r
-]]></bpmn2:script>\r
-    </bpmn2:scriptTask>\r
-    <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="initialization" targetRef="resourceVersionCheck"/>\r
-    <bpmn2:exclusiveGateway id="resourceVersionCheck" name="Resource Version Provided?" default="yes">\r
-      <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>\r
-      <bpmn2:outgoing>no</bpmn2:outgoing>\r
-      <bpmn2:outgoing>yes</bpmn2:outgoing>\r
-    </bpmn2:exclusiveGateway>\r
-    <bpmn2:sequenceFlow id="no" name="No" sourceRef="resourceVersionCheck" targetRef="queryForResourceVersion">\r
-      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("GENDS_resourceVersionProvidedFlag" ) == false}]]></bpmn2:conditionExpression>\r
-    </bpmn2:sequenceFlow>\r
-    <bpmn2:sequenceFlow id="yes" name="Yes" sourceRef="resourceVersionCheck" targetRef="ExclusiveGateway_2"/>\r
-    <bpmn2:scriptTask id="toggleSuccess" name="Toggle Success Indicator" scriptFormat="groovy">\r
-      <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>\r
-      <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>\r
-      <bpmn2:script><![CDATA[import com.att.bpm.scripts.*\r
-GenericDeleteService deleteService  = new GenericDeleteService()\r
-deleteService.setSuccessIndicator(execution, true)\r
-\r
-execution.setVariable("WorkflowResponse", " ")  //for junits\r
-]]></bpmn2:script>\r
-    </bpmn2:scriptTask>\r
-    <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="toggleSuccess" targetRef="EndEvent_1"/>\r
-    <bpmn2:exclusiveGateway id="ExclusiveGateway_2">\r
-      <bpmn2:incoming>yes</bpmn2:incoming>\r
-      <bpmn2:incoming>siExistYes</bpmn2:incoming>\r
-      <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>\r
-    </bpmn2:exclusiveGateway>\r
-    <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="ExclusiveGateway_2" targetRef="deleteServiceInstance"/>\r
-    <bpmn2:endEvent id="EndEvent_1">\r
-      <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>\r
-      <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_24"/>\r
-    </bpmn2:endEvent>\r
-    <bpmn2:scriptTask id="deleteServiceInstance" name="DELETE&#xD;&#xA;Service Instance" scriptFormat="groovy">\r
-      <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>\r
-      <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>\r
-      <bpmn2:script><![CDATA[import com.att.bpm.scripts.*\r
-GenericDeleteService deleteService  = new GenericDeleteService()\r
-deleteService.deleteServiceObject(execution)]]></bpmn2:script>\r
-    </bpmn2:scriptTask>\r
-    <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="deleteServiceInstance" targetRef="toggleSuccess"/>\r
-    <bpmn2:scriptTask id="queryForResourceVersion" name="Query SI Resource Version" scriptFormat="groovy">\r
-      <bpmn2:incoming>no</bpmn2:incoming>\r
-      <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>\r
-      <bpmn2:script><![CDATA[import com.att.bpm.scripts.*\r
-GenericDeleteService deleteService  = new GenericDeleteService()\r
-deleteService.getServiceResourceVersion(execution)]]></bpmn2:script>\r
-    </bpmn2:scriptTask>\r
-    <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="queryForResourceVersion" targetRef="siExistCheck"/>\r
-    <bpmn2:exclusiveGateway id="siExistCheck" name="Service Exist?">\r
-      <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>\r
-      <bpmn2:outgoing>siExistYes</bpmn2:outgoing>\r
-      <bpmn2:outgoing>siExistNo</bpmn2:outgoing>\r
-    </bpmn2:exclusiveGateway>\r
-    <bpmn2:sequenceFlow id="siExistYes" name="Yes" sourceRef="siExistCheck" targetRef="ExclusiveGateway_2">\r
-      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("GENDS_FoundIndicator" ) == true}]]></bpmn2:conditionExpression>\r
-    </bpmn2:sequenceFlow>\r
-    <bpmn2:sequenceFlow id="siExistNo" name="No" sourceRef="siExistCheck" targetRef="EndEvent_4"/>\r
-    <bpmn2:endEvent id="EndEvent_4">\r
-      <bpmn2:incoming>siExistNo</bpmn2:incoming>\r
-      <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_38"/>\r
-    </bpmn2:endEvent>\r
-  </bpmn2:process>\r
-  <bpmn2:error id="Error_1" errorCode="MSOWorkflowException" name="MSO Workflow Exception"/>\r
-  <bpmndi:BPMNDiagram id="BPMNDiagram_1">\r
-    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="GenericDeleteService">\r
-      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_63" bpmnElement="StartEvent_1">\r
-        <dc:Bounds height="36.0" width="36.0" x="84.0" y="221.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="0.0" width="0.0" x="102.0" y="262.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_267" bpmnElement="initialization">\r
-        <dc:Bounds height="80.0" width="100.0" x="216.0" y="199.0"/>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_224" bpmnElement="resourceVersionCheck" isMarkerVisible="true">\r
-        <dc:Bounds height="50.0" width="50.0" x="365.0" y="213.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="22.0" width="169.0" x="401.0" y="243.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_268" bpmnElement="queryForResourceVersion">\r
-        <dc:Bounds height="80.0" width="100.0" x="457.0" y="100.0"/>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_225" bpmnElement="ExclusiveGateway_2" isMarkerVisible="true">\r
-        <dc:Bounds height="50.0" width="50.0" x="600.0" y="213.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="0.0" width="0.0" x="625.0" y="268.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_269" bpmnElement="deleteServiceInstance">\r
-        <dc:Bounds height="80.0" width="100.0" x="684.0" y="199.0"/>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_213" bpmnElement="EndEvent_1">\r
-        <dc:Bounds height="36.0" width="36.0" x="1006.0" y="221.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="0.0" width="0.0" x="1024.0" y="262.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_20" bpmnElement="bpmnExceptionHandlingSubProcess" isExpanded="true">\r
-        <dc:Bounds height="169.0" width="321.0" x="155.0" y="384.0"/>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_63" targetElement="_BPMNShape_ScriptTask_267">\r
-        <di:waypoint xsi:type="dc:Point" x="120.0" y="239.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="216.0" y="239.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="6.0" width="6.0" x="147.0" y="239.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_267" targetElement="_BPMNShape_ExclusiveGateway_224">\r
-        <di:waypoint xsi:type="dc:Point" x="316.0" y="239.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="365.0" y="238.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="6.0" width="6.0" x="217.0" y="238.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="no" sourceElement="_BPMNShape_ExclusiveGateway_224" targetElement="_BPMNShape_ScriptTask_268">\r
-        <di:waypoint xsi:type="dc:Point" x="390.0" y="213.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="390.0" y="140.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="457.0" y="140.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="22.0" width="22.0" x="392.0" y="179.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_268" targetElement="_BPMNShape_ExclusiveGateway_241">\r
-        <di:waypoint xsi:type="dc:Point" x="557.0" y="140.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="600.0" y="139.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="6.0" width="6.0" x="492.0" y="140.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ExclusiveGateway_225" targetElement="_BPMNShape_ScriptTask_269">\r
-        <di:waypoint xsi:type="dc:Point" x="650.0" y="238.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="684.0" y="239.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="6.0" width="6.0" x="556.0" y="239.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ScriptTask_269" targetElement="_BPMNShape_ScriptTask_272">\r
-        <di:waypoint xsi:type="dc:Point" x="784.0" y="239.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="826.0" y="239.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="6.0" width="6.0" x="778.0" y="239.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="yes" sourceElement="_BPMNShape_ExclusiveGateway_224" targetElement="_BPMNShape_ExclusiveGateway_225">\r
-        <di:waypoint xsi:type="dc:Point" x="390.0" y="263.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="390.0" y="310.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="517.0" y="310.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="625.0" y="310.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="625.0" y="263.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="22.0" width="29.0" x="389.0" y="278.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_23" bpmnElement="javaExceptionSubProcess" isExpanded="true">\r
-        <dc:Bounds height="157.0" width="306.0" x="163.0" y="576.0"/>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_65" bpmnElement="StartEvent_2">\r
-        <dc:Bounds height="36.0" width="36.0" x="180.0" y="451.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="0.0" width="0.0" x="198.0" y="492.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_66" bpmnElement="StartEvent_3">\r
-        <dc:Bounds height="36.0" width="36.0" x="192.0" y="637.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="0.0" width="0.0" x="210.0" y="678.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_216" bpmnElement="EndEvent_2">\r
-        <dc:Bounds height="36.0" width="36.0" x="408.0" y="637.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="0.0" width="0.0" x="426.0" y="678.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_217" bpmnElement="EndEvent_3">\r
-        <dc:Bounds height="36.0" width="36.0" x="420.0" y="451.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="0.0" width="0.0" x="438.0" y="492.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_270" bpmnElement="processError">\r
-        <dc:Bounds height="80.0" width="100.0" x="266.0" y="429.0"/>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_271" bpmnElement="processJavaError">\r
-        <dc:Bounds height="80.0" width="100.0" x="267.0" y="615.0"/>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_StartEvent_65" targetElement="_BPMNShape_ScriptTask_270">\r
-        <di:waypoint xsi:type="dc:Point" x="216.0" y="469.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="266.0" y="469.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="6.0" width="6.0" x="232.0" y="469.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_ScriptTask_270" targetElement="_BPMNShape_EndEvent_217">\r
-        <di:waypoint xsi:type="dc:Point" x="366.0" y="469.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="420.0" y="469.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="6.0" width="6.0" x="384.0" y="469.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_StartEvent_66" targetElement="_BPMNShape_ScriptTask_271">\r
-        <di:waypoint xsi:type="dc:Point" x="228.0" y="655.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="267.0" y="655.0"/>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_ScriptTask_271" targetElement="_BPMNShape_EndEvent_216">\r
-        <di:waypoint xsi:type="dc:Point" x="367.0" y="655.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="408.0" y="655.0"/>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_272" bpmnElement="toggleSuccess">\r
-        <dc:Bounds height="80.0" width="100.0" x="826.0" y="199.0"/>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ScriptTask_272" targetElement="_BPMNShape_EndEvent_213">\r
-        <di:waypoint xsi:type="dc:Point" x="926.0" y="239.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="1006.0" y="239.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="6.0" width="6.0" x="828.0" y="239.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_241" bpmnElement="siExistCheck" isMarkerVisible="true">\r
-        <dc:Bounds height="50.0" width="50.0" x="600.0" y="114.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="22.0" width="59.0" x="596.0" y="94.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNShape>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="siExistYes" sourceElement="_BPMNShape_ExclusiveGateway_241" targetElement="_BPMNShape_ExclusiveGateway_225">\r
-        <di:waypoint xsi:type="dc:Point" x="625.0" y="164.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="625.0" y="213.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="22.0" width="29.0" x="624.0" y="168.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="siExistNo" sourceElement="_BPMNShape_ExclusiveGateway_241" targetElement="_BPMNShape_EndEvent_241">\r
-        <di:waypoint xsi:type="dc:Point" x="650.0" y="139.0"/>\r
-        <di:waypoint xsi:type="dc:Point" x="733.0" y="140.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="22.0" width="22.0" x="664.0" y="140.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNEdge>\r
-      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_241" bpmnElement="EndEvent_4">\r
-        <dc:Bounds height="36.0" width="36.0" x="733.0" y="122.0"/>\r
-        <bpmndi:BPMNLabel>\r
-          <dc:Bounds height="0.0" width="0.0" x="751.0" y="163.0"/>\r
-        </bpmndi:BPMNLabel>\r
-      </bpmndi:BPMNShape>\r
-    </bpmndi:BPMNPlane>\r
-  </bpmndi:BPMNDiagram>\r
+]]></bpmn2:script>
+      </bpmn2:scriptTask>
+      <bpmn2:startEvent id="StartEvent_3">
+        <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
+        <bpmn2:errorEventDefinition id="ErrorEventDefinition_2"/>
+      </bpmn2:startEvent>
+      <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="StartEvent_3" targetRef="processJavaError"/>
+      <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="processJavaError" targetRef="EndEvent_2"/>
+    </bpmn2:subProcess>
+    <bpmn2:startEvent id="StartEvent_1">
+      <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
+    </bpmn2:startEvent>
+    <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="initialization"/>
+    <bpmn2:scriptTask id="initialization" name="Initialization" scriptFormat="groovy">
+      <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
+      <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
+      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
+GenericDeleteService deleteService  = new GenericDeleteService()
+deleteService.preProcessRequest(execution)
+]]></bpmn2:script>
+    </bpmn2:scriptTask>
+    <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="initialization" targetRef="resourceVersionCheck"/>
+    <bpmn2:exclusiveGateway id="resourceVersionCheck" name="Resource Version Provided?" default="yes">
+      <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
+      <bpmn2:outgoing>no</bpmn2:outgoing>
+      <bpmn2:outgoing>yes</bpmn2:outgoing>
+    </bpmn2:exclusiveGateway>
+    <bpmn2:sequenceFlow id="no" name="No" sourceRef="resourceVersionCheck" targetRef="queryForResourceVersion">
+      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("GENDS_resourceVersionProvidedFlag" ) == false}]]></bpmn2:conditionExpression>
+    </bpmn2:sequenceFlow>
+    <bpmn2:sequenceFlow id="yes" name="Yes" sourceRef="resourceVersionCheck" targetRef="ExclusiveGateway_2"/>
+    <bpmn2:scriptTask id="toggleSuccess" name="Toggle Success Indicator" scriptFormat="groovy">
+      <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
+      <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
+      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
+GenericDeleteService deleteService  = new GenericDeleteService()
+deleteService.setSuccessIndicator(execution, true)
+
+execution.setVariable("WorkflowResponse", " ")  //for junits
+]]></bpmn2:script>
+    </bpmn2:scriptTask>
+    <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="toggleSuccess" targetRef="EndEvent_1"/>
+    <bpmn2:exclusiveGateway id="ExclusiveGateway_2">
+      <bpmn2:incoming>yes</bpmn2:incoming>
+      <bpmn2:incoming>siExistYes</bpmn2:incoming>
+      <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
+    </bpmn2:exclusiveGateway>
+    <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="ExclusiveGateway_2" targetRef="deleteServiceInstance"/>
+    <bpmn2:endEvent id="EndEvent_1">
+      <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
+      <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_24"/>
+    </bpmn2:endEvent>
+    <bpmn2:scriptTask id="deleteServiceInstance" name="DELETE&#xD;&#xA;Service Instance" scriptFormat="groovy">
+      <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
+      <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
+      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
+GenericDeleteService deleteService  = new GenericDeleteService()
+deleteService.deleteServiceObject(execution)]]></bpmn2:script>
+    </bpmn2:scriptTask>
+    <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="deleteServiceInstance" targetRef="toggleSuccess"/>
+    <bpmn2:scriptTask id="queryForResourceVersion" name="Query SI Resource Version" scriptFormat="groovy">
+      <bpmn2:incoming>no</bpmn2:incoming>
+      <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
+      <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
+GenericDeleteService deleteService  = new GenericDeleteService()
+deleteService.getServiceResourceVersion(execution)]]></bpmn2:script>
+    </bpmn2:scriptTask>
+    <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="queryForResourceVersion" targetRef="siExistCheck"/>
+    <bpmn2:exclusiveGateway id="siExistCheck" name="Service Exist?">
+      <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
+      <bpmn2:outgoing>siExistYes</bpmn2:outgoing>
+      <bpmn2:outgoing>siExistNo</bpmn2:outgoing>
+    </bpmn2:exclusiveGateway>
+    <bpmn2:sequenceFlow id="siExistYes" name="Yes" sourceRef="siExistCheck" targetRef="ExclusiveGateway_2">
+      <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("GENDS_FoundIndicator" ) == true}]]></bpmn2:conditionExpression>
+    </bpmn2:sequenceFlow>
+    <bpmn2:sequenceFlow id="siExistNo" name="No" sourceRef="siExistCheck" targetRef="EndEvent_4"/>
+    <bpmn2:endEvent id="EndEvent_4">
+      <bpmn2:incoming>siExistNo</bpmn2:incoming>
+      <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_38"/>
+    </bpmn2:endEvent>
+  </bpmn2:process>
+  <bpmn2:error id="Error_1" errorCode="MSOWorkflowException" name="MSO Workflow Exception"/>
+  <bpmndi:BPMNDiagram id="BPMNDiagram_1">
+    <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="GenericDeleteService">
+      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_63" bpmnElement="StartEvent_1">
+        <dc:Bounds height="36.0" width="36.0" x="84.0" y="221.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="0.0" width="0.0" x="102.0" y="262.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_267" bpmnElement="initialization">
+        <dc:Bounds height="80.0" width="100.0" x="216.0" y="199.0"/>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_224" bpmnElement="resourceVersionCheck" isMarkerVisible="true">
+        <dc:Bounds height="50.0" width="50.0" x="365.0" y="213.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="22.0" width="169.0" x="401.0" y="243.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_268" bpmnElement="queryForResourceVersion">
+        <dc:Bounds height="80.0" width="100.0" x="457.0" y="100.0"/>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_225" bpmnElement="ExclusiveGateway_2" isMarkerVisible="true">
+        <dc:Bounds height="50.0" width="50.0" x="600.0" y="213.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="0.0" width="0.0" x="625.0" y="268.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_269" bpmnElement="deleteServiceInstance">
+        <dc:Bounds height="80.0" width="100.0" x="684.0" y="199.0"/>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_213" bpmnElement="EndEvent_1">
+        <dc:Bounds height="36.0" width="36.0" x="1006.0" y="221.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="0.0" width="0.0" x="1024.0" y="262.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_20" bpmnElement="bpmnExceptionHandlingSubProcess" isExpanded="true">
+        <dc:Bounds height="169.0" width="321.0" x="155.0" y="384.0"/>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_63" targetElement="_BPMNShape_ScriptTask_267">
+        <di:waypoint xsi:type="dc:Point" x="120.0" y="239.0"/>
+        <di:waypoint xsi:type="dc:Point" x="216.0" y="239.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="6.0" width="6.0" x="147.0" y="239.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_267" targetElement="_BPMNShape_ExclusiveGateway_224">
+        <di:waypoint xsi:type="dc:Point" x="316.0" y="239.0"/>
+        <di:waypoint xsi:type="dc:Point" x="365.0" y="238.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="6.0" width="6.0" x="217.0" y="238.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="no" sourceElement="_BPMNShape_ExclusiveGateway_224" targetElement="_BPMNShape_ScriptTask_268">
+        <di:waypoint xsi:type="dc:Point" x="390.0" y="213.0"/>
+        <di:waypoint xsi:type="dc:Point" x="390.0" y="140.0"/>
+        <di:waypoint xsi:type="dc:Point" x="457.0" y="140.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="22.0" width="22.0" x="392.0" y="179.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_268" targetElement="_BPMNShape_ExclusiveGateway_241">
+        <di:waypoint xsi:type="dc:Point" x="557.0" y="140.0"/>
+        <di:waypoint xsi:type="dc:Point" x="600.0" y="139.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="6.0" width="6.0" x="492.0" y="140.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ExclusiveGateway_225" targetElement="_BPMNShape_ScriptTask_269">
+        <di:waypoint xsi:type="dc:Point" x="650.0" y="238.0"/>
+        <di:waypoint xsi:type="dc:Point" x="684.0" y="239.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="6.0" width="6.0" x="556.0" y="239.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ScriptTask_269" targetElement="_BPMNShape_ScriptTask_272">
+        <di:waypoint xsi:type="dc:Point" x="784.0" y="239.0"/>
+        <di:waypoint xsi:type="dc:Point" x="826.0" y="239.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="6.0" width="6.0" x="778.0" y="239.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="yes" sourceElement="_BPMNShape_ExclusiveGateway_224" targetElement="_BPMNShape_ExclusiveGateway_225">
+        <di:waypoint xsi:type="dc:Point" x="390.0" y="263.0"/>
+        <di:waypoint xsi:type="dc:Point" x="390.0" y="310.0"/>
+        <di:waypoint xsi:type="dc:Point" x="517.0" y="310.0"/>
+        <di:waypoint xsi:type="dc:Point" x="625.0" y="310.0"/>
+        <di:waypoint xsi:type="dc:Point" x="625.0" y="263.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="22.0" width="29.0" x="389.0" y="278.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="_BPMNShape_SubProcess_23" bpmnElement="javaExceptionSubProcess" isExpanded="true">
+        <dc:Bounds height="157.0" width="306.0" x="163.0" y="576.0"/>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_65" bpmnElement="StartEvent_2">
+        <dc:Bounds height="36.0" width="36.0" x="180.0" y="451.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="0.0" width="0.0" x="198.0" y="492.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_StartEvent_66" bpmnElement="StartEvent_3">
+        <dc:Bounds height="36.0" width="36.0" x="192.0" y="637.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="0.0" width="0.0" x="210.0" y="678.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_216" bpmnElement="EndEvent_2">
+        <dc:Bounds height="36.0" width="36.0" x="408.0" y="637.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="0.0" width="0.0" x="426.0" y="678.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_217" bpmnElement="EndEvent_3">
+        <dc:Bounds height="36.0" width="36.0" x="420.0" y="451.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="0.0" width="0.0" x="438.0" y="492.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_270" bpmnElement="processError">
+        <dc:Bounds height="80.0" width="100.0" x="266.0" y="429.0"/>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_271" bpmnElement="processJavaError">
+        <dc:Bounds height="80.0" width="100.0" x="267.0" y="615.0"/>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_StartEvent_65" targetElement="_BPMNShape_ScriptTask_270">
+        <di:waypoint xsi:type="dc:Point" x="216.0" y="469.0"/>
+        <di:waypoint xsi:type="dc:Point" x="266.0" y="469.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="6.0" width="6.0" x="232.0" y="469.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_ScriptTask_270" targetElement="_BPMNShape_EndEvent_217">
+        <di:waypoint xsi:type="dc:Point" x="366.0" y="469.0"/>
+        <di:waypoint xsi:type="dc:Point" x="420.0" y="469.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="6.0" width="6.0" x="384.0" y="469.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_StartEvent_66" targetElement="_BPMNShape_ScriptTask_271">
+        <di:waypoint xsi:type="dc:Point" x="228.0" y="655.0"/>
+        <di:waypoint xsi:type="dc:Point" x="267.0" y="655.0"/>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_ScriptTask_271" targetElement="_BPMNShape_EndEvent_216">
+        <di:waypoint xsi:type="dc:Point" x="367.0" y="655.0"/>
+        <di:waypoint xsi:type="dc:Point" x="408.0" y="655.0"/>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_272" bpmnElement="toggleSuccess">
+        <dc:Bounds height="80.0" width="100.0" x="826.0" y="199.0"/>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ScriptTask_272" targetElement="_BPMNShape_EndEvent_213">
+        <di:waypoint xsi:type="dc:Point" x="926.0" y="239.0"/>
+        <di:waypoint xsi:type="dc:Point" x="1006.0" y="239.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="6.0" width="6.0" x="828.0" y="239.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_241" bpmnElement="siExistCheck" isMarkerVisible="true">
+        <dc:Bounds height="50.0" width="50.0" x="600.0" y="114.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="22.0" width="59.0" x="596.0" y="94.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="siExistYes" sourceElement="_BPMNShape_ExclusiveGateway_241" targetElement="_BPMNShape_ExclusiveGateway_225">
+        <di:waypoint xsi:type="dc:Point" x="625.0" y="164.0"/>
+        <di:waypoint xsi:type="dc:Point" x="625.0" y="213.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="22.0" width="29.0" x="624.0" y="168.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="siExistNo" sourceElement="_BPMNShape_ExclusiveGateway_241" targetElement="_BPMNShape_EndEvent_241">
+        <di:waypoint xsi:type="dc:Point" x="650.0" y="139.0"/>
+        <di:waypoint xsi:type="dc:Point" x="733.0" y="140.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="22.0" width="22.0" x="664.0" y="140.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNEdge>
+      <bpmndi:BPMNShape id="_BPMNShape_EndEvent_241" bpmnElement="EndEvent_4">
+        <dc:Bounds height="36.0" width="36.0" x="733.0" y="122.0"/>
+        <bpmndi:BPMNLabel>
+          <dc:Bounds height="0.0" width="0.0" x="751.0" y="163.0"/>
+        </bpmndi:BPMNLabel>
+      </bpmndi:BPMNShape>
+    </bpmndi:BPMNPlane>
+  </bpmndi:BPMNDiagram>
 </bpmn2:definitions>
\ No newline at end of file