Merge "Fix AAI Service Delete failed issue."
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / process / DeleteVcpeResCustService.bpmn
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.9.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3   <bpmn2:process id="DeleteVcpeResCustService" name="DeleteVcpeResCustService" isExecutable="true">
4     <bpmn2:scriptTask id="sendSyncAckResponse_ScriptTask" name="Send Sync Ack Response" scriptFormat="groovy">
5       <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>
6       <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
7       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
8 def DeleteVcpeResCustService = new DeleteVcpeResCustService()
9 DeleteVcpeResCustService.sendSyncResponse(execution)]]></bpmn2:script>
10     </bpmn2:scriptTask>
11     <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="sendSyncAckResponse_ScriptTask" targetRef="IntermediateThrowEvent_2" />
12     <bpmn2:startEvent id="createVCPE_startEvent" name="Start Flow">
13       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
14     </bpmn2:startEvent>
15     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="createVCPE_startEvent" targetRef="preProcessRequest_ScriptTask" />
16     <bpmn2:scriptTask id="preProcessRequest_ScriptTask" name="PreProcess Incoming Request" scriptFormat="groovy">
17       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
18       <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>
19       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
20 def DeleteVcpeResCustService = new DeleteVcpeResCustService()
21 DeleteVcpeResCustService.preProcessRequest(execution)
22 ]]></bpmn2:script>
23     </bpmn2:scriptTask>
24     <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="preProcessRequest_ScriptTask" targetRef="sendSyncAckResponse_ScriptTask" />
25     <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_3" name="vCPE-RESCUST">
26       <bpmn2:outgoing>SequenceFlow_10o22u2</bpmn2:outgoing>
27       <bpmn2:linkEventDefinition id="_LinkEventDefinition_37" name="vCPE-RESCUST" />
28     </bpmn2:intermediateCatchEvent>
29     <bpmn2:scriptTask id="postProcessAndCompletionRequest_ScriptTask" name="Post Process &#38; Completion Request" scriptFormat="groovy">
30       <bpmn2:incoming>SequenceFlow_12ilko1</bpmn2:incoming>
31       <bpmn2:outgoing>SequenceFlow_29</bpmn2:outgoing>
32       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
33 def DeleteVcpeResCustService = new DeleteVcpeResCustService()
34 DeleteVcpeResCustService.postProcessResponse(execution)]]></bpmn2:script>
35     </bpmn2:scriptTask>
36     <bpmn2:sequenceFlow id="SequenceFlow_29" name="" sourceRef="postProcessAndCompletionRequest_ScriptTask" targetRef="callCompleteMsoProcess_CallActivity" />
37     <bpmn2:callActivity id="callCompleteMsoProcess_CallActivity" name="Call CompleteMsoProcess" calledElement="CompleteMsoProcess">
38       <bpmn2:extensionElements>
39         <camunda:in variables="all" />
40         <camunda:out variables="all" />
41         <camunda:in source="DVRCS_CompleteMsoProcessRequest" target="CompleteMsoProcessRequest" />
42         <camunda:in source="requestId" target="requestId" />
43         <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
44         <camunda:out source="CMSO_ResponseCode" target="CMSO_ResponseCode" />
45         <camunda:out source="CompleteMsoProcessResponse" target="CompleteMsoProcessResponse" />
46         <camunda:out source="CMSO_ErrorResponse" target="CMSO_ErrorResponse" />
47       </bpmn2:extensionElements>
48       <bpmn2:incoming>SequenceFlow_29</bpmn2:incoming>
49       <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>
50     </bpmn2:callActivity>
51     <bpmn2:sequenceFlow id="SequenceFlow_8" name="" sourceRef="callCompleteMsoProcess_CallActivity" targetRef="ScriptTask_2" />
52     <bpmn2:scriptTask id="ScriptTask_2" name="Set Success Indicator" scriptFormat="groovy">
53       <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>
54       <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
55       <bpmn2:script><![CDATA[// The following variable is checked by the unit test
56 execution.setVariable("DeleteVcpeResCustServiceSuccessIndicator", true)]]></bpmn2:script>
57     </bpmn2:scriptTask>
58     <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="ScriptTask_2" targetRef="DeleteVCPE_EndEvent" />
59     <bpmn2:endEvent id="DeleteVCPE_EndEvent" name="End">
60       <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
61       <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_13" />
62     </bpmn2:endEvent>
63     <bpmn2:subProcess id="UnexpectedError_SubProcess_1" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
64       <bpmn2:startEvent id="StartEvent_1">
65         <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
66         <bpmn2:errorEventDefinition id="_ErrorEventDefinition_92" errorRef="Error_1" />
67       </bpmn2:startEvent>
68       <bpmn2:endEvent id="EndEvent_1">
69         <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
70       </bpmn2:endEvent>
71       <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="StartEvent_1" targetRef="ScriptTask_1" />
72       <bpmn2:scriptTask id="ScriptTask_1" name="Log / Print Unexpected Error" scriptFormat="groovy">
73         <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
74         <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
75         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
76 def DeleteVcpeResCustService = new DeleteVcpeResCustService()
77 DeleteVcpeResCustService.processJavaException(execution)]]></bpmn2:script>
78       </bpmn2:scriptTask>
79       <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="ScriptTask_1" targetRef="EndEvent_1" />
80     </bpmn2:subProcess>
81     <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_4" name="FinishProcess">
82       <bpmn2:outgoing>SequenceFlow_12ilko1</bpmn2:outgoing>
83       <bpmn2:linkEventDefinition id="_LinkEventDefinition_39" name="FinishProcess" />
84     </bpmn2:intermediateCatchEvent>
85     <bpmn2:callActivity id="doDeleteServiceInstance_CallActivity" name="DoDelete&#10;ServiceInstance&#10;" calledElement="DoDeleteServiceInstance">
86       <bpmn2:extensionElements>
87         <camunda:in source="msoRequestId" target="msoRequestId" />
88         <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
89         <camunda:out source="rollbackData" target="DCRESI_rollbackData" />
90         <camunda:in source="failExists" target="failExists" />
91         <camunda:in source="disableRollback" target="disableRollback" />
92         <camunda:out source="rolledBack" target="DCRESI_rolledBack" />
93         <camunda:out source="WorkflowException" target="WorkflowException" />
94         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
95         <camunda:in source="sdncVersion" target="sdncVersion" />
96       </bpmn2:extensionElements>
97       <bpmn2:incoming>SequenceFlow_10o22u2</bpmn2:incoming>
98       <bpmn2:outgoing>SequenceFlow_04ao07f</bpmn2:outgoing>
99     </bpmn2:callActivity>
100     <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_2" name="GoQueryServiceInstance">
101       <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
102       <bpmn2:linkEventDefinition id="_LinkEventDefinition_38" name="QueryServiceInstance" />
103     </bpmn2:intermediateThrowEvent>
104     <bpmn2:subProcess id="SubProcess_0s6hpty" name="Subprocess For Exception / FalloutHandler " triggeredByEvent="true">
105       <bpmn2:startEvent id="StartEvent_1bwmffk" name="Fault Start">
106         <bpmn2:outgoing>SequenceFlow_06llof4</bpmn2:outgoing>
107         <bpmn2:errorEventDefinition />
108       </bpmn2:startEvent>
109       <bpmn2:callActivity id="CallActivity_0jw5tqa" name="Call FalloutHandlerV1" calledElement="FalloutHandler">
110         <bpmn2:extensionElements>
111           <camunda:in source="DVRCS_falloutRequest" target="FalloutHandlerRequest" />
112           <camunda:in source="msoRequestId" target="mso-request-id" />
113           <camunda:in source="serviceInstanceId" target="mso-service-instance-id" />
114           <camunda:out source="FH_ResponseCode" target="FH_ResponseCode" />
115           <camunda:out source="FalloutHandlerResponse" target="FalloutHandlerResponse" />
116           <camunda:out source="FH_ErrorResponse" target="FH_ErrorResponse" />
117         </bpmn2:extensionElements>
118         <bpmn2:incoming>SequenceFlow_0807ukc</bpmn2:incoming>
119         <bpmn2:outgoing>SequenceFlow_19yywk8</bpmn2:outgoing>
120       </bpmn2:callActivity>
121       <bpmn2:endEvent id="EndEvent_04xute7">
122         <bpmn2:incoming>SequenceFlow_19yywk8</bpmn2:incoming>
123       </bpmn2:endEvent>
124       <bpmn2:scriptTask id="ScriptTask_0yk02h3" name="Prepare FalloutHandler" scriptFormat="groovy">
125         <bpmn2:incoming>SequenceFlow_06llof4</bpmn2:incoming>
126         <bpmn2:outgoing>SequenceFlow_0807ukc</bpmn2:outgoing>
127         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
128 def DeleteVcpeResCustService = new DeleteVcpeResCustService()
129 DeleteVcpeResCustService.prepareFalloutRequest(execution)]]></bpmn2:script>
130       </bpmn2:scriptTask>
131       <bpmn2:sequenceFlow id="SequenceFlow_0807ukc" sourceRef="ScriptTask_0yk02h3" targetRef="CallActivity_0jw5tqa" />
132       <bpmn2:sequenceFlow id="SequenceFlow_19yywk8" sourceRef="CallActivity_0jw5tqa" targetRef="EndEvent_04xute7" />
133       <bpmn2:sequenceFlow id="SequenceFlow_06llof4" sourceRef="StartEvent_1bwmffk" targetRef="ScriptTask_0yk02h3" />
134     </bpmn2:subProcess>
135     <bpmn2:sequenceFlow id="SequenceFlow_10o22u2" sourceRef="IntermediateCatchEvent_3" targetRef="doDeleteServiceInstance_CallActivity" />
136     <bpmn2:sequenceFlow id="SequenceFlow_12ilko1" sourceRef="IntermediateCatchEvent_4" targetRef="postProcessAndCompletionRequest_ScriptTask" />
137     <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_0prlju0" name="GoTo FinishProcess">
138       <bpmn2:incoming>SequenceFlow_04ao07f</bpmn2:incoming>
139       <bpmn2:linkEventDefinition name="FinishProcess" />
140     </bpmn2:intermediateThrowEvent>
141     <bpmn2:callActivity id="callGetServiceInstance" name="Get&#10;Service&#10;Instance" calledElement="GenericGetService">
142       <bpmn2:extensionElements>
143         <camunda:in source="serviceInstanceId" target="GENGS_serviceInstanceId" />
144         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
145         <camunda:in source="GENGS_type" target="GENGS_type" />
146         <camunda:out source="GENGS_FoundIndicator" target="GENGS_FoundIndicator" />
147         <camunda:out source="GENGS_FoundIndicator" target="GENGS_FoundIndicator" />
148         <camunda:out source="GENGS_service" target="GENGS_service" />
149         <camunda:out source="WorkflowException" target="WorkflowException" />
150         <camunda:out source="GENGS_siResourceLink" target="GENGS_siResourceLink" />
151       </bpmn2:extensionElements>
152       <bpmn2:incoming>SequenceFlow_0jek18q</bpmn2:incoming>
153       <bpmn2:outgoing>SequenceFlow_1ttswdr</bpmn2:outgoing>
154     </bpmn2:callActivity>
155     <bpmn2:scriptTask id="ScriptTask_05m3m2e" name="Process Response &#38; ready data for subflows" scriptFormat="groovy">
156       <bpmn2:incoming>SequenceFlow_1ttswdr</bpmn2:incoming>
157       <bpmn2:outgoing>SequenceFlow_18103ca</bpmn2:outgoing>
158       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
159 def DeleteVcpeResCustService = new DeleteVcpeResCustService()
160 DeleteVcpeResCustService.prepareServiceDelete(execution)]]></bpmn2:script>
161     </bpmn2:scriptTask>
162     <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_112zjtp" name="QueryServiceInstance">
163       <bpmn2:outgoing>SequenceFlow_0jek18q</bpmn2:outgoing>
164       <bpmn2:linkEventDefinition name="QueryServiceInstance" />
165     </bpmn2:intermediateCatchEvent>
166     <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_162gs5w" name="GoToDeleteBRG">
167       <bpmn2:incoming>SequenceFlow_18103ca</bpmn2:incoming>
168       <bpmn2:linkEventDefinition name="DeleteBRG" />
169     </bpmn2:intermediateThrowEvent>
170     <bpmn2:sequenceFlow id="SequenceFlow_0jek18q" sourceRef="IntermediateCatchEvent_112zjtp" targetRef="callGetServiceInstance" />
171     <bpmn2:sequenceFlow id="SequenceFlow_18103ca" sourceRef="ScriptTask_05m3m2e" targetRef="IntermediateThrowEvent_162gs5w" />
172     <bpmn2:sequenceFlow id="SequenceFlow_04ao07f" sourceRef="doDeleteServiceInstance_CallActivity" targetRef="IntermediateThrowEvent_0prlju0" />
173     <bpmn2:sequenceFlow id="SequenceFlow_1ttswdr" sourceRef="callGetServiceInstance" targetRef="ScriptTask_05m3m2e" />
174     <bpmn2:callActivity id="CallActivity_1yap348" name="Delete BRG Resources&#10;" calledElement="DoDeleteAllottedResourceBRG">
175       <bpmn2:extensionElements>
176         <camunda:in source="msoRequestId" target="msoRequestId" />
177         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
178         <camunda:in source="disableRollback" target="disableRollback" />
179         <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
180         <camunda:in source="parentServiceInstanceId" target="parentServiceInstanceId" />
181         <camunda:in source="BRG_allottedResourceId" target="allottedResourceId" />
182         <camunda:out source="WorkflowException" target="WorkflowException" />
183         <camunda:out source="rolledBack" target="rolledBack" />
184       </bpmn2:extensionElements>
185       <bpmn2:incoming>SequenceFlow_05cjs89</bpmn2:incoming>
186       <bpmn2:outgoing>SequenceFlow_0snq0kw</bpmn2:outgoing>
187     </bpmn2:callActivity>
188     <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_0i8bmrc" name="GoToVCPE-RESCUST">
189       <bpmn2:incoming>SequenceFlow_0zaircn</bpmn2:incoming>
190       <bpmn2:linkEventDefinition name="vCPE-RESCUST" />
191     </bpmn2:intermediateThrowEvent>
192     <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_04bw3vy" name="DeleteBRG">
193       <bpmn2:outgoing>SequenceFlow_09i2jj0</bpmn2:outgoing>
194       <bpmn2:linkEventDefinition name="DeleteBRG" />
195     </bpmn2:intermediateCatchEvent>
196     <bpmn2:exclusiveGateway id="ExclusiveGateway_0gw5gmo" name="Delete BRG AR?" default="SequenceFlow_03n4wb1">
197       <bpmn2:incoming>SequenceFlow_09i2jj0</bpmn2:incoming>
198       <bpmn2:outgoing>SequenceFlow_05cjs89</bpmn2:outgoing>
199       <bpmn2:outgoing>SequenceFlow_03n4wb1</bpmn2:outgoing>
200     </bpmn2:exclusiveGateway>
201     <bpmn2:exclusiveGateway id="ExclusiveGateway_1hmeube">
202       <bpmn2:incoming>SequenceFlow_0snq0kw</bpmn2:incoming>
203       <bpmn2:incoming>SequenceFlow_03n4wb1</bpmn2:incoming>
204       <bpmn2:outgoing>SequenceFlow_1jjh8rv</bpmn2:outgoing>
205     </bpmn2:exclusiveGateway>
206     <bpmn2:exclusiveGateway id="ExclusiveGateway_12i24vc" name="Delete TXC AR?" default="SequenceFlow_0nk8vsb">
207       <bpmn2:incoming>SequenceFlow_0xgpd0u</bpmn2:incoming>
208       <bpmn2:outgoing>SequenceFlow_0nk8vsb</bpmn2:outgoing>
209       <bpmn2:outgoing>SequenceFlow_0npvfo3</bpmn2:outgoing>
210     </bpmn2:exclusiveGateway>
211     <bpmn2:exclusiveGateway id="ExclusiveGateway_0190r3n">
212       <bpmn2:incoming>SequenceFlow_0nk8vsb</bpmn2:incoming>
213       <bpmn2:incoming>SequenceFlow_0et9p0i</bpmn2:incoming>
214       <bpmn2:outgoing>SequenceFlow_0zaircn</bpmn2:outgoing>
215     </bpmn2:exclusiveGateway>
216     <bpmn2:sequenceFlow id="SequenceFlow_05cjs89" name="Yes" sourceRef="ExclusiveGateway_0gw5gmo" targetRef="CallActivity_1yap348">
217       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{ execution.getVariable("DVRCS_BRG") == null || execution.getVariable("DVRCS_BRG") == true }]]></bpmn2:conditionExpression>
218     </bpmn2:sequenceFlow>
219     <bpmn2:sequenceFlow id="SequenceFlow_0snq0kw" sourceRef="CallActivity_1yap348" targetRef="ExclusiveGateway_1hmeube" />
220     <bpmn2:sequenceFlow id="SequenceFlow_09i2jj0" sourceRef="IntermediateCatchEvent_04bw3vy" targetRef="ExclusiveGateway_0gw5gmo" />
221     <bpmn2:sequenceFlow id="SequenceFlow_0zaircn" sourceRef="ExclusiveGateway_0190r3n" targetRef="IntermediateThrowEvent_0i8bmrc" />
222     <bpmn2:sequenceFlow id="SequenceFlow_03n4wb1" name="No" sourceRef="ExclusiveGateway_0gw5gmo" targetRef="ExclusiveGateway_1hmeube" />
223     <bpmn2:sequenceFlow id="SequenceFlow_1jjh8rv" sourceRef="ExclusiveGateway_1hmeube" targetRef="IntermediateThrowEvent_19nq9li" />
224     <bpmn2:sequenceFlow id="SequenceFlow_0nk8vsb" name="No" sourceRef="ExclusiveGateway_12i24vc" targetRef="ExclusiveGateway_0190r3n" />
225     <bpmn2:sequenceFlow id="SequenceFlow_0npvfo3" name="Yes" sourceRef="ExclusiveGateway_12i24vc" targetRef="CallActivity_00g5q0n">
226       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{ execution.getVariable("DVRCS_TunnelXConn") == null || execution.getVariable("DVRCS_TunnelXConn") == true }]]></bpmn2:conditionExpression>
227     </bpmn2:sequenceFlow>
228     <bpmn2:callActivity id="CallActivity_00g5q0n" name="Delete TXC Allotted Resources&#10;" calledElement="DoDeleteAllottedResourceTXC">
229       <bpmn2:extensionElements>
230         <camunda:in source="msoRequestId" target="msoRequestId" />
231         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
232         <camunda:in source="disableRollback" target="disableRollback" />
233         <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
234         <camunda:in source="parentServiceInstanceId" target="parentServiceInstanceId" />
235         <camunda:in source="TXC_allottedResourceId" target="allottedResourceId" />
236         <camunda:out source="WorkflowException" target="WorkflowException" />
237         <camunda:out source="rolledBack" target="rolledBack" />
238       </bpmn2:extensionElements>
239       <bpmn2:incoming>SequenceFlow_0npvfo3</bpmn2:incoming>
240       <bpmn2:outgoing>SequenceFlow_0et9p0i</bpmn2:outgoing>
241     </bpmn2:callActivity>
242     <bpmn2:sequenceFlow id="SequenceFlow_0et9p0i" sourceRef="CallActivity_00g5q0n" targetRef="ExclusiveGateway_0190r3n" />
243     <bpmn2:callActivity id="CallActivity_14j22w3" name="DoDelete&#10;VNF and Modules&#10;" calledElement="DoDeleteVnfAndModules">
244       <bpmn2:extensionElements>
245         <camunda:in source="msoRequestId" target="msoRequestId" />
246         <camunda:in source="disableRollback" target="disableRollback" />
247         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
248         <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
249         <camunda:in source="vnfId" target="vnfId" />
250         <camunda:in source="sdncVersion" target="sdncVersion" />
251         <camunda:out source="rollbackData" target="rollbackData" />
252         <camunda:out source="WorkflowException" target="WorkflowException" />
253         <camunda:out source="rolledBack" target="rolledBack" />
254         <camunda:in source="lcpCloudRegionId" target="lcpCloudRegionId" />
255         <camunda:in source="tenantId" target="tenantId" />
256         <camunda:in source="cloudConfiguration" target="cloudConfiguration" />
257       </bpmn2:extensionElements>
258       <bpmn2:incoming>SequenceFlow_128485i</bpmn2:incoming>
259       <bpmn2:outgoing>SequenceFlow_04fys47</bpmn2:outgoing>
260     </bpmn2:callActivity>
261     <bpmn2:scriptTask id="ScriptTask_1csw2q1" name="Prepare to Delete VNF" scriptFormat="groovy">
262       <bpmn2:incoming>SequenceFlow_1yamcyn</bpmn2:incoming>
263       <bpmn2:incoming>SequenceFlow_19cxgtm</bpmn2:incoming>
264       <bpmn2:outgoing>SequenceFlow_128485i</bpmn2:outgoing>
265       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
266 def DeleteVcpeResCustService= new DeleteVcpeResCustService()
267 DeleteVcpeResCustService.prepareVnfAndModulesDelete(execution)]]></bpmn2:script>
268     </bpmn2:scriptTask>
269     <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_1ks536f" name="GoToDeleteTXC">
270       <bpmn2:incoming>SequenceFlow_1lfph6u</bpmn2:incoming>
271       <bpmn2:linkEventDefinition name="DeleteTXC" />
272     </bpmn2:intermediateThrowEvent>
273     <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_0hy32qu" name="StartVnfs">
274       <bpmn2:outgoing>SequenceFlow_1ofw0fi</bpmn2:outgoing>
275       <bpmn2:linkEventDefinition name="StartVnfs" />
276     </bpmn2:intermediateCatchEvent>
277     <bpmn2:exclusiveGateway id="ExclusiveGateway_0io2vo5" name="Delete VNF?" default="SequenceFlow_0vq7f6b">
278       <bpmn2:incoming>SequenceFlow_1ofw0fi</bpmn2:incoming>
279       <bpmn2:outgoing>SequenceFlow_1yamcyn</bpmn2:outgoing>
280       <bpmn2:outgoing>SequenceFlow_0vq7f6b</bpmn2:outgoing>
281     </bpmn2:exclusiveGateway>
282     <bpmn2:exclusiveGateway id="ExclusiveGateway_1bm1vby">
283       <bpmn2:incoming>SequenceFlow_0vq7f6b</bpmn2:incoming>
284       <bpmn2:incoming>SequenceFlow_10scc5r</bpmn2:incoming>
285       <bpmn2:outgoing>SequenceFlow_1lfph6u</bpmn2:outgoing>
286     </bpmn2:exclusiveGateway>
287     <bpmn2:scriptTask id="ScriptTask_0wqfeak" name="Validate VNF delete" scriptFormat="groovy">
288       <bpmn2:incoming>SequenceFlow_04fys47</bpmn2:incoming>
289       <bpmn2:outgoing>SequenceFlow_1o5cutr</bpmn2:outgoing>
290       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
291 def DeleteVcpeResCustService= new DeleteVcpeResCustService()
292 DeleteVcpeResCustService.validateVnfDelete(execution)]]></bpmn2:script>
293     </bpmn2:scriptTask>
294     <bpmn2:exclusiveGateway id="ExclusiveGateway_14hjmu4" name="Delete Additional VNFs?" default="SequenceFlow_10scc5r">
295       <bpmn2:incoming>SequenceFlow_1o5cutr</bpmn2:incoming>
296       <bpmn2:outgoing>SequenceFlow_19cxgtm</bpmn2:outgoing>
297       <bpmn2:outgoing>SequenceFlow_10scc5r</bpmn2:outgoing>
298     </bpmn2:exclusiveGateway>
299     <bpmn2:sequenceFlow id="SequenceFlow_128485i" sourceRef="ScriptTask_1csw2q1" targetRef="CallActivity_14j22w3" />
300     <bpmn2:sequenceFlow id="SequenceFlow_04fys47" sourceRef="CallActivity_14j22w3" targetRef="ScriptTask_0wqfeak" />
301     <bpmn2:sequenceFlow id="SequenceFlow_1yamcyn" name="Yes" sourceRef="ExclusiveGateway_0io2vo5" targetRef="ScriptTask_1csw2q1">
302       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DVRCS_vnfsCount") > 0}]]></bpmn2:conditionExpression>
303     </bpmn2:sequenceFlow>
304     <bpmn2:sequenceFlow id="SequenceFlow_19cxgtm" name="Yes" sourceRef="ExclusiveGateway_14hjmu4" targetRef="ScriptTask_1csw2q1">
305       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DVRCS_vnfsDeletedCount") < execution.getVariable("DVRCS_vnfsCount")}]]></bpmn2:conditionExpression>
306     </bpmn2:sequenceFlow>
307     <bpmn2:sequenceFlow id="SequenceFlow_1lfph6u" sourceRef="ExclusiveGateway_1bm1vby" targetRef="IntermediateThrowEvent_1ks536f" />
308     <bpmn2:sequenceFlow id="SequenceFlow_1ofw0fi" sourceRef="IntermediateCatchEvent_0hy32qu" targetRef="ExclusiveGateway_0io2vo5" />
309     <bpmn2:sequenceFlow id="SequenceFlow_0vq7f6b" name="No" sourceRef="ExclusiveGateway_0io2vo5" targetRef="ExclusiveGateway_1bm1vby" />
310     <bpmn2:sequenceFlow id="SequenceFlow_10scc5r" name="No" sourceRef="ExclusiveGateway_14hjmu4" targetRef="ExclusiveGateway_1bm1vby" />
311     <bpmn2:sequenceFlow id="SequenceFlow_1o5cutr" sourceRef="ScriptTask_0wqfeak" targetRef="ExclusiveGateway_14hjmu4" />
312     <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_19nq9li" name="GoToStartVnfs">
313       <bpmn2:incoming>SequenceFlow_1jjh8rv</bpmn2:incoming>
314       <bpmn2:linkEventDefinition name="StartVnfs" />
315     </bpmn2:intermediateThrowEvent>
316     <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1svwsxy" name="DeleteTXC">
317       <bpmn2:outgoing>SequenceFlow_0xgpd0u</bpmn2:outgoing>
318       <bpmn2:linkEventDefinition name="DeleteTXC" />
319     </bpmn2:intermediateCatchEvent>
320     <bpmn2:sequenceFlow id="SequenceFlow_0xgpd0u" sourceRef="IntermediateCatchEvent_1svwsxy" targetRef="ExclusiveGateway_12i24vc" />
321   </bpmn2:process>
322   <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
323   <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
324   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
325     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeleteVcpeResCustService">
326       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_47" bpmnElement="createVCPE_startEvent">
327         <dc:Bounds x="96" y="121" width="36" height="36" />
328         <bpmndi:BPMNLabel>
329           <dc:Bounds x="90" y="162" width="50" height="12" />
330         </bpmndi:BPMNLabel>
331       </bpmndi:BPMNShape>
332       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_61" bpmnElement="preProcessRequest_ScriptTask">
333         <dc:Bounds x="285" y="99" width="100" height="80" />
334       </bpmndi:BPMNShape>
335       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_47" targetElement="_BPMNShape_ScriptTask_61">
336         <di:waypoint xsi:type="dc:Point" x="132" y="139" />
337         <di:waypoint xsi:type="dc:Point" x="285" y="139" />
338         <bpmndi:BPMNLabel>
339           <dc:Bounds x="174" y="139" width="0" height="0" />
340         </bpmndi:BPMNLabel>
341       </bpmndi:BPMNEdge>
342       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_4" bpmnElement="callCompleteMsoProcess_CallActivity">
343         <dc:Bounds x="476" y="1192" width="100" height="80" />
344       </bpmndi:BPMNShape>
345       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_80" bpmnElement="postProcessAndCompletionRequest_ScriptTask">
346         <dc:Bounds x="285" y="1193" width="100" height="80" />
347       </bpmndi:BPMNShape>
348       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ScriptTask_61" targetElement="_BPMNShape_ScriptTask_127">
349         <di:waypoint xsi:type="dc:Point" x="385" y="139" />
350         <di:waypoint xsi:type="dc:Point" x="476" y="139" />
351         <bpmndi:BPMNLabel>
352           <dc:Bounds x="274" y="100" width="0" height="0" />
353         </bpmndi:BPMNLabel>
354       </bpmndi:BPMNEdge>
355       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_127" bpmnElement="sendSyncAckResponse_ScriptTask">
356         <dc:Bounds x="476" y="99" width="100" height="80" />
357       </bpmndi:BPMNShape>
358       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_42" bpmnElement="SequenceFlow_29" sourceElement="_BPMNShape_ScriptTask_80" targetElement="_BPMNShape_CallActivity_4">
359         <di:waypoint xsi:type="dc:Point" x="385" y="1233" />
360         <di:waypoint xsi:type="dc:Point" x="476" y="1232" />
361         <bpmndi:BPMNLabel>
362           <dc:Bounds x="431" y="1217.5" width="0" height="0" />
363         </bpmndi:BPMNLabel>
364       </bpmndi:BPMNEdge>
365       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_177" bpmnElement="DeleteVCPE_EndEvent">
366         <dc:Bounds x="1046" y="1213" width="36" height="36" />
367         <bpmndi:BPMNLabel>
368           <dc:Bounds x="1054" y="1254" width="19" height="12" />
369         </bpmndi:BPMNLabel>
370       </bpmndi:BPMNShape>
371       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_CallActivity_4" targetElement="_BPMNShape_ScriptTask_337">
372         <di:waypoint xsi:type="dc:Point" x="576" y="1233" />
373         <di:waypoint xsi:type="dc:Point" x="636" y="1233" />
374         <di:waypoint xsi:type="dc:Point" x="636" y="1230" />
375         <di:waypoint xsi:type="dc:Point" x="803" y="1230" />
376         <bpmndi:BPMNLabel>
377           <dc:Bounds x="651" y="1231.5" width="0" height="0" />
378         </bpmndi:BPMNLabel>
379       </bpmndi:BPMNEdge>
380       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_27" bpmnElement="UnexpectedError_SubProcess_1" isExpanded="true">
381         <dc:Bounds x="686" y="1374" width="405" height="205" />
382       </bpmndi:BPMNShape>
383       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_70" bpmnElement="StartEvent_1">
384         <dc:Bounds x="754" y="1479" width="36" height="36" />
385         <bpmndi:BPMNLabel>
386           <dc:Bounds x="772" y="1520" width="0" height="0" />
387         </bpmndi:BPMNLabel>
388       </bpmndi:BPMNShape>
389       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_269" bpmnElement="ScriptTask_1">
390         <dc:Bounds x="829" y="1457" width="100" height="80" />
391       </bpmndi:BPMNShape>
392       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_219" bpmnElement="EndEvent_1">
393         <dc:Bounds x="982" y="1479" width="36" height="36" />
394         <bpmndi:BPMNLabel>
395           <dc:Bounds x="1000" y="1520" width="0" height="0" />
396         </bpmndi:BPMNLabel>
397       </bpmndi:BPMNShape>
398       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_StartEvent_70" targetElement="_BPMNShape_ScriptTask_269">
399         <di:waypoint xsi:type="dc:Point" x="790" y="1497" />
400         <di:waypoint xsi:type="dc:Point" x="829" y="1497" />
401         <bpmndi:BPMNLabel>
402           <dc:Bounds x="818" y="1497" width="0" height="0" />
403         </bpmndi:BPMNLabel>
404       </bpmndi:BPMNEdge>
405       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_269" targetElement="_BPMNShape_EndEvent_219">
406         <di:waypoint xsi:type="dc:Point" x="929" y="1497" />
407         <di:waypoint xsi:type="dc:Point" x="962" y="1497" />
408         <di:waypoint xsi:type="dc:Point" x="962" y="1497" />
409         <di:waypoint xsi:type="dc:Point" x="982" y="1497" />
410         <bpmndi:BPMNLabel>
411           <dc:Bounds x="977" y="1497" width="0" height="0" />
412         </bpmndi:BPMNLabel>
413       </bpmndi:BPMNEdge>
414       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_75" bpmnElement="doDeleteServiceInstance_CallActivity">
415         <dc:Bounds x="285" y="1009" width="100" height="80" />
416       </bpmndi:BPMNShape>
417       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_127">
418         <di:waypoint xsi:type="dc:Point" x="576" y="139" />
419         <di:waypoint xsi:type="dc:Point" x="728" y="139" />
420         <bpmndi:BPMNLabel>
421           <dc:Bounds x="652" y="124" width="0" height="0" />
422         </bpmndi:BPMNLabel>
423       </bpmndi:BPMNEdge>
424       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_337" bpmnElement="ScriptTask_2">
425         <dc:Bounds x="803" y="1191" width="100" height="80" />
426       </bpmndi:BPMNShape>
427       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_337" targetElement="_BPMNShape_EndEvent_177">
428         <di:waypoint xsi:type="dc:Point" x="903" y="1230" />
429         <di:waypoint xsi:type="dc:Point" x="1046" y="1231" />
430         <bpmndi:BPMNLabel>
431           <dc:Bounds x="975" y="1215.5" width="0" height="0" />
432         </bpmndi:BPMNLabel>
433       </bpmndi:BPMNEdge>
434       <bpmndi:BPMNShape id="_BPMNShape_IntermediateCatchEvent_35" bpmnElement="IntermediateCatchEvent_3">
435         <dc:Bounds x="100" y="1031" width="36" height="36" />
436         <bpmndi:BPMNLabel>
437           <dc:Bounds x="92" y="1067" width="51" height="12" />
438         </bpmndi:BPMNLabel>
439       </bpmndi:BPMNShape>
440       <bpmndi:BPMNShape id="_BPMNShape_IntermediateCatchEvent_36" bpmnElement="IntermediateCatchEvent_4">
441         <dc:Bounds x="100" y="1216" width="36" height="36" />
442         <bpmndi:BPMNLabel>
443           <dc:Bounds x="82" y="1252" width="71" height="14" />
444         </bpmndi:BPMNLabel>
445       </bpmndi:BPMNShape>
446       <bpmndi:BPMNShape id="_BPMNShape_IntermediateThrowEvent_49" bpmnElement="IntermediateThrowEvent_2">
447         <dc:Bounds x="728" y="121" width="36" height="36" />
448         <bpmndi:BPMNLabel>
449           <dc:Bounds x="703" y="162" width="86" height="24" />
450         </bpmndi:BPMNLabel>
451       </bpmndi:BPMNShape>
452       <bpmndi:BPMNShape id="SubProcess_0s6hpty_di" bpmnElement="SubProcess_0s6hpty" isExpanded="true">
453         <dc:Bounds x="52" y="1375" width="598" height="203" />
454       </bpmndi:BPMNShape>
455       <bpmndi:BPMNShape id="StartEvent_1bwmffk_di" bpmnElement="StartEvent_1bwmffk">
456         <dc:Bounds x="123" y="1448" width="36" height="36" />
457         <bpmndi:BPMNLabel>
458           <dc:Bounds x="117" y="1489" width="50" height="12" />
459         </bpmndi:BPMNLabel>
460       </bpmndi:BPMNShape>
461       <bpmndi:BPMNShape id="CallActivity_0jw5tqa_di" bpmnElement="CallActivity_0jw5tqa">
462         <dc:Bounds x="384" y="1426" width="100" height="80" />
463       </bpmndi:BPMNShape>
464       <bpmndi:BPMNShape id="EndEvent_04xute7_di" bpmnElement="EndEvent_04xute7">
465         <dc:Bounds x="539" y="1448" width="36" height="36" />
466         <bpmndi:BPMNLabel>
467           <dc:Bounds x="557" y="1489" width="0" height="0" />
468         </bpmndi:BPMNLabel>
469       </bpmndi:BPMNShape>
470       <bpmndi:BPMNShape id="ScriptTask_0yk02h3_di" bpmnElement="ScriptTask_0yk02h3">
471         <dc:Bounds x="237" y="1426" width="100" height="80" />
472       </bpmndi:BPMNShape>
473       <bpmndi:BPMNEdge id="SequenceFlow_10o22u2_di" bpmnElement="SequenceFlow_10o22u2">
474         <di:waypoint xsi:type="dc:Point" x="136" y="1049" />
475         <di:waypoint xsi:type="dc:Point" x="285" y="1049" />
476         <bpmndi:BPMNLabel>
477           <dc:Bounds x="211" y="1034" width="0" height="0" />
478         </bpmndi:BPMNLabel>
479       </bpmndi:BPMNEdge>
480       <bpmndi:BPMNEdge id="SequenceFlow_12ilko1_di" bpmnElement="SequenceFlow_12ilko1">
481         <di:waypoint xsi:type="dc:Point" x="136" y="1234" />
482         <di:waypoint xsi:type="dc:Point" x="285" y="1233" />
483         <bpmndi:BPMNLabel>
484           <dc:Bounds x="211" y="1218.5" width="0" height="0" />
485         </bpmndi:BPMNLabel>
486       </bpmndi:BPMNEdge>
487       <bpmndi:BPMNEdge id="SequenceFlow_0807ukc_di" bpmnElement="SequenceFlow_0807ukc">
488         <di:waypoint xsi:type="dc:Point" x="337" y="1466" />
489         <di:waypoint xsi:type="dc:Point" x="384" y="1466" />
490         <bpmndi:BPMNLabel>
491           <dc:Bounds x="361" y="1451" width="0" height="0" />
492         </bpmndi:BPMNLabel>
493       </bpmndi:BPMNEdge>
494       <bpmndi:BPMNEdge id="SequenceFlow_19yywk8_di" bpmnElement="SequenceFlow_19yywk8">
495         <di:waypoint xsi:type="dc:Point" x="484" y="1466" />
496         <di:waypoint xsi:type="dc:Point" x="539" y="1466" />
497         <bpmndi:BPMNLabel>
498           <dc:Bounds x="512" y="1451" width="0" height="0" />
499         </bpmndi:BPMNLabel>
500       </bpmndi:BPMNEdge>
501       <bpmndi:BPMNShape id="IntermediateThrowEvent_0prlju0_di" bpmnElement="IntermediateThrowEvent_0prlju0">
502         <dc:Bounds x="508" y="1031" width="36" height="36" />
503         <bpmndi:BPMNLabel>
504           <dc:Bounds x="491" y="1072" width="70" height="24" />
505         </bpmndi:BPMNLabel>
506       </bpmndi:BPMNShape>
507       <bpmndi:BPMNShape id="CallActivity_0nmoax4_di" bpmnElement="callGetServiceInstance">
508         <dc:Bounds x="285" y="254" width="100" height="80" />
509       </bpmndi:BPMNShape>
510       <bpmndi:BPMNShape id="ScriptTask_05m3m2e_di" bpmnElement="ScriptTask_05m3m2e">
511         <dc:Bounds x="476" y="254" width="100" height="80" />
512       </bpmndi:BPMNShape>
513       <bpmndi:BPMNShape id="IntermediateCatchEvent_112zjtp_di" bpmnElement="IntermediateCatchEvent_112zjtp">
514         <dc:Bounds x="96" y="276" width="36" height="36" />
515         <bpmndi:BPMNLabel>
516           <dc:Bounds x="72" y="312" width="81" height="24" />
517         </bpmndi:BPMNLabel>
518       </bpmndi:BPMNShape>
519       <bpmndi:BPMNShape id="IntermediateThrowEvent_162gs5w_di" bpmnElement="IntermediateThrowEvent_162gs5w">
520         <dc:Bounds x="732" y="276" width="36" height="36" />
521         <bpmndi:BPMNLabel>
522           <dc:Bounds x="708" y="317" width="82" height="12" />
523         </bpmndi:BPMNLabel>
524       </bpmndi:BPMNShape>
525       <bpmndi:BPMNEdge id="SequenceFlow_0jek18q_di" bpmnElement="SequenceFlow_0jek18q">
526         <di:waypoint xsi:type="dc:Point" x="132" y="294" />
527         <di:waypoint xsi:type="dc:Point" x="285" y="294" />
528         <bpmndi:BPMNLabel>
529           <dc:Bounds x="209" y="279" width="0" height="0" />
530         </bpmndi:BPMNLabel>
531       </bpmndi:BPMNEdge>
532       <bpmndi:BPMNEdge id="SequenceFlow_18103ca_di" bpmnElement="SequenceFlow_18103ca">
533         <di:waypoint xsi:type="dc:Point" x="576" y="294" />
534         <di:waypoint xsi:type="dc:Point" x="732" y="294" />
535         <bpmndi:BPMNLabel>
536           <dc:Bounds x="654" y="279" width="0" height="0" />
537         </bpmndi:BPMNLabel>
538       </bpmndi:BPMNEdge>
539       <bpmndi:BPMNEdge id="SequenceFlow_04ao07f_di" bpmnElement="SequenceFlow_04ao07f">
540         <di:waypoint xsi:type="dc:Point" x="385" y="1049" />
541         <di:waypoint xsi:type="dc:Point" x="508" y="1049" />
542         <bpmndi:BPMNLabel>
543           <dc:Bounds x="447" y="1034" width="0" height="0" />
544         </bpmndi:BPMNLabel>
545       </bpmndi:BPMNEdge>
546       <bpmndi:BPMNEdge id="SequenceFlow_1ttswdr_di" bpmnElement="SequenceFlow_1ttswdr">
547         <di:waypoint xsi:type="dc:Point" x="385" y="294" />
548         <di:waypoint xsi:type="dc:Point" x="422" y="294" />
549         <di:waypoint xsi:type="dc:Point" x="422" y="294" />
550         <di:waypoint xsi:type="dc:Point" x="476" y="294" />
551         <bpmndi:BPMNLabel>
552           <dc:Bounds x="437" y="294" width="0" height="0" />
553         </bpmndi:BPMNLabel>
554       </bpmndi:BPMNEdge>
555       <bpmndi:BPMNEdge id="SequenceFlow_06llof4_di" bpmnElement="SequenceFlow_06llof4">
556         <di:waypoint xsi:type="dc:Point" x="159" y="1466" />
557         <di:waypoint xsi:type="dc:Point" x="237" y="1466" />
558         <bpmndi:BPMNLabel>
559           <dc:Bounds x="198" y="1441" width="0" height="0" />
560         </bpmndi:BPMNLabel>
561       </bpmndi:BPMNEdge>
562       <bpmndi:BPMNShape id="CallActivity_1yap348_di" bpmnElement="CallActivity_1yap348">
563         <dc:Bounds x="346" y="356" width="100" height="80" />
564       </bpmndi:BPMNShape>
565       <bpmndi:BPMNShape id="IntermediateThrowEvent_0i8bmrc_di" bpmnElement="IntermediateThrowEvent_0i8bmrc">
566         <dc:Bounds x="1046" y="479" width="36" height="36" />
567         <bpmndi:BPMNLabel>
568           <dc:Bounds x="1023" y="520" width="85" height="12" />
569         </bpmndi:BPMNLabel>
570       </bpmndi:BPMNShape>
571       <bpmndi:BPMNShape id="IntermediateCatchEvent_04bw3vy_di" bpmnElement="IntermediateCatchEvent_04bw3vy">
572         <dc:Bounds x="96" y="489" width="36" height="36" />
573         <bpmndi:BPMNLabel>
574           <dc:Bounds x="87" y="525" width="56" height="12" />
575         </bpmndi:BPMNLabel>
576       </bpmndi:BPMNShape>
577       <bpmndi:BPMNShape id="ExclusiveGateway_0gw5gmo_di" bpmnElement="ExclusiveGateway_0gw5gmo" isMarkerVisible="true">
578         <dc:Bounds x="235" y="482" width="50" height="50" />
579         <bpmndi:BPMNLabel>
580           <dc:Bounds x="294" y="495" width="86" height="12" />
581         </bpmndi:BPMNLabel>
582       </bpmndi:BPMNShape>
583       <bpmndi:BPMNShape id="ExclusiveGateway_1hmeube_di" bpmnElement="ExclusiveGateway_1hmeube" isMarkerVisible="true">
584         <dc:Bounds x="501" y="462" width="50" height="50" />
585         <bpmndi:BPMNLabel>
586           <dc:Bounds x="526" y="512" width="0" height="0" />
587         </bpmndi:BPMNLabel>
588       </bpmndi:BPMNShape>
589       <bpmndi:BPMNShape id="ExclusiveGateway_12i24vc_di" bpmnElement="ExclusiveGateway_12i24vc" isMarkerVisible="true">
590         <dc:Bounds x="658" y="462" width="50" height="50" />
591         <bpmndi:BPMNLabel>
592           <dc:Bounds x="715" y="475" width="84" height="12" />
593         </bpmndi:BPMNLabel>
594       </bpmndi:BPMNShape>
595       <bpmndi:BPMNShape id="ExclusiveGateway_0190r3n_di" bpmnElement="ExclusiveGateway_0190r3n" isMarkerVisible="true">
596         <dc:Bounds x="911" y="472" width="50" height="50" />
597         <bpmndi:BPMNLabel>
598           <dc:Bounds x="936" y="522" width="0" height="0" />
599         </bpmndi:BPMNLabel>
600       </bpmndi:BPMNShape>
601       <bpmndi:BPMNEdge id="SequenceFlow_05cjs89_di" bpmnElement="SequenceFlow_05cjs89">
602         <di:waypoint xsi:type="dc:Point" x="260" y="482" />
603         <di:waypoint xsi:type="dc:Point" x="260" y="396" />
604         <di:waypoint xsi:type="dc:Point" x="346" y="396" />
605         <bpmndi:BPMNLabel>
606           <dc:Bounds x="267" y="429" width="17" height="12" />
607         </bpmndi:BPMNLabel>
608       </bpmndi:BPMNEdge>
609       <bpmndi:BPMNEdge id="SequenceFlow_0snq0kw_di" bpmnElement="SequenceFlow_0snq0kw">
610         <di:waypoint xsi:type="dc:Point" x="446" y="396" />
611         <di:waypoint xsi:type="dc:Point" x="527" y="396" />
612         <di:waypoint xsi:type="dc:Point" x="527" y="463" />
613         <bpmndi:BPMNLabel>
614           <dc:Bounds x="487" y="381" width="0" height="0" />
615         </bpmndi:BPMNLabel>
616       </bpmndi:BPMNEdge>
617       <bpmndi:BPMNEdge id="SequenceFlow_09i2jj0_di" bpmnElement="SequenceFlow_09i2jj0">
618         <di:waypoint xsi:type="dc:Point" x="132" y="507" />
619         <di:waypoint xsi:type="dc:Point" x="235" y="507" />
620         <bpmndi:BPMNLabel>
621           <dc:Bounds x="184" y="492" width="0" height="0" />
622         </bpmndi:BPMNLabel>
623       </bpmndi:BPMNEdge>
624       <bpmndi:BPMNEdge id="SequenceFlow_0zaircn_di" bpmnElement="SequenceFlow_0zaircn">
625         <di:waypoint xsi:type="dc:Point" x="961" y="497" />
626         <di:waypoint xsi:type="dc:Point" x="1004" y="497" />
627         <di:waypoint xsi:type="dc:Point" x="1004" y="497" />
628         <di:waypoint xsi:type="dc:Point" x="1046" y="497" />
629         <bpmndi:BPMNLabel>
630           <dc:Bounds x="1019" y="497" width="0" height="0" />
631         </bpmndi:BPMNLabel>
632       </bpmndi:BPMNEdge>
633       <bpmndi:BPMNEdge id="SequenceFlow_03n4wb1_di" bpmnElement="SequenceFlow_03n4wb1">
634         <di:waypoint xsi:type="dc:Point" x="260" y="532" />
635         <di:waypoint xsi:type="dc:Point" x="260" y="567" />
636         <di:waypoint xsi:type="dc:Point" x="526" y="567" />
637         <di:waypoint xsi:type="dc:Point" x="526" y="512" />
638         <bpmndi:BPMNLabel>
639           <dc:Bounds x="389" y="552" width="16" height="12" />
640         </bpmndi:BPMNLabel>
641       </bpmndi:BPMNEdge>
642       <bpmndi:BPMNEdge id="SequenceFlow_1jjh8rv_di" bpmnElement="SequenceFlow_1jjh8rv">
643         <di:waypoint xsi:type="dc:Point" x="551" y="487" />
644         <di:waypoint xsi:type="dc:Point" x="576" y="487" />
645         <di:waypoint xsi:type="dc:Point" x="576" y="562" />
646         <bpmndi:BPMNLabel>
647           <dc:Bounds x="518.5" y="472" width="90" height="0" />
648         </bpmndi:BPMNLabel>
649       </bpmndi:BPMNEdge>
650       <bpmndi:BPMNEdge id="SequenceFlow_0nk8vsb_di" bpmnElement="SequenceFlow_0nk8vsb">
651         <di:waypoint xsi:type="dc:Point" x="683" y="512" />
652         <di:waypoint xsi:type="dc:Point" x="683" y="557" />
653         <di:waypoint xsi:type="dc:Point" x="936" y="557" />
654         <di:waypoint xsi:type="dc:Point" x="936" y="522" />
655         <bpmndi:BPMNLabel>
656           <dc:Bounds x="803" y="542" width="16" height="12" />
657         </bpmndi:BPMNLabel>
658       </bpmndi:BPMNEdge>
659       <bpmndi:BPMNEdge id="SequenceFlow_0npvfo3_di" bpmnElement="SequenceFlow_0npvfo3">
660         <di:waypoint xsi:type="dc:Point" x="683" y="462" />
661         <di:waypoint xsi:type="dc:Point" x="683" y="396" />
662         <di:waypoint xsi:type="dc:Point" x="770" y="396" />
663         <bpmndi:BPMNLabel>
664           <dc:Bounds x="693" y="433" width="17" height="12" />
665         </bpmndi:BPMNLabel>
666       </bpmndi:BPMNEdge>
667       <bpmndi:BPMNShape id="CallActivity_00g5q0n_di" bpmnElement="CallActivity_00g5q0n">
668         <dc:Bounds x="771" y="356" width="100" height="80" />
669       </bpmndi:BPMNShape>
670       <bpmndi:BPMNEdge id="SequenceFlow_0et9p0i_di" bpmnElement="SequenceFlow_0et9p0i">
671         <di:waypoint xsi:type="dc:Point" x="871" y="396" />
672         <di:waypoint xsi:type="dc:Point" x="936" y="396" />
673         <di:waypoint xsi:type="dc:Point" x="936" y="472" />
674         <bpmndi:BPMNLabel>
675           <dc:Bounds x="904" y="381" width="0" height="0" />
676         </bpmndi:BPMNLabel>
677       </bpmndi:BPMNEdge>
678       <bpmndi:BPMNShape id="CallActivity_14j22w3_di" bpmnElement="CallActivity_14j22w3">
679         <dc:Bounds x="578" y="759" width="100" height="80" />
680       </bpmndi:BPMNShape>
681       <bpmndi:BPMNShape id="ScriptTask_1csw2q1_di" bpmnElement="ScriptTask_1csw2q1">
682         <dc:Bounds x="436" y="759" width="100" height="80" />
683       </bpmndi:BPMNShape>
684       <bpmndi:BPMNShape id="IntermediateThrowEvent_1ks536f_di" bpmnElement="IntermediateThrowEvent_1ks536f">
685         <dc:Bounds x="1059" y="848" width="36" height="36" />
686         <bpmndi:BPMNLabel>
687           <dc:Bounds x="1033" y="889" width="87" height="24" />
688         </bpmndi:BPMNLabel>
689       </bpmndi:BPMNShape>
690       <bpmndi:BPMNShape id="IntermediateCatchEvent_0hy32qu_di" bpmnElement="IntermediateCatchEvent_0hy32qu">
691         <dc:Bounds x="109" y="864" width="36" height="36" />
692         <bpmndi:BPMNLabel>
693           <dc:Bounds x="102" y="900" width="48" height="12" />
694         </bpmndi:BPMNLabel>
695       </bpmndi:BPMNShape>
696       <bpmndi:BPMNShape id="ExclusiveGateway_0io2vo5_di" bpmnElement="ExclusiveGateway_0io2vo5" isMarkerVisible="true">
697         <dc:Bounds x="358" y="857" width="50" height="50" />
698         <bpmndi:BPMNLabel>
699           <dc:Bounds x="417" y="889" width="65" height="12" />
700         </bpmndi:BPMNLabel>
701       </bpmndi:BPMNShape>
702       <bpmndi:BPMNShape id="ExclusiveGateway_1bm1vby_di" bpmnElement="ExclusiveGateway_1bm1vby" isMarkerVisible="true">
703         <dc:Bounds x="924" y="841" width="50" height="50" />
704         <bpmndi:BPMNLabel>
705           <dc:Bounds x="904" y="896" width="0" height="12" />
706         </bpmndi:BPMNLabel>
707       </bpmndi:BPMNShape>
708       <bpmndi:BPMNShape id="ScriptTask_0wqfeak_di" bpmnElement="ScriptTask_0wqfeak">
709         <dc:Bounds x="710" y="759" width="100" height="80" />
710       </bpmndi:BPMNShape>
711       <bpmndi:BPMNShape id="ExclusiveGateway_14hjmu4_di" bpmnElement="ExclusiveGateway_14hjmu4" isMarkerVisible="true">
712         <dc:Bounds x="851" y="774" width="50" height="50" />
713         <bpmndi:BPMNLabel>
714           <dc:Bounds x="818" y="832" width="85" height="24" />
715         </bpmndi:BPMNLabel>
716       </bpmndi:BPMNShape>
717       <bpmndi:BPMNEdge id="SequenceFlow_128485i_di" bpmnElement="SequenceFlow_128485i">
718         <di:waypoint xsi:type="dc:Point" x="536" y="799" />
719         <di:waypoint xsi:type="dc:Point" x="578" y="799" />
720         <bpmndi:BPMNLabel>
721           <dc:Bounds x="512" y="784" width="0" height="12" />
722         </bpmndi:BPMNLabel>
723       </bpmndi:BPMNEdge>
724       <bpmndi:BPMNEdge id="SequenceFlow_04fys47_di" bpmnElement="SequenceFlow_04fys47">
725         <di:waypoint xsi:type="dc:Point" x="678" y="799" />
726         <di:waypoint xsi:type="dc:Point" x="710" y="799" />
727         <bpmndi:BPMNLabel>
728           <dc:Bounds x="649" y="774" width="0" height="12" />
729         </bpmndi:BPMNLabel>
730       </bpmndi:BPMNEdge>
731       <bpmndi:BPMNEdge id="SequenceFlow_1yamcyn_di" bpmnElement="SequenceFlow_1yamcyn">
732         <di:waypoint xsi:type="dc:Point" x="383" y="857" />
733         <di:waypoint xsi:type="dc:Point" x="383" y="799" />
734         <di:waypoint xsi:type="dc:Point" x="436" y="799" />
735         <bpmndi:BPMNLabel>
736           <dc:Bounds x="388" y="818" width="21" height="12" />
737         </bpmndi:BPMNLabel>
738       </bpmndi:BPMNEdge>
739       <bpmndi:BPMNEdge id="SequenceFlow_19cxgtm_di" bpmnElement="SequenceFlow_19cxgtm">
740         <di:waypoint xsi:type="dc:Point" x="876" y="774" />
741         <di:waypoint xsi:type="dc:Point" x="876" y="688" />
742         <di:waypoint xsi:type="dc:Point" x="486" y="688" />
743         <di:waypoint xsi:type="dc:Point" x="486" y="759" />
744         <bpmndi:BPMNLabel>
745           <dc:Bounds x="671" y="670" width="21" height="12" />
746         </bpmndi:BPMNLabel>
747       </bpmndi:BPMNEdge>
748       <bpmndi:BPMNEdge id="SequenceFlow_1lfph6u_di" bpmnElement="SequenceFlow_1lfph6u">
749         <di:waypoint xsi:type="dc:Point" x="974" y="866" />
750         <di:waypoint xsi:type="dc:Point" x="1059" y="866" />
751         <bpmndi:BPMNLabel>
752           <dc:Bounds x="971.5" y="845" width="90" height="12" />
753         </bpmndi:BPMNLabel>
754       </bpmndi:BPMNEdge>
755       <bpmndi:BPMNEdge id="SequenceFlow_1ofw0fi_di" bpmnElement="SequenceFlow_1ofw0fi">
756         <di:waypoint xsi:type="dc:Point" x="145" y="882" />
757         <di:waypoint xsi:type="dc:Point" x="358" y="882" />
758         <bpmndi:BPMNLabel>
759           <dc:Bounds x="207.5" y="857" width="0" height="12" />
760         </bpmndi:BPMNLabel>
761       </bpmndi:BPMNEdge>
762       <bpmndi:BPMNEdge id="SequenceFlow_0vq7f6b_di" bpmnElement="SequenceFlow_0vq7f6b">
763         <di:waypoint xsi:type="dc:Point" x="383" y="908" />
764         <di:waypoint xsi:type="dc:Point" x="383" y="931" />
765         <di:waypoint xsi:type="dc:Point" x="949" y="931" />
766         <di:waypoint xsi:type="dc:Point" x="949" y="892" />
767         <bpmndi:BPMNLabel>
768           <dc:Bounds x="628" y="907" width="16" height="12" />
769         </bpmndi:BPMNLabel>
770       </bpmndi:BPMNEdge>
771       <bpmndi:BPMNEdge id="SequenceFlow_10scc5r_di" bpmnElement="SequenceFlow_10scc5r">
772         <di:waypoint xsi:type="dc:Point" x="901" y="799" />
773         <di:waypoint xsi:type="dc:Point" x="949" y="799" />
774         <di:waypoint xsi:type="dc:Point" x="949" y="841" />
775         <bpmndi:BPMNLabel>
776           <dc:Bounds x="917" y="784" width="16" height="12" />
777         </bpmndi:BPMNLabel>
778       </bpmndi:BPMNEdge>
779       <bpmndi:BPMNEdge id="SequenceFlow_1o5cutr_di" bpmnElement="SequenceFlow_1o5cutr">
780         <di:waypoint xsi:type="dc:Point" x="810" y="799" />
781         <di:waypoint xsi:type="dc:Point" x="851" y="799" />
782         <bpmndi:BPMNLabel>
783           <dc:Bounds x="786.5" y="784" width="0" height="12" />
784         </bpmndi:BPMNLabel>
785       </bpmndi:BPMNEdge>
786       <bpmndi:BPMNShape id="IntermediateThrowEvent_19nq9li_di" bpmnElement="IntermediateThrowEvent_19nq9li">
787         <dc:Bounds x="558" y="562" width="36" height="36" />
788         <bpmndi:BPMNLabel>
789           <dc:Bounds x="537" y="603" width="80" height="12" />
790         </bpmndi:BPMNLabel>
791       </bpmndi:BPMNShape>
792       <bpmndi:BPMNShape id="IntermediateCatchEvent_1svwsxy_di" bpmnElement="IntermediateCatchEvent_1svwsxy">
793         <dc:Bounds x="591" y="378" width="36" height="36" />
794         <bpmndi:BPMNLabel>
795           <dc:Bounds x="590" y="362" width="56" height="12" />
796         </bpmndi:BPMNLabel>
797       </bpmndi:BPMNShape>
798       <bpmndi:BPMNEdge id="SequenceFlow_0xgpd0u_di" bpmnElement="SequenceFlow_0xgpd0u">
799         <di:waypoint xsi:type="dc:Point" x="609" y="414" />
800         <di:waypoint xsi:type="dc:Point" x="609" y="487" />
801         <di:waypoint xsi:type="dc:Point" x="658" y="487" />
802         <bpmndi:BPMNLabel>
803           <dc:Bounds x="624" y="444.5" width="0" height="12" />
804         </bpmndi:BPMNLabel>
805       </bpmndi:BPMNEdge>
806     </bpmndi:BPMNPlane>
807   </bpmndi:BPMNDiagram>
808 </bpmn2:definitions>