1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
3 <bpmn2:process id="DoDeleteNetworkInstance" name="DoDeleteNetworkInstance" isExecutable="true">
4 <bpmn2:startEvent id="deleteNetwork_startEvent" name="Start Flow">
5 <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
7 <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="deleteNetwork_startEvent" targetRef="ScriptTask_01w2cd9" />
8 <bpmn2:scriptTask id="callAAIQuery_scriptTask" name="Call REST Query In AAI" scriptFormat="groovy">
9 <bpmn2:incoming>SequenceFlow_0msqfwu</bpmn2:incoming>
10 <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
11 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
12 def callRESTDeleteAAI = new DoDeleteNetworkInstance()
13 callRESTDeleteAAI.callRESTQueryAAI(execution)]]></bpmn2:script>
15 <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="callAAIQuery_scriptTask" targetRef="isRelationshipExists_ExclusiveGateway" />
16 <bpmn2:callActivity id="callDeleteSDNCAdapter_CallActivity" name="Call SDNC Unassign Adapter V1 Sub-process" calledElement="sdncAdapter">
17 <bpmn2:extensionElements>
18 <camunda:in source="DELNWKI_deleteSDNCRequest" target="sdncAdapterWorkflowRequest" />
19 <camunda:out source="sdncAdapterResponse" target="DELNWKI_deleteSDNCResponse" />
20 <camunda:out source="SDNCA_ResponseCode" target="DELNWKI_sdncReturnCode" />
21 <camunda:in source="mso-request-id" target="mso-request-id" />
22 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
23 <camunda:out source="WorkflowException" target="WorkflowException" />
24 <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
25 </bpmn2:extensionElements>
26 <bpmn2:incoming>SequenceFlow_1pdp4d2</bpmn2:incoming>
27 <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>
29 <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="callDeleteSDNCAdapter_CallActivity" targetRef="validateSDNCResponse_ScriptTask" />
30 <bpmn2:scriptTask id="validateSDNCResponse_ScriptTask" name="Validate SDNC Response" scriptFormat="groovy">
31 <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>
32 <bpmn2:incoming>SequenceFlow_1jnva78</bpmn2:incoming>
33 <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
34 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
35 def validateSDNCResponse = new DoDeleteNetworkInstance()
36 validateSDNCResponse.validateSDNCResponse(execution)
39 <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="validateSDNCResponse_ScriptTask" targetRef="isSdncTopoDeleteOk_ExclusiveGateway" />
40 <bpmn2:boundaryEvent id="BoundaryEvent_1" name="" attachedToRef="validateSDNCResponse_ScriptTask">
41 <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
42 <bpmn2:errorEventDefinition id="_ErrorEventDefinition_87" errorRef="Error_3" />
43 </bpmn2:boundaryEvent>
44 <bpmn2:sequenceFlow id="SequenceFlow_8" name="" sourceRef="BoundaryEvent_1" targetRef="sndcError_EndEvent" />
45 <bpmn2:exclusiveGateway id="isSdncTopoDeleteOk_ExclusiveGateway" name="Is SDNC Unassign Ok?" default="sdncTopoDeleteNo_SequenceFlow">
46 <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
47 <bpmn2:outgoing>sdncTopoDeleteNo_SequenceFlow</bpmn2:outgoing>
48 <bpmn2:outgoing>sdncTopoDeleteYes_SequenceFlow</bpmn2:outgoing>
49 </bpmn2:exclusiveGateway>
50 <bpmn2:endEvent id="sndcError_EndEvent" name="SNDC Error">
51 <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
52 <bpmn2:incoming>sdncTopoDeleteNo_SequenceFlow</bpmn2:incoming>
53 <bpmn2:errorEventDefinition id="_ErrorEventDefinition_57" errorRef="Error_3" />
55 <bpmn2:sequenceFlow id="sdncTopoDeleteNo_SequenceFlow" name="No" sourceRef="isSdncTopoDeleteOk_ExclusiveGateway" targetRef="sndcError_EndEvent" />
56 <bpmn2:sequenceFlow id="sdncTopoDeleteYes_SequenceFlow" name="Yes" sourceRef="isSdncTopoDeleteOk_ExclusiveGateway" targetRef="ScriptTask_01xjfhu">
57 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELNWKI_sdncResponseSuccess" ) == true}]]></bpmn2:conditionExpression>
59 <bpmn2:subProcess id="subProcessException_SubProcess" name="Subprocess For Exception" triggeredByEvent="true">
60 <bpmn2:startEvent id="subProcessStart_StartEvent" name="Fault Start">
61 <bpmn2:outgoing>SequenceFlow_1a51h25</bpmn2:outgoing>
62 <bpmn2:errorEventDefinition id="ErrorEventDefinition_1" errorRef="Error_3" />
64 <bpmn2:endEvent id="EndEvent_2">
65 <bpmn2:incoming>SequenceFlow_1yvnovn</bpmn2:incoming>
67 <bpmn2:scriptTask id="ScriptTask_00lgy9f" name="PostProcess Response" scriptFormat="groovy">
68 <bpmn2:incoming>SequenceFlow_1nl99y6</bpmn2:incoming>
69 <bpmn2:outgoing>SequenceFlow_1yvnovn</bpmn2:outgoing>
70 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
71 def DoDeleteNetworkInstance = new DoDeleteNetworkInstance()
72 DoDeleteNetworkInstance.postProcessResponse(execution)
75 <bpmn2:sequenceFlow id="SequenceFlow_1a51h25" sourceRef="subProcessStart_StartEvent" targetRef="Task_0026x4v" />
76 <bpmn2:sequenceFlow id="SequenceFlow_1yvnovn" sourceRef="ScriptTask_00lgy9f" targetRef="EndEvent_2" />
77 <bpmn2:scriptTask id="ScriptTask_0n4do0p" name="Prepare SDNC RPC Rollback Deactivate" scriptFormat="groovy">
78 <bpmn2:outgoing>SequenceFlow_1wif0e5</bpmn2:outgoing>
79 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
80 def DoDeleteNetworkInstance = new DoDeleteNetworkInstance()
81 DoDeleteNetworkInstance.prepareRpcSDNCDeactivateRollback(execution)]]></bpmn2:script>
83 <bpmn2:exclusiveGateway id="ExclusiveGateway_1gix2o6" name="Is Rollback On?">
84 <bpmn2:incoming>SequenceFlow_021b0sz</bpmn2:incoming>
85 <bpmn2:outgoing>SequenceFlow_0tiz0kk</bpmn2:outgoing>
86 <bpmn2:outgoing>SequenceFlow_1suj1nc</bpmn2:outgoing>
87 </bpmn2:exclusiveGateway>
88 <bpmn2:sequenceFlow id="SequenceFlow_0tiz0kk" name="Yes" sourceRef="ExclusiveGateway_1gix2o6" targetRef="ExclusiveGateway_1x7o5bo">
89 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELNWKI_rollbackEnabled") == true}]]></bpmn2:conditionExpression>
91 <bpmn2:sequenceFlow id="SequenceFlow_1suj1nc" name="No" sourceRef="ExclusiveGateway_1gix2o6" targetRef="ExclusiveGateway_01xin16" />
92 <bpmn2:callActivity id="CallActivity_0lku52d" name="DoDelete NetworkInstanceRollback " calledElement="DoDeleteNetworkInstanceRollback">
93 <bpmn2:extensionElements>
94 <camunda:in source="msoRequestId" target="msoRequestId" />
95 <camunda:out source="rolledBack" target="rolledBack" />
96 <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
97 <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
98 <camunda:in source="rollbackData" target="rollbackData" />
99 <camunda:in source="mso-request-id" target="mso-request-id" />
100 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
101 <camunda:in source="WorkflowException" target="WorkflowException" />
102 <camunda:in source="sdncVersion" target="sdncVersion" />
103 <camunda:out source="workflowException" target="workflowException" />
104 <camunda:in source="SavedWorkflowException1" target="SavedWorkflowException1" />
105 <camunda:out source="wasDeleted" target="wasDeleted" />
106 </bpmn2:extensionElements>
107 <bpmn2:incoming>SequenceFlow_147vc14</bpmn2:incoming>
108 </bpmn2:callActivity>
109 <bpmn2:exclusiveGateway id="ExclusiveGateway_1x7o5bo" name="is SDNC Rollback Needed? " default="SequenceFlow_1raa09h">
110 <bpmn2:incoming>SequenceFlow_0tiz0kk</bpmn2:incoming>
111 <bpmn2:outgoing>SequenceFlow_0jb7rws</bpmn2:outgoing>
112 <bpmn2:outgoing>SequenceFlow_1raa09h</bpmn2:outgoing>
113 </bpmn2:exclusiveGateway>
114 <bpmn2:sequenceFlow id="SequenceFlow_0jb7rws" name="Yes" sourceRef="ExclusiveGateway_1x7o5bo" targetRef="ExclusiveGateway_01xin16">
115 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELNWKI_isSdncDeactivateRollbackNeeded") == true}]]></bpmn2:conditionExpression>
116 </bpmn2:sequenceFlow>
117 <bpmn2:inclusiveGateway id="ExclusiveGateway_01xin16">
118 <bpmn2:incoming>SequenceFlow_1suj1nc</bpmn2:incoming>
119 <bpmn2:incoming>SequenceFlow_1raa09h</bpmn2:incoming>
120 <bpmn2:incoming>SequenceFlow_0jb7rws</bpmn2:incoming>
121 <bpmn2:outgoing>SequenceFlow_1nl99y6</bpmn2:outgoing>
122 </bpmn2:inclusiveGateway>
123 <bpmn2:sequenceFlow id="SequenceFlow_1raa09h" sourceRef="ExclusiveGateway_1x7o5bo" targetRef="ExclusiveGateway_01xin16" />
124 <bpmn2:sequenceFlow id="SequenceFlow_1nl99y6" sourceRef="ExclusiveGateway_01xin16" targetRef="ScriptTask_00lgy9f" />
125 <bpmn2:scriptTask id="ScriptTask_0n4ya47" name="Prepare RollbackData" scriptFormat="groovy">
126 <bpmn2:incoming>SequenceFlow_1wif0e5</bpmn2:incoming>
127 <bpmn2:outgoing>SequenceFlow_147vc14</bpmn2:outgoing>
128 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
129 def DoDeleteNetworkInstance = new DoDeleteNetworkInstance()
130 DoDeleteNetworkInstance.prepareRollbackData(execution)]]></bpmn2:script>
132 <bpmn2:sequenceFlow id="SequenceFlow_1wif0e5" sourceRef="ScriptTask_0n4do0p" targetRef="ScriptTask_0n4ya47" />
133 <bpmn2:sequenceFlow id="SequenceFlow_147vc14" sourceRef="ScriptTask_0n4ya47" targetRef="CallActivity_0lku52d" />
134 <bpmn2:sequenceFlow id="SequenceFlow_021b0sz" sourceRef="Task_0026x4v" targetRef="ExclusiveGateway_1gix2o6" />
135 <bpmn2:scriptTask id="Task_0026x4v" name="Set Exception Flag" scriptFormat="groovy">
136 <bpmn2:incoming>SequenceFlow_1a51h25</bpmn2:incoming>
137 <bpmn2:outgoing>SequenceFlow_021b0sz</bpmn2:outgoing>
138 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
139 def DoDeleteNetworkInstance = new DoDeleteNetworkInstance()
140 DoDeleteNetworkInstance.setExceptionFlag(execution)]]></bpmn2:script>
142 <bpmn2:textAnnotation id="TextAnnotation_0i06ryl"> <bpmn2:text>Rollback Not Needed for Delete.</bpmn2:text>
143 </bpmn2:textAnnotation>
144 <bpmn2:association id="Association_0gzsxad" sourceRef="CallActivity_0lku52d" targetRef="TextAnnotation_0i06ryl" />
146 <bpmn2:exclusiveGateway id="isAAIQueryOk_ExclusiveGateway_2" name="Is AAI Query Ok?" default="querySuccessNo_SequenceFlow">
147 <bpmn2:incoming>isRelationshipExistNo_SequenceFlow</bpmn2:incoming>
148 <bpmn2:outgoing>querySuccessYes_SequenceFlow</bpmn2:outgoing>
149 <bpmn2:outgoing>querySuccessNo_SequenceFlow</bpmn2:outgoing>
150 </bpmn2:exclusiveGateway>
151 <bpmn2:sequenceFlow id="querySuccessYes_SequenceFlow" name="Yes" sourceRef="isAAIQueryOk_ExclusiveGateway_2" targetRef="isResponseEmpty_ExclusiveGateway_2">
152 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELNWKI_isAAIGood") == true}]]></bpmn2:conditionExpression>
153 </bpmn2:sequenceFlow>
154 <bpmn2:sequenceFlow id="querySuccessNo_SequenceFlow" name="No" sourceRef="isAAIQueryOk_ExclusiveGateway_2" targetRef="isReturnCode404_ExclusiveGateway" />
155 <bpmn2:exclusiveGateway id="isReturnCode404_ExclusiveGateway" name="Is Return Code 404?" default="isReturnCode404_No_SequenceFlow">
156 <bpmn2:incoming>querySuccessNo_SequenceFlow</bpmn2:incoming>
157 <bpmn2:outgoing>isReturnCode404_No_SequenceFlow</bpmn2:outgoing>
158 <bpmn2:outgoing>isReturnCode404_Yes_SequenceFlow</bpmn2:outgoing>
159 </bpmn2:exclusiveGateway>
160 <bpmn2:sequenceFlow id="isReturnCode404_No_SequenceFlow" name="No" sourceRef="isReturnCode404_ExclusiveGateway" targetRef="aai_Error_EndEvent" />
161 <bpmn2:sequenceFlow id="isReturnCode404_Yes_SequenceFlow" name="Yes" sourceRef="isReturnCode404_ExclusiveGateway" targetRef="silentSucces_InclusiveGateway">
162 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELNWKI_aaiReturnCode" ) == "404"}]]></bpmn2:conditionExpression>
163 </bpmn2:sequenceFlow>
164 <bpmn2:endEvent id="aai_Error_EndEvent" name="AAI Error">
165 <bpmn2:incoming>isReturnCode404_No_SequenceFlow</bpmn2:incoming>
166 <bpmn2:errorEventDefinition id="_ErrorEventDefinition_53" errorRef="Error_3" />
168 <bpmn2:exclusiveGateway id="isResponseEmpty_ExclusiveGateway_2" name="Is Resp Empty?" default="isResponseEmptyNo_SequenceFlow">
169 <bpmn2:incoming>querySuccessYes_SequenceFlow</bpmn2:incoming>
170 <bpmn2:outgoing>isResponseEmptyNo_SequenceFlow</bpmn2:outgoing>
171 <bpmn2:outgoing>isResponseEmptyYes_SequenceFlow</bpmn2:outgoing>
172 </bpmn2:exclusiveGateway>
173 <bpmn2:sequenceFlow id="isResponseEmptyNo_SequenceFlow" name="No" sourceRef="isResponseEmpty_ExclusiveGateway_2" targetRef="callRESTQueryCloudRegion_ScriptTask" />
174 <bpmn2:sequenceFlow id="isResponseEmptyYes_SequenceFlow" name="Yes" sourceRef="isResponseEmpty_ExclusiveGateway_2" targetRef="silentSucces_InclusiveGateway">
175 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELNWKI_isSilentSuccess") == true}]]></bpmn2:conditionExpression>
176 </bpmn2:sequenceFlow>
177 <bpmn2:inclusiveGateway id="silentSucces_InclusiveGateway" name="Joint">
178 <bpmn2:incoming>isReturnCode404_Yes_SequenceFlow</bpmn2:incoming>
179 <bpmn2:incoming>isResponseEmptyYes_SequenceFlow</bpmn2:incoming>
180 <bpmn2:outgoing>silentSuccess_SequenceFlow</bpmn2:outgoing>
181 </bpmn2:inclusiveGateway>
182 <bpmn2:sequenceFlow id="silentSuccess_SequenceFlow" name="Silent Success" sourceRef="silentSucces_InclusiveGateway" targetRef="ScriptTask_0dtzzht" />
183 <bpmn2:endEvent id="EndEvent_1">
184 <bpmn2:incoming>SequenceFlow_0f25bme</bpmn2:incoming>
186 <bpmn2:scriptTask id="callRESTQueryCloudRegion_ScriptTask" name="Call REST Query Cloud Region " scriptFormat="groovy">
187 <bpmn2:incoming>isResponseEmptyNo_SequenceFlow</bpmn2:incoming>
188 <bpmn2:outgoing>SequenceFlow_30</bpmn2:outgoing>
189 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
190 def deleteNetMod = new DoDeleteNetworkInstance()
191 deleteNetMod.callRESTQueryAAICloudRegion(execution)]]></bpmn2:script>
193 <bpmn2:sequenceFlow id="SequenceFlow_30" name="" sourceRef="callRESTQueryCloudRegion_ScriptTask" targetRef="prepareNetworkRequest_ScriptTask" />
194 <bpmn2:exclusiveGateway id="isRelationshipExists_ExclusiveGateway" name="Is Relationship Exists?" default="isRelationshipExistNo_SequenceFlow">
195 <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
196 <bpmn2:outgoing>isRelationshipExistNo_SequenceFlow</bpmn2:outgoing>
197 <bpmn2:outgoing>isRelationshipExistYes_SequenceFlow</bpmn2:outgoing>
198 </bpmn2:exclusiveGateway>
199 <bpmn2:sequenceFlow id="isRelationshipExistNo_SequenceFlow" name="No" sourceRef="isRelationshipExists_ExclusiveGateway" targetRef="isAAIQueryOk_ExclusiveGateway_2" />
200 <bpmn2:sequenceFlow id="isRelationshipExistYes_SequenceFlow" name="Yes" sourceRef="isRelationshipExists_ExclusiveGateway" targetRef="relationshipError_EndEvent">
201 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELNWKI_isVfRelationshipExist") == true}]]></bpmn2:conditionExpression>
202 </bpmn2:sequenceFlow>
203 <bpmn2:endEvent id="relationshipError_EndEvent" name="Relationship Error">
204 <bpmn2:incoming>isRelationshipExistYes_SequenceFlow</bpmn2:incoming>
205 <bpmn2:errorEventDefinition id="_ErrorEventDefinition_89" errorRef="Error_3" />
207 <bpmn2:endEvent id="EndEvent_3">
208 <bpmn2:incoming>SequenceFlow_1pbgnr2</bpmn2:incoming>
210 <bpmn2:scriptTask id="prepareSDNCTopoRequest_ScriptTask" name="Prepare SDNC Topology Request" scriptFormat="groovy">
211 <bpmn2:incoming>SequenceFlow_0r3pvf8</bpmn2:incoming>
212 <bpmn2:outgoing>SequenceFlow_1pdp4d2</bpmn2:outgoing>
213 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
214 def prepareSDNCRequest = new DoDeleteNetworkInstance()
215 prepareSDNCRequest.prepareSDNCRequest(execution)
218 <bpmn2:scriptTask id="validateDeletePONetwork_ScriptTask" name="Validate Delete PO Network" scriptFormat="groovy">
219 <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
220 <bpmn2:outgoing>SequenceFlow_20</bpmn2:outgoing>
221 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
222 def validateNetworkResponse = new DoDeleteNetworkInstance()
223 validateNetworkResponse.validateNetworkResponse(execution)]]></bpmn2:script>
225 <bpmn2:sequenceFlow id="SequenceFlow_20" name="" sourceRef="validateDeletePONetwork_ScriptTask" targetRef="ExclusiveGateway_02t94x3" />
226 <bpmn2:scriptTask id="prepareNetworkRequest_ScriptTask" name="Prepare Network Request" scriptFormat="groovy">
227 <bpmn2:incoming>SequenceFlow_30</bpmn2:incoming>
228 <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>
229 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
230 def prepareNetworkRequest = new DoDeleteNetworkInstance()
231 prepareNetworkRequest.prepareNetworkRequest(execution)
234 <bpmn2:sequenceFlow id="SequenceFlow_15" name="" sourceRef="prepareNetworkRequest_ScriptTask" targetRef="sendRequestToNewworkAdapater_ScriptTask" />
235 <bpmn2:scriptTask id="sendRequestToNewworkAdapater_ScriptTask" name="Send Request to Network Adapter" scriptFormat="groovy">
236 <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>
237 <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
238 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
239 def prepareNetworkRequest = new DoDeleteNetworkInstance()
240 prepareNetworkRequest.sendRequestToVnfAdapter(execution)]]></bpmn2:script>
242 <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="sendRequestToNewworkAdapater_ScriptTask" targetRef="validateDeletePONetwork_ScriptTask" />
243 <bpmn2:subProcess id="SubProcess_1" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
244 <bpmn2:startEvent id="StartEvent_1">
245 <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>
246 <bpmn2:errorEventDefinition id="_ErrorEventDefinition_91" errorRef="Error_1" />
248 <bpmn2:endEvent id="EndEvent_4">
249 <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>
251 <bpmn2:scriptTask id="unexpectedError_DeleteNetworkInfra_ScriptTask_1" name="Log / Print Unexpected Error" scriptFormat="groovy">
252 <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>
253 <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>
254 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
255 def deleteNetMod = new DoDeleteNetworkInstance()
256 deleteNetMod.processJavaException(execution)]]></bpmn2:script>
258 <bpmn2:sequenceFlow id="SequenceFlow_13" name="" sourceRef="StartEvent_1" targetRef="unexpectedError_DeleteNetworkInfra_ScriptTask_1" />
259 <bpmn2:sequenceFlow id="SequenceFlow_17" name="" sourceRef="unexpectedError_DeleteNetworkInfra_ScriptTask_1" targetRef="EndEvent_4" />
261 <bpmn2:scriptTask id="ScriptTask_01xjfhu" name="PostProcess Response" scriptFormat="groovy">
262 <bpmn2:incoming>sdncTopoDeleteYes_SequenceFlow</bpmn2:incoming>
263 <bpmn2:outgoing>SequenceFlow_1pbgnr2</bpmn2:outgoing>
264 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
265 def DoDeleteNetworkInstance = new DoDeleteNetworkInstance()
266 DoDeleteNetworkInstance.postProcessResponse(execution)
269 <bpmn2:sequenceFlow id="SequenceFlow_1pbgnr2" sourceRef="ScriptTask_01xjfhu" targetRef="EndEvent_3" />
270 <bpmn2:sequenceFlow id="SequenceFlow_1pdp4d2" sourceRef="prepareSDNCTopoRequest_ScriptTask" targetRef="callDeleteSDNCAdapter_CallActivity" />
271 <bpmn2:exclusiveGateway id="ExclusiveGateway_02t94x3" name="is not '1610' SNDC Call?" default="SequenceFlow_0r3pvf8">
272 <bpmn2:incoming>SequenceFlow_20</bpmn2:incoming>
273 <bpmn2:outgoing>SequenceFlow_0r3pvf8</bpmn2:outgoing>
274 <bpmn2:outgoing>SequenceFlow_0kqnddy</bpmn2:outgoing>
275 </bpmn2:exclusiveGateway>
276 <bpmn2:sequenceFlow id="SequenceFlow_0r3pvf8" name="No" sourceRef="ExclusiveGateway_02t94x3" targetRef="prepareSDNCTopoRequest_ScriptTask" />
277 <bpmn2:scriptTask id="ScriptTask_0iqzbz6" name="Prepare RSRC SDNC Unassign Request" scriptFormat="groovy">
278 <bpmn2:incoming>SequenceFlow_0f13b17</bpmn2:incoming>
279 <bpmn2:outgoing>SequenceFlow_0zlbzad</bpmn2:outgoing>
280 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
281 def prepareSDNCRequest = new DoDeleteNetworkInstance()
282 prepareSDNCRequest.prepareRpcSDNCRequest(execution)
285 <bpmn2:callActivity id="CallActivity_03wzdas" name="Call RSRC SDNC Unassign Adapter V1 " calledElement="sdncAdapter">
286 <bpmn2:extensionElements>
287 <camunda:in source="DELNWKI_deleteSDNCRequest" target="sdncAdapterWorkflowRequest" />
288 <camunda:in source="mso-request-id" target="mso-request-id" />
289 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
290 <camunda:out source="sdncAdapterResponse" target="DELNWKI_deleteSDNCResponse" />
291 <camunda:out source="SDNCA_ResponseCode" target="DELNWKI_sdncReturnCode" />
292 <camunda:out source="WorkflowException" target="WorkflowException" />
293 <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
294 </bpmn2:extensionElements>
295 <bpmn2:incoming>SequenceFlow_0zlbzad</bpmn2:incoming>
296 <bpmn2:outgoing>SequenceFlow_1jnva78</bpmn2:outgoing>
297 </bpmn2:callActivity>
298 <bpmn2:sequenceFlow id="SequenceFlow_1jnva78" sourceRef="CallActivity_03wzdas" targetRef="validateSDNCResponse_ScriptTask" />
299 <bpmn2:sequenceFlow id="SequenceFlow_0zlbzad" sourceRef="ScriptTask_0iqzbz6" targetRef="CallActivity_03wzdas" />
300 <bpmn2:sequenceFlow id="SequenceFlow_0kqnddy" name="Yes" sourceRef="ExclusiveGateway_02t94x3" targetRef="ScriptTask_1wf192s">
301 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("sdncVersion") != '1610'} ]]></bpmn2:conditionExpression>
302 </bpmn2:sequenceFlow>
303 <bpmn2:scriptTask id="ScriptTask_01w2cd9" name="PreProcess Incoming Request" scriptFormat="groovy">
304 <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
305 <bpmn2:outgoing>SequenceFlow_0msqfwu</bpmn2:outgoing>
306 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
307 def DoDeleteNetworkInstance = new DoDeleteNetworkInstance()
308 DoDeleteNetworkInstance.preProcessRequest(execution)]]></bpmn2:script>
310 <bpmn2:sequenceFlow id="SequenceFlow_0msqfwu" sourceRef="ScriptTask_01w2cd9" targetRef="callAAIQuery_scriptTask" />
311 <bpmn2:scriptTask id="ScriptTask_0dtzzht" name="PostProcess Response" scriptFormat="groovy">
312 <bpmn2:incoming>silentSuccess_SequenceFlow</bpmn2:incoming>
313 <bpmn2:outgoing>SequenceFlow_0f25bme</bpmn2:outgoing>
314 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
315 def DoDeleteNetworkInstance = new DoDeleteNetworkInstance()
316 DoDeleteNetworkInstance.postProcessResponse(execution)
319 <bpmn2:sequenceFlow id="SequenceFlow_0f25bme" sourceRef="ScriptTask_0dtzzht" targetRef="EndEvent_1" />
320 <bpmn2:callActivity id="CallActivity_0wyu1mx" name="Call RSRC SDNC Deactivate Adapter" calledElement="sdncAdapter">
321 <bpmn2:extensionElements>
322 <camunda:in source="DELNWKI_deactivateSDNCRequest" target="sdncAdapterWorkflowRequest" />
323 <camunda:in source="mso-request-id" target="mso-request-id" />
324 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
325 <camunda:out source="SDNCA_ResponseCode" target="DELNWKI_deactivateSdncReturnCode" />
326 <camunda:out source="sdncAdapterResponse" target="DELNWKI_deactivateSDNCResponse" />
327 <camunda:out source="WorkflowException" target="WorkflowException" />
328 <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
329 </bpmn2:extensionElements>
330 <bpmn2:incoming>SequenceFlow_1o088sy</bpmn2:incoming>
331 <bpmn2:outgoing>SequenceFlow_1i3193l</bpmn2:outgoing>
332 </bpmn2:callActivity>
333 <bpmn2:scriptTask id="ScriptTask_1wf192s" name="Prepare SDNC RSRC Deactivate Request" scriptFormat="groovy">
334 <bpmn2:incoming>SequenceFlow_0kqnddy</bpmn2:incoming>
335 <bpmn2:outgoing>SequenceFlow_1o088sy</bpmn2:outgoing>
336 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
337 def DoDeleteNetworkInstance = new DoDeleteNetworkInstance()
338 DoDeleteNetworkInstance.prepareRpcSDNCDeactivate(execution)]]></bpmn2:script>
340 <bpmn2:sequenceFlow id="SequenceFlow_1o088sy" sourceRef="ScriptTask_1wf192s" targetRef="CallActivity_0wyu1mx" />
341 <bpmn2:exclusiveGateway id="ExclusiveGateway_024qvqd" default="SequenceFlow_1qyo7ot">
342 <bpmn2:incoming>SequenceFlow_0n8sf23</bpmn2:incoming>
343 <bpmn2:outgoing>SequenceFlow_1qyo7ot</bpmn2:outgoing>
344 <bpmn2:outgoing>SequenceFlow_0f13b17</bpmn2:outgoing>
345 </bpmn2:exclusiveGateway>
346 <bpmn2:scriptTask id="ScriptTask_00vwf2h" name="Validate Deactivate SDNC Response" scriptFormat="groovy">
347 <bpmn2:incoming>SequenceFlow_1i3193l</bpmn2:incoming>
348 <bpmn2:outgoing>SequenceFlow_0n8sf23</bpmn2:outgoing>
349 <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.infrastructure.scripts.*
350 def DoDeleteNetworkInstance = new DoDeleteNetworkInstance()
351 DoDeleteNetworkInstance.validateRpcSDNCDeactivateResponse(execution)]]></bpmn2:script>
353 <bpmn2:boundaryEvent id="BoundaryEvent_0un9yyu" name="" attachedToRef="ScriptTask_00vwf2h">
354 <bpmn2:outgoing>SequenceFlow_08hus4u</bpmn2:outgoing>
355 <bpmn2:errorEventDefinition errorRef="Error_3" />
356 </bpmn2:boundaryEvent>
357 <bpmn2:sequenceFlow id="SequenceFlow_1i3193l" sourceRef="CallActivity_0wyu1mx" targetRef="ScriptTask_00vwf2h" />
358 <bpmn2:sequenceFlow id="SequenceFlow_0n8sf23" sourceRef="ScriptTask_00vwf2h" targetRef="ExclusiveGateway_024qvqd" />
359 <bpmn2:sequenceFlow id="SequenceFlow_08hus4u" sourceRef="BoundaryEvent_0un9yyu" targetRef="EndEvent_1l210ae" />
360 <bpmn2:sequenceFlow id="SequenceFlow_1qyo7ot" name="No" sourceRef="ExclusiveGateway_024qvqd" targetRef="EndEvent_1l210ae" />
361 <bpmn2:sequenceFlow id="SequenceFlow_0f13b17" name="Yes" sourceRef="ExclusiveGateway_024qvqd" targetRef="ScriptTask_0iqzbz6">
362 <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DELNWKI_sdncResponseSuccess" ) == true}]]></bpmn2:conditionExpression>
363 </bpmn2:sequenceFlow>
364 <bpmn2:endEvent id="EndEvent_1l210ae">
365 <bpmn2:incoming>SequenceFlow_08hus4u</bpmn2:incoming>
366 <bpmn2:incoming>SequenceFlow_1qyo7ot</bpmn2:incoming>
367 <bpmn2:errorEventDefinition errorRef="Error_3" />
370 <bpmn2:error id="Error_3" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
371 <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
372 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
373 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoDeleteNetworkInstance">
374 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_47" bpmnElement="deleteNetwork_startEvent">
375 <dc:Bounds x="444" y="185" width="36" height="36" />
377 <dc:Bounds x="437" y="226" width="49" height="12" />
380 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_47">
381 <di:waypoint xsi:type="dc:Point" x="480" y="203" />
382 <di:waypoint xsi:type="dc:Point" x="597" y="204" />
384 <dc:Bounds x="539" y="188.5" width="0" height="0" />
387 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_62" bpmnElement="callAAIQuery_scriptTask">
388 <dc:Bounds x="816" y="163" width="100" height="80" />
390 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_62" bpmnElement="isAAIQueryOk_ExclusiveGateway_2" isMarkerVisible="true">
391 <dc:Bounds x="984" y="72" width="50" height="50" />
393 <dc:Bounds x="966" y="44" width="87" height="12" />
396 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_62" targetElement="_BPMNShape_ExclusiveGateway_224">
397 <di:waypoint xsi:type="dc:Point" x="866" y="163" />
398 <di:waypoint xsi:type="dc:Point" x="865" y="122" />
400 <dc:Bounds x="862" y="135" width="6" height="6" />
403 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_63" bpmnElement="validateDeletePONetwork_ScriptTask">
404 <dc:Bounds x="1131" y="509" width="100" height="80" />
406 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="querySuccessYes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_62" targetElement="_BPMNShape_ExclusiveGateway_65">
407 <di:waypoint xsi:type="dc:Point" x="1009" y="122" />
408 <di:waypoint xsi:type="dc:Point" x="1009" y="177" />
410 <dc:Bounds x="1008" y="120" width="29" height="22" />
413 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="querySuccessNo_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_62" targetElement="_BPMNShape_ExclusiveGateway_64">
414 <di:waypoint xsi:type="dc:Point" x="1034" y="97" />
415 <di:waypoint xsi:type="dc:Point" x="1126" y="97" />
417 <dc:Bounds x="1036" y="97" width="22" height="22" />
420 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_64" bpmnElement="isReturnCode404_ExclusiveGateway" isMarkerVisible="true">
421 <dc:Bounds x="1126" y="72" width="50" height="50" />
423 <dc:Bounds x="1115" y="41" width="77" height="24" />
426 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="isReturnCode404_No_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_64" targetElement="_BPMNShape_EndEvent_118">
427 <di:waypoint xsi:type="dc:Point" x="1176" y="97" />
428 <di:waypoint xsi:type="dc:Point" x="1212" y="97" />
429 <di:waypoint xsi:type="dc:Point" x="1212" y="98" />
430 <di:waypoint xsi:type="dc:Point" x="1281" y="98" />
432 <dc:Bounds x="1176" y="97" width="22" height="22" />
435 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="isReturnCode404_Yes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_64" targetElement="_BPMNShape_InclusiveGateway_2">
436 <di:waypoint xsi:type="dc:Point" x="1151" y="122" />
437 <di:waypoint xsi:type="dc:Point" x="1151" y="177" />
439 <dc:Bounds x="1152" y="120" width="29" height="22" />
442 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_65" bpmnElement="isResponseEmpty_ExclusiveGateway_2" isMarkerVisible="true">
443 <dc:Bounds x="984" y="177" width="50" height="50" />
445 <dc:Bounds x="1016" y="163" width="95" height="22" />
448 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="isResponseEmptyNo_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_65" targetElement="_BPMNShape_ScriptTask_250">
449 <di:waypoint xsi:type="dc:Point" x="1009" y="227" />
450 <di:waypoint xsi:type="dc:Point" x="1010" y="269" />
452 <dc:Bounds x="1016" y="227" width="22" height="22" />
455 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="isResponseEmptyYes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_65" targetElement="_BPMNShape_InclusiveGateway_2">
456 <di:waypoint xsi:type="dc:Point" x="1034" y="202" />
457 <di:waypoint xsi:type="dc:Point" x="1126" y="202" />
459 <dc:Bounds x="1034" y="202" width="29" height="22" />
462 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_118" bpmnElement="aai_Error_EndEvent">
463 <dc:Bounds x="1281" y="80" width="36" height="36" />
465 <dc:Bounds x="1270" y="121" width="59" height="22" />
468 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_66" bpmnElement="prepareNetworkRequest_ScriptTask">
469 <dc:Bounds x="1131" y="269" width="100" height="80" />
471 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_15" sourceElement="_BPMNShape_ScriptTask_66" targetElement="_BPMNShape_ScriptTask_242">
472 <di:waypoint xsi:type="dc:Point" x="1181" y="349" />
473 <di:waypoint xsi:type="dc:Point" x="1181" y="387" />
475 <dc:Bounds x="1196" y="368" width="0" height="0" />
478 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_67" bpmnElement="prepareSDNCTopoRequest_ScriptTask">
479 <dc:Bounds x="981" y="718" width="100" height="80" />
481 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_23" bpmnElement="SequenceFlow_20" sourceElement="_BPMNShape_ScriptTask_63" targetElement="_BPMNShape_ScriptTask_67">
482 <di:waypoint xsi:type="dc:Point" x="1180" y="589" />
483 <di:waypoint xsi:type="dc:Point" x="1181" y="648" />
485 <dc:Bounds x="1181" y="603.5" width="0" height="0" />
488 <bpmndi:BPMNShape id="_BPMNShape_SubProcess_16" bpmnElement="subProcessException_SubProcess" isExpanded="true">
489 <dc:Bounds x="-1" y="576" width="902" height="448" />
491 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_50" bpmnElement="subProcessStart_StartEvent">
492 <dc:Bounds x="49" y="896" width="36" height="36" />
494 <dc:Bounds x="43" y="938" width="50" height="12" />
497 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_67" bpmnElement="isSdncTopoDeleteOk_ExclusiveGateway" isMarkerVisible="true">
498 <dc:Bounds x="1156" y="997" width="50" height="50" />
500 <dc:Bounds x="1070" y="1010" width="70" height="24" />
503 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_26" bpmnElement="sdncTopoDeleteNo_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_67" targetElement="_BPMNShape_EndEvent_124">
504 <di:waypoint xsi:type="dc:Point" x="1206" y="1022" />
505 <di:waypoint xsi:type="dc:Point" x="1244" y="1022" />
506 <di:waypoint xsi:type="dc:Point" x="1244" y="1022" />
507 <di:waypoint xsi:type="dc:Point" x="1278" y="1022" />
509 <dc:Bounds x="1206" y="1029.0213702128942" width="14" height="12" />
512 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_28" bpmnElement="sdncTopoDeleteYes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_67">
513 <di:waypoint xsi:type="dc:Point" x="1181" y="1047" />
514 <di:waypoint xsi:type="dc:Point" x="1181" y="1097" />
516 <dc:Bounds x="1187" y="1053.3920491579422" width="18" height="12" />
519 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_124" bpmnElement="sndcError_EndEvent">
520 <dc:Bounds x="1278" y="1004" width="36" height="36" />
522 <dc:Bounds x="1289" y="1047" width="59" height="12" />
525 <bpmndi:BPMNShape id="_BPMNShape_CallActivity_19" bpmnElement="callDeleteSDNCAdapter_CallActivity">
526 <dc:Bounds x="981" y="851" width="100" height="80" />
528 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_29" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_CallActivity_19" targetElement="_BPMNShape_ScriptTask_131">
529 <di:waypoint xsi:type="dc:Point" x="1081" y="891" />
530 <di:waypoint xsi:type="dc:Point" x="1131" y="891" />
532 <dc:Bounds x="1106" y="876" width="0" height="0" />
535 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_242" targetElement="_BPMNShape_ScriptTask_63">
536 <di:waypoint xsi:type="dc:Point" x="1181" y="467" />
537 <di:waypoint xsi:type="dc:Point" x="1181" y="509" />
539 <dc:Bounds x="1196" y="488" width="0" height="0" />
542 <bpmndi:BPMNShape id="_BPMNShape_InclusiveGateway_2" bpmnElement="silentSucces_InclusiveGateway">
543 <dc:Bounds x="1126" y="177" width="50" height="50" />
545 <dc:Bounds x="1136" y="227" width="33" height="22" />
548 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_36" bpmnElement="silentSuccess_SequenceFlow" sourceElement="_BPMNShape_InclusiveGateway_2">
549 <di:waypoint xsi:type="dc:Point" x="1176" y="202" />
550 <di:waypoint xsi:type="dc:Point" x="1305" y="203" />
552 <dc:Bounds x="1195" y="180.7648701031734" width="72" height="12" />
555 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_131" bpmnElement="validateSDNCResponse_ScriptTask">
556 <dc:Bounds x="1131" y="851" width="100" height="80" />
558 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_131" targetElement="_BPMNShape_ExclusiveGateway_67">
559 <di:waypoint xsi:type="dc:Point" x="1180" y="931" />
560 <di:waypoint xsi:type="dc:Point" x="1181" y="997" />
562 <dc:Bounds x="1181" y="949" width="0" height="0" />
565 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_242" bpmnElement="sendRequestToNewworkAdapater_ScriptTask">
566 <dc:Bounds x="1131" y="387" width="100" height="80" />
568 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_179" bpmnElement="EndEvent_1">
569 <dc:Bounds x="1458" y="185" width="36" height="36" />
571 <dc:Bounds x="1476" y="226" width="0" height="0" />
574 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_180" bpmnElement="EndEvent_2">
575 <dc:Bounds x="817" y="687" width="36" height="36" />
577 <dc:Bounds x="835" y="728" width="0" height="0" />
580 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_182" bpmnElement="EndEvent_3">
581 <dc:Bounds x="1163" y="1228" width="36" height="36" />
583 <dc:Bounds x="1181" y="1269" width="0" height="0" />
586 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_250" bpmnElement="callRESTQueryCloudRegion_ScriptTask">
587 <dc:Bounds x="960" y="269" width="100" height="80" />
589 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_52" bpmnElement="SequenceFlow_30" sourceElement="_BPMNShape_ScriptTask_250" targetElement="_BPMNShape_ScriptTask_66">
590 <di:waypoint xsi:type="dc:Point" x="1060" y="309" />
591 <di:waypoint xsi:type="dc:Point" x="1096" y="309" />
592 <di:waypoint xsi:type="dc:Point" x="1096" y="309" />
593 <di:waypoint xsi:type="dc:Point" x="1131" y="309" />
595 <dc:Bounds x="1111" y="309" width="0" height="0" />
598 <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_41" bpmnElement="BoundaryEvent_1">
599 <dc:Bounds x="1213" y="913" width="36" height="36" />
601 <dc:Bounds x="1231" y="949" width="0" height="0" />
604 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_41" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_BoundaryEvent_41" targetElement="_BPMNShape_EndEvent_124">
605 <di:waypoint xsi:type="dc:Point" x="1241" y="945" />
606 <di:waypoint xsi:type="dc:Point" x="1286" y="1007" />
608 <dc:Bounds x="1264" y="961" width="0" height="0" />
611 <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_224" bpmnElement="isRelationshipExists_ExclusiveGateway" isMarkerVisible="true">
612 <dc:Bounds x="840" y="72" width="50" height="50" />
614 <dc:Bounds x="829" y="41" width="74" height="24" />
617 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_60" bpmnElement="isRelationshipExistNo_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_224" targetElement="_BPMNShape_ExclusiveGateway_62">
618 <di:waypoint xsi:type="dc:Point" x="890" y="97" />
619 <di:waypoint xsi:type="dc:Point" x="984" y="97" />
621 <dc:Bounds x="890" y="97" width="22" height="22" />
624 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_216" bpmnElement="relationshipError_EndEvent">
625 <dc:Bounds x="730" y="80" width="36" height="36" />
627 <dc:Bounds x="701" y="117" width="109" height="22" />
630 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_61" bpmnElement="isRelationshipExistYes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_224" targetElement="_BPMNShape_EndEvent_216">
631 <di:waypoint xsi:type="dc:Point" x="840" y="97" />
632 <di:waypoint xsi:type="dc:Point" x="800" y="97" />
633 <di:waypoint xsi:type="dc:Point" x="800" y="98" />
634 <di:waypoint xsi:type="dc:Point" x="766" y="98" />
636 <dc:Bounds x="816" y="97" width="29" height="22" />
639 <bpmndi:BPMNShape id="_BPMNShape_SubProcess_29" bpmnElement="SubProcess_1" isExpanded="true">
640 <dc:Bounds x="0" y="369" width="326" height="175" />
642 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_73" bpmnElement="StartEvent_1">
643 <dc:Bounds x="36" y="432" width="36" height="36" />
645 <dc:Bounds x="54" y="473" width="0" height="0" />
648 <bpmndi:BPMNShape id="_BPMNShape_EndEvent_222" bpmnElement="EndEvent_4">
649 <dc:Bounds x="240" y="432" width="36" height="36" />
651 <dc:Bounds x="258" y="473" width="0" height="0" />
654 <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_272" bpmnElement="unexpectedError_DeleteNetworkInfra_ScriptTask_1">
655 <dc:Bounds x="108" y="410" width="100" height="80" />
657 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_13" sourceElement="_BPMNShape_StartEvent_73" targetElement="_BPMNShape_ScriptTask_272">
658 <di:waypoint xsi:type="dc:Point" x="72" y="450" />
659 <di:waypoint xsi:type="dc:Point" x="108" y="450" />
661 <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_17" sourceElement="_BPMNShape_ScriptTask_272" targetElement="_BPMNShape_EndEvent_222">
662 <di:waypoint xsi:type="dc:Point" x="208" y="450" />
663 <di:waypoint xsi:type="dc:Point" x="240" y="450" />
665 <bpmndi:BPMNShape id="ScriptTask_00lgy9f_di" bpmnElement="ScriptTask_00lgy9f">
666 <dc:Bounds x="688" y="665" width="100" height="80" />
668 <bpmndi:BPMNEdge id="SequenceFlow_1a51h25_di" bpmnElement="SequenceFlow_1a51h25">
669 <di:waypoint xsi:type="dc:Point" x="85" y="914" />
670 <di:waypoint xsi:type="dc:Point" x="124" y="914" />
672 <dc:Bounds x="105" y="899" width="0" height="0" />
675 <bpmndi:BPMNEdge id="SequenceFlow_1yvnovn_di" bpmnElement="SequenceFlow_1yvnovn">
676 <di:waypoint xsi:type="dc:Point" x="788" y="705" />
677 <di:waypoint xsi:type="dc:Point" x="817" y="705" />
679 <dc:Bounds x="803" y="690" width="0" height="0" />
682 <bpmndi:BPMNShape id="ScriptTask_01xjfhu_di" bpmnElement="ScriptTask_01xjfhu">
683 <dc:Bounds x="1131" y="1097" width="100" height="80" />
685 <bpmndi:BPMNEdge id="SequenceFlow_1pbgnr2_di" bpmnElement="SequenceFlow_1pbgnr2">
686 <di:waypoint xsi:type="dc:Point" x="1181" y="1177" />
687 <di:waypoint xsi:type="dc:Point" x="1181" y="1228" />
689 <dc:Bounds x="1196" y="1202.5" width="0" height="0" />
692 <bpmndi:BPMNEdge id="SequenceFlow_1pdp4d2_di" bpmnElement="SequenceFlow_1pdp4d2">
693 <di:waypoint xsi:type="dc:Point" x="1031" y="798" />
694 <di:waypoint xsi:type="dc:Point" x="1031" y="851" />
696 <dc:Bounds x="1046" y="824.5" width="0" height="0" />
699 <bpmndi:BPMNShape id="ExclusiveGateway_02t94x3_di" bpmnElement="ExclusiveGateway_02t94x3" isMarkerVisible="true">
700 <dc:Bounds x="1156" y="648" width="50" height="50" />
702 <dc:Bounds x="1150" y="707" width="61" height="24" />
705 <bpmndi:BPMNEdge id="SequenceFlow_0r3pvf8_di" bpmnElement="SequenceFlow_0r3pvf8">
706 <di:waypoint xsi:type="dc:Point" x="1156" y="673" />
707 <di:waypoint xsi:type="dc:Point" x="1031" y="673" />
708 <di:waypoint xsi:type="dc:Point" x="1031" y="718" />
710 <dc:Bounds x="1134" y="681" width="14" height="12" />
713 <bpmndi:BPMNShape id="ScriptTask_0iqzbz6_di" bpmnElement="ScriptTask_0iqzbz6">
714 <dc:Bounds x="1426" y="851" width="100" height="80" />
716 <bpmndi:BPMNShape id="CallActivity_03wzdas_di" bpmnElement="CallActivity_03wzdas">
717 <dc:Bounds x="1279" y="851" width="100" height="80" />
719 <bpmndi:BPMNEdge id="SequenceFlow_1jnva78_di" bpmnElement="SequenceFlow_1jnva78">
720 <di:waypoint xsi:type="dc:Point" x="1279" y="891" />
721 <di:waypoint xsi:type="dc:Point" x="1231" y="891" />
723 <dc:Bounds x="1255" y="876" width="0" height="0" />
726 <bpmndi:BPMNEdge id="SequenceFlow_0zlbzad_di" bpmnElement="SequenceFlow_0zlbzad">
727 <di:waypoint xsi:type="dc:Point" x="1426" y="891" />
728 <di:waypoint xsi:type="dc:Point" x="1379" y="891" />
730 <dc:Bounds x="1403" y="876" width="0" height="0" />
733 <bpmndi:BPMNEdge id="SequenceFlow_0kqnddy_di" bpmnElement="SequenceFlow_0kqnddy">
734 <di:waypoint xsi:type="dc:Point" x="1206" y="673" />
735 <di:waypoint xsi:type="dc:Point" x="1279" y="673" />
737 <dc:Bounds x="1217" y="677.9562629793824" width="18" height="12" />
740 <bpmndi:BPMNShape id="ScriptTask_01w2cd9_di" bpmnElement="ScriptTask_01w2cd9">
741 <dc:Bounds x="597" y="163" width="100" height="80" />
743 <bpmndi:BPMNEdge id="SequenceFlow_0msqfwu_di" bpmnElement="SequenceFlow_0msqfwu">
744 <di:waypoint xsi:type="dc:Point" x="697" y="203" />
745 <di:waypoint xsi:type="dc:Point" x="816" y="203" />
747 <dc:Bounds x="757" y="188" width="0" height="0" />
750 <bpmndi:BPMNShape id="ScriptTask_0dtzzht_di" bpmnElement="ScriptTask_0dtzzht">
751 <dc:Bounds x="1305" y="163" width="100" height="80" />
753 <bpmndi:BPMNEdge id="SequenceFlow_0f25bme_di" bpmnElement="SequenceFlow_0f25bme">
754 <di:waypoint xsi:type="dc:Point" x="1405" y="203" />
755 <di:waypoint xsi:type="dc:Point" x="1458" y="203" />
757 <dc:Bounds x="1432" y="178" width="0" height="0" />
760 <bpmndi:BPMNShape id="CallActivity_0wyu1mx_di" bpmnElement="CallActivity_0wyu1mx">
761 <dc:Bounds x="1426" y="633" width="100" height="80" />
763 <bpmndi:BPMNShape id="ScriptTask_1wf192s_di" bpmnElement="ScriptTask_1wf192s">
764 <dc:Bounds x="1279" y="633" width="100" height="80" />
766 <bpmndi:BPMNEdge id="SequenceFlow_1o088sy_di" bpmnElement="SequenceFlow_1o088sy">
767 <di:waypoint xsi:type="dc:Point" x="1379" y="673" />
768 <di:waypoint xsi:type="dc:Point" x="1403" y="673" />
769 <di:waypoint xsi:type="dc:Point" x="1403" y="673" />
770 <di:waypoint xsi:type="dc:Point" x="1426" y="673" />
772 <dc:Bounds x="1418" y="673" width="0" height="0" />
775 <bpmndi:BPMNShape id="ExclusiveGateway_024qvqd_di" bpmnElement="ExclusiveGateway_024qvqd" isMarkerVisible="true">
776 <dc:Bounds x="1597" y="775" width="50" height="50" />
778 <dc:Bounds x="1622" y="825" width="0" height="0" />
781 <bpmndi:BPMNShape id="ScriptTask_00vwf2h_di" bpmnElement="ScriptTask_00vwf2h">
782 <dc:Bounds x="1572" y="633" width="100" height="80" />
784 <bpmndi:BPMNShape id="BoundaryEvent_0un9yyu_di" bpmnElement="BoundaryEvent_0un9yyu">
785 <dc:Bounds x="1654" y="695" width="36" height="36" />
787 <dc:Bounds x="1672" y="731" width="0" height="0" />
790 <bpmndi:BPMNEdge id="SequenceFlow_1i3193l_di" bpmnElement="SequenceFlow_1i3193l">
791 <di:waypoint xsi:type="dc:Point" x="1526" y="673" />
792 <di:waypoint xsi:type="dc:Point" x="1572" y="673" />
794 <dc:Bounds x="1549" y="648" width="0" height="0" />
797 <bpmndi:BPMNEdge id="SequenceFlow_0n8sf23_di" bpmnElement="SequenceFlow_0n8sf23">
798 <di:waypoint xsi:type="dc:Point" x="1622" y="713" />
799 <di:waypoint xsi:type="dc:Point" x="1622" y="775" />
801 <dc:Bounds x="1637" y="734" width="0" height="0" />
804 <bpmndi:BPMNEdge id="SequenceFlow_08hus4u_di" bpmnElement="SequenceFlow_08hus4u">
805 <di:waypoint xsi:type="dc:Point" x="1680" y="729" />
806 <di:waypoint xsi:type="dc:Point" x="1710" y="784" />
808 <dc:Bounds x="1695" y="741.5" width="0" height="0" />
811 <bpmndi:BPMNEdge id="SequenceFlow_1qyo7ot_di" bpmnElement="SequenceFlow_1qyo7ot">
812 <di:waypoint xsi:type="dc:Point" x="1647" y="800" />
813 <di:waypoint xsi:type="dc:Point" x="1700" y="800" />
815 <dc:Bounds x="1651" y="808" width="14" height="12" />
818 <bpmndi:BPMNEdge id="SequenceFlow_0f13b17_di" bpmnElement="SequenceFlow_0f13b17">
819 <di:waypoint xsi:type="dc:Point" x="1622" y="825" />
820 <di:waypoint xsi:type="dc:Point" x="1622" y="891" />
821 <di:waypoint xsi:type="dc:Point" x="1526" y="891" />
823 <dc:Bounds x="1629" y="824" width="18" height="12" />
826 <bpmndi:BPMNShape id="EndEvent_0p7ad9r_di" bpmnElement="EndEvent_1l210ae">
827 <dc:Bounds x="1700" y="782" width="36" height="36" />
829 <dc:Bounds x="1718" y="818" width="0" height="0" />
832 <bpmndi:BPMNShape id="ScriptTask_0n4do0p_di" bpmnElement="ScriptTask_0n4do0p">
833 <dc:Bounds x="245" y="665" width="100" height="80" />
835 <bpmndi:BPMNShape id="ExclusiveGateway_1gix2o6_di" bpmnElement="ExclusiveGateway_1gix2o6" isMarkerVisible="true">
836 <dc:Bounds x="270" y="889" width="50" height="50" />
838 <dc:Bounds x="256" y="939" width="77" height="13" />
841 <bpmndi:BPMNEdge id="SequenceFlow_0tiz0kk_di" bpmnElement="SequenceFlow_0tiz0kk">
842 <di:waypoint xsi:type="dc:Point" x="295" y="889" />
843 <di:waypoint xsi:type="dc:Point" x="295" y="869" />
844 <di:waypoint xsi:type="dc:Point" x="295" y="869" />
845 <di:waypoint xsi:type="dc:Point" x="295" y="849" />
847 <dc:Bounds x="299" y="858.4545454545455" width="19" height="13" />
850 <bpmndi:BPMNEdge id="SequenceFlow_1suj1nc_di" bpmnElement="SequenceFlow_1suj1nc">
851 <di:waypoint xsi:type="dc:Point" x="320" y="914" />
852 <di:waypoint xsi:type="dc:Point" x="437" y="914" />
853 <di:waypoint xsi:type="dc:Point" x="437" y="849" />
855 <dc:Bounds x="333" y="897" width="14" height="13" />
858 <bpmndi:BPMNShape id="CallActivity_0lku52d_di" bpmnElement="CallActivity_0lku52d">
859 <dc:Bounds x="523" y="665" width="100" height="80" />
861 <bpmndi:BPMNShape id="ExclusiveGateway_1x7o5bo_di" bpmnElement="ExclusiveGateway_1x7o5bo" isMarkerVisible="true">
862 <dc:Bounds x="270" y="799" width="50" height="50" />
864 <dc:Bounds x="173" y="812" width="87" height="25" />
867 <bpmndi:BPMNEdge id="SequenceFlow_0jb7rws_di" bpmnElement="SequenceFlow_0jb7rws">
868 <di:waypoint xsi:type="dc:Point" x="295" y="799" />
869 <di:waypoint xsi:type="dc:Point" x="295" y="772" />
870 <di:waypoint xsi:type="dc:Point" x="437" y="772" />
871 <di:waypoint xsi:type="dc:Point" x="437" y="799" />
873 <dc:Bounds x="312" y="776.0384854424079" width="18" height="12" />
876 <bpmndi:BPMNShape id="InclusiveGateway_17qke2s_di" bpmnElement="ExclusiveGateway_01xin16">
877 <dc:Bounds x="412" y="799" width="50" height="50" />
879 <dc:Bounds x="437" y="849" width="0" height="0" />
882 <bpmndi:BPMNEdge id="SequenceFlow_1raa09h_di" bpmnElement="SequenceFlow_1raa09h">
883 <di:waypoint xsi:type="dc:Point" x="320" y="824" />
884 <di:waypoint xsi:type="dc:Point" x="412" y="824" />
886 <dc:Bounds x="366" y="809" width="0" height="0" />
889 <bpmndi:BPMNEdge id="SequenceFlow_1nl99y6_di" bpmnElement="SequenceFlow_1nl99y6">
890 <di:waypoint xsi:type="dc:Point" x="462" y="824" />
891 <di:waypoint xsi:type="dc:Point" x="738" y="824" />
892 <di:waypoint xsi:type="dc:Point" x="738" y="745" />
894 <dc:Bounds x="600" y="809" width="0" height="0" />
897 <bpmndi:BPMNShape id="ScriptTask_0n4ya47_di" bpmnElement="ScriptTask_0n4ya47">
898 <dc:Bounds x="387" y="665" width="100" height="80" />
900 <bpmndi:BPMNEdge id="SequenceFlow_1wif0e5_di" bpmnElement="SequenceFlow_1wif0e5">
901 <di:waypoint xsi:type="dc:Point" x="345" y="705" />
902 <di:waypoint xsi:type="dc:Point" x="387" y="705" />
904 <dc:Bounds x="366" y="690" width="0" height="0" />
907 <bpmndi:BPMNEdge id="SequenceFlow_147vc14_di" bpmnElement="SequenceFlow_147vc14">
908 <di:waypoint xsi:type="dc:Point" x="487" y="705" />
909 <di:waypoint xsi:type="dc:Point" x="523" y="705" />
911 <dc:Bounds x="505" y="690" width="0" height="0" />
914 <bpmndi:BPMNEdge id="SequenceFlow_021b0sz_di" bpmnElement="SequenceFlow_021b0sz">
915 <di:waypoint xsi:type="dc:Point" x="224" y="914" />
916 <di:waypoint xsi:type="dc:Point" x="270" y="914" />
918 <dc:Bounds x="247" y="899" width="0" height="0" />
921 <bpmndi:BPMNShape id="ScriptTask_1gtl61j_di" bpmnElement="Task_0026x4v">
922 <dc:Bounds x="124" y="874" width="100" height="80" />
924 <bpmndi:BPMNShape id="TextAnnotation_0i06ryl_di" bpmnElement="TextAnnotation_0i06ryl">
925 <dc:Bounds x="592" y="596" width="106" height="45" />
927 <bpmndi:BPMNEdge id="Association_0gzsxad_di" bpmnElement="Association_0gzsxad">
928 <di:waypoint xsi:type="dc:Point" x="606" y="665" />
929 <di:waypoint xsi:type="dc:Point" x="627" y="641" />
932 </bpmndi:BPMNDiagram>