Merge "Set context for VFC Create api"
[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       </bpmn2:extensionElements>
257       <bpmn2:incoming>SequenceFlow_128485i</bpmn2:incoming>
258       <bpmn2:outgoing>SequenceFlow_04fys47</bpmn2:outgoing>
259     </bpmn2:callActivity>
260     <bpmn2:scriptTask id="ScriptTask_1csw2q1" name="Prepare to Delete VNF" scriptFormat="groovy">
261       <bpmn2:incoming>SequenceFlow_1yamcyn</bpmn2:incoming>
262       <bpmn2:incoming>SequenceFlow_19cxgtm</bpmn2:incoming>
263       <bpmn2:outgoing>SequenceFlow_128485i</bpmn2:outgoing>
264       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
265 def DeleteVcpeResCustService= new DeleteVcpeResCustService()
266 DeleteVcpeResCustService.prepareVnfAndModulesDelete(execution)]]></bpmn2:script>
267     </bpmn2:scriptTask>
268     <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_1ks536f" name="GoToDeleteTXC">
269       <bpmn2:incoming>SequenceFlow_1lfph6u</bpmn2:incoming>
270       <bpmn2:linkEventDefinition name="DeleteTXC" />
271     </bpmn2:intermediateThrowEvent>
272     <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_0hy32qu" name="StartVnfs">
273       <bpmn2:outgoing>SequenceFlow_1ofw0fi</bpmn2:outgoing>
274       <bpmn2:linkEventDefinition name="StartVnfs" />
275     </bpmn2:intermediateCatchEvent>
276     <bpmn2:exclusiveGateway id="ExclusiveGateway_0io2vo5" name="Delete VNF?" default="SequenceFlow_0vq7f6b">
277       <bpmn2:incoming>SequenceFlow_1ofw0fi</bpmn2:incoming>
278       <bpmn2:outgoing>SequenceFlow_1yamcyn</bpmn2:outgoing>
279       <bpmn2:outgoing>SequenceFlow_0vq7f6b</bpmn2:outgoing>
280     </bpmn2:exclusiveGateway>
281     <bpmn2:exclusiveGateway id="ExclusiveGateway_1bm1vby">
282       <bpmn2:incoming>SequenceFlow_0vq7f6b</bpmn2:incoming>
283       <bpmn2:incoming>SequenceFlow_10scc5r</bpmn2:incoming>
284       <bpmn2:outgoing>SequenceFlow_1lfph6u</bpmn2:outgoing>
285     </bpmn2:exclusiveGateway>
286     <bpmn2:scriptTask id="ScriptTask_0wqfeak" name="Validate VNF delete" scriptFormat="groovy">
287       <bpmn2:incoming>SequenceFlow_04fys47</bpmn2:incoming>
288       <bpmn2:outgoing>SequenceFlow_1o5cutr</bpmn2:outgoing>
289       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
290 def DeleteVcpeResCustService= new DeleteVcpeResCustService()
291 DeleteVcpeResCustService.validateVnfDelete(execution)]]></bpmn2:script>
292     </bpmn2:scriptTask>
293     <bpmn2:exclusiveGateway id="ExclusiveGateway_14hjmu4" name="Delete Additional VNFs?" default="SequenceFlow_10scc5r">
294       <bpmn2:incoming>SequenceFlow_1o5cutr</bpmn2:incoming>
295       <bpmn2:outgoing>SequenceFlow_19cxgtm</bpmn2:outgoing>
296       <bpmn2:outgoing>SequenceFlow_10scc5r</bpmn2:outgoing>
297     </bpmn2:exclusiveGateway>
298     <bpmn2:sequenceFlow id="SequenceFlow_128485i" sourceRef="ScriptTask_1csw2q1" targetRef="CallActivity_14j22w3" />
299     <bpmn2:sequenceFlow id="SequenceFlow_04fys47" sourceRef="CallActivity_14j22w3" targetRef="ScriptTask_0wqfeak" />
300     <bpmn2:sequenceFlow id="SequenceFlow_1yamcyn" name="Yes" sourceRef="ExclusiveGateway_0io2vo5" targetRef="ScriptTask_1csw2q1">
301       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DVRCS_vnfsCount") > 0}]]></bpmn2:conditionExpression>
302     </bpmn2:sequenceFlow>
303     <bpmn2:sequenceFlow id="SequenceFlow_19cxgtm" name="Yes" sourceRef="ExclusiveGateway_14hjmu4" targetRef="ScriptTask_1csw2q1">
304       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("DVRCS_vnfsDeletedCount") < execution.getVariable("DVRCS_vnfsCount")}]]></bpmn2:conditionExpression>
305     </bpmn2:sequenceFlow>
306     <bpmn2:sequenceFlow id="SequenceFlow_1lfph6u" sourceRef="ExclusiveGateway_1bm1vby" targetRef="IntermediateThrowEvent_1ks536f" />
307     <bpmn2:sequenceFlow id="SequenceFlow_1ofw0fi" sourceRef="IntermediateCatchEvent_0hy32qu" targetRef="ExclusiveGateway_0io2vo5" />
308     <bpmn2:sequenceFlow id="SequenceFlow_0vq7f6b" name="No" sourceRef="ExclusiveGateway_0io2vo5" targetRef="ExclusiveGateway_1bm1vby" />
309     <bpmn2:sequenceFlow id="SequenceFlow_10scc5r" name="No" sourceRef="ExclusiveGateway_14hjmu4" targetRef="ExclusiveGateway_1bm1vby" />
310     <bpmn2:sequenceFlow id="SequenceFlow_1o5cutr" sourceRef="ScriptTask_0wqfeak" targetRef="ExclusiveGateway_14hjmu4" />
311     <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_19nq9li" name="GoToStartVnfs">
312       <bpmn2:incoming>SequenceFlow_1jjh8rv</bpmn2:incoming>
313       <bpmn2:linkEventDefinition name="StartVnfs" />
314     </bpmn2:intermediateThrowEvent>
315     <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1svwsxy" name="DeleteTXC">
316       <bpmn2:outgoing>SequenceFlow_0xgpd0u</bpmn2:outgoing>
317       <bpmn2:linkEventDefinition name="DeleteTXC" />
318     </bpmn2:intermediateCatchEvent>
319     <bpmn2:sequenceFlow id="SequenceFlow_0xgpd0u" sourceRef="IntermediateCatchEvent_1svwsxy" targetRef="ExclusiveGateway_12i24vc" />
320   </bpmn2:process>
321   <bpmn2:error id="Error_2" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
322   <bpmn2:error id="Error_1" name="java.lang.Exception" errorCode="java.lang.Exception" />
323   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
324     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DeleteVcpeResCustService">
325       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_47" bpmnElement="createVCPE_startEvent">
326         <dc:Bounds x="96" y="121" width="36" height="36" />
327         <bpmndi:BPMNLabel>
328           <dc:Bounds x="90" y="162" width="50" height="12" />
329         </bpmndi:BPMNLabel>
330       </bpmndi:BPMNShape>
331       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_61" bpmnElement="preProcessRequest_ScriptTask">
332         <dc:Bounds x="285" y="99" width="100" height="80" />
333       </bpmndi:BPMNShape>
334       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_47" targetElement="_BPMNShape_ScriptTask_61">
335         <di:waypoint xsi:type="dc:Point" x="132" y="139" />
336         <di:waypoint xsi:type="dc:Point" x="285" y="139" />
337         <bpmndi:BPMNLabel>
338           <dc:Bounds x="174" y="139" width="0" height="0" />
339         </bpmndi:BPMNLabel>
340       </bpmndi:BPMNEdge>
341       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_4" bpmnElement="callCompleteMsoProcess_CallActivity">
342         <dc:Bounds x="476" y="1192" width="100" height="80" />
343       </bpmndi:BPMNShape>
344       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_80" bpmnElement="postProcessAndCompletionRequest_ScriptTask">
345         <dc:Bounds x="285" y="1193" width="100" height="80" />
346       </bpmndi:BPMNShape>
347       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ScriptTask_61" targetElement="_BPMNShape_ScriptTask_127">
348         <di:waypoint xsi:type="dc:Point" x="385" y="139" />
349         <di:waypoint xsi:type="dc:Point" x="476" y="139" />
350         <bpmndi:BPMNLabel>
351           <dc:Bounds x="274" y="100" width="0" height="0" />
352         </bpmndi:BPMNLabel>
353       </bpmndi:BPMNEdge>
354       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_127" bpmnElement="sendSyncAckResponse_ScriptTask">
355         <dc:Bounds x="476" y="99" width="100" height="80" />
356       </bpmndi:BPMNShape>
357       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_42" bpmnElement="SequenceFlow_29" sourceElement="_BPMNShape_ScriptTask_80" targetElement="_BPMNShape_CallActivity_4">
358         <di:waypoint xsi:type="dc:Point" x="385" y="1233" />
359         <di:waypoint xsi:type="dc:Point" x="476" y="1232" />
360         <bpmndi:BPMNLabel>
361           <dc:Bounds x="431" y="1217.5" width="0" height="0" />
362         </bpmndi:BPMNLabel>
363       </bpmndi:BPMNEdge>
364       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_177" bpmnElement="DeleteVCPE_EndEvent">
365         <dc:Bounds x="1046" y="1213" width="36" height="36" />
366         <bpmndi:BPMNLabel>
367           <dc:Bounds x="1054" y="1254" width="19" height="12" />
368         </bpmndi:BPMNLabel>
369       </bpmndi:BPMNShape>
370       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_CallActivity_4" targetElement="_BPMNShape_ScriptTask_337">
371         <di:waypoint xsi:type="dc:Point" x="576" y="1233" />
372         <di:waypoint xsi:type="dc:Point" x="636" y="1233" />
373         <di:waypoint xsi:type="dc:Point" x="636" y="1230" />
374         <di:waypoint xsi:type="dc:Point" x="803" y="1230" />
375         <bpmndi:BPMNLabel>
376           <dc:Bounds x="651" y="1231.5" width="0" height="0" />
377         </bpmndi:BPMNLabel>
378       </bpmndi:BPMNEdge>
379       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_27" bpmnElement="UnexpectedError_SubProcess_1" isExpanded="true">
380         <dc:Bounds x="686" y="1374" width="405" height="205" />
381       </bpmndi:BPMNShape>
382       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_70" bpmnElement="StartEvent_1">
383         <dc:Bounds x="754" y="1479" width="36" height="36" />
384         <bpmndi:BPMNLabel>
385           <dc:Bounds x="772" y="1520" width="0" height="0" />
386         </bpmndi:BPMNLabel>
387       </bpmndi:BPMNShape>
388       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_269" bpmnElement="ScriptTask_1">
389         <dc:Bounds x="829" y="1457" width="100" height="80" />
390       </bpmndi:BPMNShape>
391       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_219" bpmnElement="EndEvent_1">
392         <dc:Bounds x="982" y="1479" width="36" height="36" />
393         <bpmndi:BPMNLabel>
394           <dc:Bounds x="1000" y="1520" width="0" height="0" />
395         </bpmndi:BPMNLabel>
396       </bpmndi:BPMNShape>
397       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_StartEvent_70" targetElement="_BPMNShape_ScriptTask_269">
398         <di:waypoint xsi:type="dc:Point" x="790" y="1497" />
399         <di:waypoint xsi:type="dc:Point" x="829" y="1497" />
400         <bpmndi:BPMNLabel>
401           <dc:Bounds x="818" y="1497" width="0" height="0" />
402         </bpmndi:BPMNLabel>
403       </bpmndi:BPMNEdge>
404       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_269" targetElement="_BPMNShape_EndEvent_219">
405         <di:waypoint xsi:type="dc:Point" x="929" y="1497" />
406         <di:waypoint xsi:type="dc:Point" x="962" y="1497" />
407         <di:waypoint xsi:type="dc:Point" x="962" y="1497" />
408         <di:waypoint xsi:type="dc:Point" x="982" y="1497" />
409         <bpmndi:BPMNLabel>
410           <dc:Bounds x="977" y="1497" width="0" height="0" />
411         </bpmndi:BPMNLabel>
412       </bpmndi:BPMNEdge>
413       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_75" bpmnElement="doDeleteServiceInstance_CallActivity">
414         <dc:Bounds x="285" y="1009" width="100" height="80" />
415       </bpmndi:BPMNShape>
416       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_127">
417         <di:waypoint xsi:type="dc:Point" x="576" y="139" />
418         <di:waypoint xsi:type="dc:Point" x="728" y="139" />
419         <bpmndi:BPMNLabel>
420           <dc:Bounds x="652" y="124" width="0" height="0" />
421         </bpmndi:BPMNLabel>
422       </bpmndi:BPMNEdge>
423       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_337" bpmnElement="ScriptTask_2">
424         <dc:Bounds x="803" y="1191" width="100" height="80" />
425       </bpmndi:BPMNShape>
426       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_337" targetElement="_BPMNShape_EndEvent_177">
427         <di:waypoint xsi:type="dc:Point" x="903" y="1230" />
428         <di:waypoint xsi:type="dc:Point" x="1046" y="1231" />
429         <bpmndi:BPMNLabel>
430           <dc:Bounds x="975" y="1215.5" width="0" height="0" />
431         </bpmndi:BPMNLabel>
432       </bpmndi:BPMNEdge>
433       <bpmndi:BPMNShape id="_BPMNShape_IntermediateCatchEvent_35" bpmnElement="IntermediateCatchEvent_3">
434         <dc:Bounds x="100" y="1031" width="36" height="36" />
435         <bpmndi:BPMNLabel>
436           <dc:Bounds x="92" y="1067" width="51" height="12" />
437         </bpmndi:BPMNLabel>
438       </bpmndi:BPMNShape>
439       <bpmndi:BPMNShape id="_BPMNShape_IntermediateCatchEvent_36" bpmnElement="IntermediateCatchEvent_4">
440         <dc:Bounds x="100" y="1216" width="36" height="36" />
441         <bpmndi:BPMNLabel>
442           <dc:Bounds x="82" y="1252" width="71" height="14" />
443         </bpmndi:BPMNLabel>
444       </bpmndi:BPMNShape>
445       <bpmndi:BPMNShape id="_BPMNShape_IntermediateThrowEvent_49" bpmnElement="IntermediateThrowEvent_2">
446         <dc:Bounds x="728" y="121" width="36" height="36" />
447         <bpmndi:BPMNLabel>
448           <dc:Bounds x="703" y="162" width="86" height="24" />
449         </bpmndi:BPMNLabel>
450       </bpmndi:BPMNShape>
451       <bpmndi:BPMNShape id="SubProcess_0s6hpty_di" bpmnElement="SubProcess_0s6hpty" isExpanded="true">
452         <dc:Bounds x="52" y="1375" width="598" height="203" />
453       </bpmndi:BPMNShape>
454       <bpmndi:BPMNShape id="StartEvent_1bwmffk_di" bpmnElement="StartEvent_1bwmffk">
455         <dc:Bounds x="123" y="1448" width="36" height="36" />
456         <bpmndi:BPMNLabel>
457           <dc:Bounds x="117" y="1489" width="50" height="12" />
458         </bpmndi:BPMNLabel>
459       </bpmndi:BPMNShape>
460       <bpmndi:BPMNShape id="CallActivity_0jw5tqa_di" bpmnElement="CallActivity_0jw5tqa">
461         <dc:Bounds x="384" y="1426" width="100" height="80" />
462       </bpmndi:BPMNShape>
463       <bpmndi:BPMNShape id="EndEvent_04xute7_di" bpmnElement="EndEvent_04xute7">
464         <dc:Bounds x="539" y="1448" width="36" height="36" />
465         <bpmndi:BPMNLabel>
466           <dc:Bounds x="557" y="1489" width="0" height="0" />
467         </bpmndi:BPMNLabel>
468       </bpmndi:BPMNShape>
469       <bpmndi:BPMNShape id="ScriptTask_0yk02h3_di" bpmnElement="ScriptTask_0yk02h3">
470         <dc:Bounds x="237" y="1426" width="100" height="80" />
471       </bpmndi:BPMNShape>
472       <bpmndi:BPMNEdge id="SequenceFlow_10o22u2_di" bpmnElement="SequenceFlow_10o22u2">
473         <di:waypoint xsi:type="dc:Point" x="136" y="1049" />
474         <di:waypoint xsi:type="dc:Point" x="285" y="1049" />
475         <bpmndi:BPMNLabel>
476           <dc:Bounds x="211" y="1034" width="0" height="0" />
477         </bpmndi:BPMNLabel>
478       </bpmndi:BPMNEdge>
479       <bpmndi:BPMNEdge id="SequenceFlow_12ilko1_di" bpmnElement="SequenceFlow_12ilko1">
480         <di:waypoint xsi:type="dc:Point" x="136" y="1234" />
481         <di:waypoint xsi:type="dc:Point" x="285" y="1233" />
482         <bpmndi:BPMNLabel>
483           <dc:Bounds x="211" y="1218.5" width="0" height="0" />
484         </bpmndi:BPMNLabel>
485       </bpmndi:BPMNEdge>
486       <bpmndi:BPMNEdge id="SequenceFlow_0807ukc_di" bpmnElement="SequenceFlow_0807ukc">
487         <di:waypoint xsi:type="dc:Point" x="337" y="1466" />
488         <di:waypoint xsi:type="dc:Point" x="384" y="1466" />
489         <bpmndi:BPMNLabel>
490           <dc:Bounds x="361" y="1451" width="0" height="0" />
491         </bpmndi:BPMNLabel>
492       </bpmndi:BPMNEdge>
493       <bpmndi:BPMNEdge id="SequenceFlow_19yywk8_di" bpmnElement="SequenceFlow_19yywk8">
494         <di:waypoint xsi:type="dc:Point" x="484" y="1466" />
495         <di:waypoint xsi:type="dc:Point" x="539" y="1466" />
496         <bpmndi:BPMNLabel>
497           <dc:Bounds x="512" y="1451" width="0" height="0" />
498         </bpmndi:BPMNLabel>
499       </bpmndi:BPMNEdge>
500       <bpmndi:BPMNShape id="IntermediateThrowEvent_0prlju0_di" bpmnElement="IntermediateThrowEvent_0prlju0">
501         <dc:Bounds x="508" y="1031" width="36" height="36" />
502         <bpmndi:BPMNLabel>
503           <dc:Bounds x="491" y="1072" width="70" height="24" />
504         </bpmndi:BPMNLabel>
505       </bpmndi:BPMNShape>
506       <bpmndi:BPMNShape id="CallActivity_0nmoax4_di" bpmnElement="callGetServiceInstance">
507         <dc:Bounds x="285" y="254" width="100" height="80" />
508       </bpmndi:BPMNShape>
509       <bpmndi:BPMNShape id="ScriptTask_05m3m2e_di" bpmnElement="ScriptTask_05m3m2e">
510         <dc:Bounds x="476" y="254" width="100" height="80" />
511       </bpmndi:BPMNShape>
512       <bpmndi:BPMNShape id="IntermediateCatchEvent_112zjtp_di" bpmnElement="IntermediateCatchEvent_112zjtp">
513         <dc:Bounds x="96" y="276" width="36" height="36" />
514         <bpmndi:BPMNLabel>
515           <dc:Bounds x="72" y="312" width="81" height="24" />
516         </bpmndi:BPMNLabel>
517       </bpmndi:BPMNShape>
518       <bpmndi:BPMNShape id="IntermediateThrowEvent_162gs5w_di" bpmnElement="IntermediateThrowEvent_162gs5w">
519         <dc:Bounds x="732" y="276" width="36" height="36" />
520         <bpmndi:BPMNLabel>
521           <dc:Bounds x="708" y="317" width="82" height="12" />
522         </bpmndi:BPMNLabel>
523       </bpmndi:BPMNShape>
524       <bpmndi:BPMNEdge id="SequenceFlow_0jek18q_di" bpmnElement="SequenceFlow_0jek18q">
525         <di:waypoint xsi:type="dc:Point" x="132" y="294" />
526         <di:waypoint xsi:type="dc:Point" x="285" y="294" />
527         <bpmndi:BPMNLabel>
528           <dc:Bounds x="209" y="279" width="0" height="0" />
529         </bpmndi:BPMNLabel>
530       </bpmndi:BPMNEdge>
531       <bpmndi:BPMNEdge id="SequenceFlow_18103ca_di" bpmnElement="SequenceFlow_18103ca">
532         <di:waypoint xsi:type="dc:Point" x="576" y="294" />
533         <di:waypoint xsi:type="dc:Point" x="732" y="294" />
534         <bpmndi:BPMNLabel>
535           <dc:Bounds x="654" y="279" width="0" height="0" />
536         </bpmndi:BPMNLabel>
537       </bpmndi:BPMNEdge>
538       <bpmndi:BPMNEdge id="SequenceFlow_04ao07f_di" bpmnElement="SequenceFlow_04ao07f">
539         <di:waypoint xsi:type="dc:Point" x="385" y="1049" />
540         <di:waypoint xsi:type="dc:Point" x="508" y="1049" />
541         <bpmndi:BPMNLabel>
542           <dc:Bounds x="447" y="1034" width="0" height="0" />
543         </bpmndi:BPMNLabel>
544       </bpmndi:BPMNEdge>
545       <bpmndi:BPMNEdge id="SequenceFlow_1ttswdr_di" bpmnElement="SequenceFlow_1ttswdr">
546         <di:waypoint xsi:type="dc:Point" x="385" y="294" />
547         <di:waypoint xsi:type="dc:Point" x="422" y="294" />
548         <di:waypoint xsi:type="dc:Point" x="422" y="294" />
549         <di:waypoint xsi:type="dc:Point" x="476" y="294" />
550         <bpmndi:BPMNLabel>
551           <dc:Bounds x="437" y="294" width="0" height="0" />
552         </bpmndi:BPMNLabel>
553       </bpmndi:BPMNEdge>
554       <bpmndi:BPMNEdge id="SequenceFlow_06llof4_di" bpmnElement="SequenceFlow_06llof4">
555         <di:waypoint xsi:type="dc:Point" x="159" y="1466" />
556         <di:waypoint xsi:type="dc:Point" x="237" y="1466" />
557         <bpmndi:BPMNLabel>
558           <dc:Bounds x="198" y="1441" width="0" height="0" />
559         </bpmndi:BPMNLabel>
560       </bpmndi:BPMNEdge>
561       <bpmndi:BPMNShape id="CallActivity_1yap348_di" bpmnElement="CallActivity_1yap348">
562         <dc:Bounds x="346" y="356" width="100" height="80" />
563       </bpmndi:BPMNShape>
564       <bpmndi:BPMNShape id="IntermediateThrowEvent_0i8bmrc_di" bpmnElement="IntermediateThrowEvent_0i8bmrc">
565         <dc:Bounds x="1046" y="479" width="36" height="36" />
566         <bpmndi:BPMNLabel>
567           <dc:Bounds x="1023" y="520" width="85" height="12" />
568         </bpmndi:BPMNLabel>
569       </bpmndi:BPMNShape>
570       <bpmndi:BPMNShape id="IntermediateCatchEvent_04bw3vy_di" bpmnElement="IntermediateCatchEvent_04bw3vy">
571         <dc:Bounds x="96" y="489" width="36" height="36" />
572         <bpmndi:BPMNLabel>
573           <dc:Bounds x="87" y="525" width="56" height="12" />
574         </bpmndi:BPMNLabel>
575       </bpmndi:BPMNShape>
576       <bpmndi:BPMNShape id="ExclusiveGateway_0gw5gmo_di" bpmnElement="ExclusiveGateway_0gw5gmo" isMarkerVisible="true">
577         <dc:Bounds x="235" y="482" width="50" height="50" />
578         <bpmndi:BPMNLabel>
579           <dc:Bounds x="294" y="495" width="86" height="12" />
580         </bpmndi:BPMNLabel>
581       </bpmndi:BPMNShape>
582       <bpmndi:BPMNShape id="ExclusiveGateway_1hmeube_di" bpmnElement="ExclusiveGateway_1hmeube" isMarkerVisible="true">
583         <dc:Bounds x="501" y="462" width="50" height="50" />
584         <bpmndi:BPMNLabel>
585           <dc:Bounds x="526" y="512" width="0" height="0" />
586         </bpmndi:BPMNLabel>
587       </bpmndi:BPMNShape>
588       <bpmndi:BPMNShape id="ExclusiveGateway_12i24vc_di" bpmnElement="ExclusiveGateway_12i24vc" isMarkerVisible="true">
589         <dc:Bounds x="658" y="462" width="50" height="50" />
590         <bpmndi:BPMNLabel>
591           <dc:Bounds x="715" y="475" width="84" height="12" />
592         </bpmndi:BPMNLabel>
593       </bpmndi:BPMNShape>
594       <bpmndi:BPMNShape id="ExclusiveGateway_0190r3n_di" bpmnElement="ExclusiveGateway_0190r3n" isMarkerVisible="true">
595         <dc:Bounds x="911" y="472" width="50" height="50" />
596         <bpmndi:BPMNLabel>
597           <dc:Bounds x="936" y="522" width="0" height="0" />
598         </bpmndi:BPMNLabel>
599       </bpmndi:BPMNShape>
600       <bpmndi:BPMNEdge id="SequenceFlow_05cjs89_di" bpmnElement="SequenceFlow_05cjs89">
601         <di:waypoint xsi:type="dc:Point" x="260" y="482" />
602         <di:waypoint xsi:type="dc:Point" x="260" y="396" />
603         <di:waypoint xsi:type="dc:Point" x="346" y="396" />
604         <bpmndi:BPMNLabel>
605           <dc:Bounds x="267" y="429" width="17" height="12" />
606         </bpmndi:BPMNLabel>
607       </bpmndi:BPMNEdge>
608       <bpmndi:BPMNEdge id="SequenceFlow_0snq0kw_di" bpmnElement="SequenceFlow_0snq0kw">
609         <di:waypoint xsi:type="dc:Point" x="446" y="396" />
610         <di:waypoint xsi:type="dc:Point" x="527" y="396" />
611         <di:waypoint xsi:type="dc:Point" x="527" y="463" />
612         <bpmndi:BPMNLabel>
613           <dc:Bounds x="487" y="381" width="0" height="0" />
614         </bpmndi:BPMNLabel>
615       </bpmndi:BPMNEdge>
616       <bpmndi:BPMNEdge id="SequenceFlow_09i2jj0_di" bpmnElement="SequenceFlow_09i2jj0">
617         <di:waypoint xsi:type="dc:Point" x="132" y="507" />
618         <di:waypoint xsi:type="dc:Point" x="235" y="507" />
619         <bpmndi:BPMNLabel>
620           <dc:Bounds x="184" y="492" width="0" height="0" />
621         </bpmndi:BPMNLabel>
622       </bpmndi:BPMNEdge>
623       <bpmndi:BPMNEdge id="SequenceFlow_0zaircn_di" bpmnElement="SequenceFlow_0zaircn">
624         <di:waypoint xsi:type="dc:Point" x="961" y="497" />
625         <di:waypoint xsi:type="dc:Point" x="1004" y="497" />
626         <di:waypoint xsi:type="dc:Point" x="1004" y="497" />
627         <di:waypoint xsi:type="dc:Point" x="1046" y="497" />
628         <bpmndi:BPMNLabel>
629           <dc:Bounds x="1019" y="497" width="0" height="0" />
630         </bpmndi:BPMNLabel>
631       </bpmndi:BPMNEdge>
632       <bpmndi:BPMNEdge id="SequenceFlow_03n4wb1_di" bpmnElement="SequenceFlow_03n4wb1">
633         <di:waypoint xsi:type="dc:Point" x="260" y="532" />
634         <di:waypoint xsi:type="dc:Point" x="260" y="567" />
635         <di:waypoint xsi:type="dc:Point" x="526" y="567" />
636         <di:waypoint xsi:type="dc:Point" x="526" y="512" />
637         <bpmndi:BPMNLabel>
638           <dc:Bounds x="389" y="552" width="16" height="12" />
639         </bpmndi:BPMNLabel>
640       </bpmndi:BPMNEdge>
641       <bpmndi:BPMNEdge id="SequenceFlow_1jjh8rv_di" bpmnElement="SequenceFlow_1jjh8rv">
642         <di:waypoint xsi:type="dc:Point" x="551" y="487" />
643         <di:waypoint xsi:type="dc:Point" x="576" y="487" />
644         <di:waypoint xsi:type="dc:Point" x="576" y="562" />
645         <bpmndi:BPMNLabel>
646           <dc:Bounds x="518.5" y="472" width="90" height="0" />
647         </bpmndi:BPMNLabel>
648       </bpmndi:BPMNEdge>
649       <bpmndi:BPMNEdge id="SequenceFlow_0nk8vsb_di" bpmnElement="SequenceFlow_0nk8vsb">
650         <di:waypoint xsi:type="dc:Point" x="683" y="512" />
651         <di:waypoint xsi:type="dc:Point" x="683" y="557" />
652         <di:waypoint xsi:type="dc:Point" x="936" y="557" />
653         <di:waypoint xsi:type="dc:Point" x="936" y="522" />
654         <bpmndi:BPMNLabel>
655           <dc:Bounds x="803" y="542" width="16" height="12" />
656         </bpmndi:BPMNLabel>
657       </bpmndi:BPMNEdge>
658       <bpmndi:BPMNEdge id="SequenceFlow_0npvfo3_di" bpmnElement="SequenceFlow_0npvfo3">
659         <di:waypoint xsi:type="dc:Point" x="683" y="462" />
660         <di:waypoint xsi:type="dc:Point" x="683" y="396" />
661         <di:waypoint xsi:type="dc:Point" x="770" y="396" />
662         <bpmndi:BPMNLabel>
663           <dc:Bounds x="693" y="433" width="17" height="12" />
664         </bpmndi:BPMNLabel>
665       </bpmndi:BPMNEdge>
666       <bpmndi:BPMNShape id="CallActivity_00g5q0n_di" bpmnElement="CallActivity_00g5q0n">
667         <dc:Bounds x="771" y="356" width="100" height="80" />
668       </bpmndi:BPMNShape>
669       <bpmndi:BPMNEdge id="SequenceFlow_0et9p0i_di" bpmnElement="SequenceFlow_0et9p0i">
670         <di:waypoint xsi:type="dc:Point" x="871" y="396" />
671         <di:waypoint xsi:type="dc:Point" x="936" y="396" />
672         <di:waypoint xsi:type="dc:Point" x="936" y="472" />
673         <bpmndi:BPMNLabel>
674           <dc:Bounds x="904" y="381" width="0" height="0" />
675         </bpmndi:BPMNLabel>
676       </bpmndi:BPMNEdge>
677       <bpmndi:BPMNShape id="CallActivity_14j22w3_di" bpmnElement="CallActivity_14j22w3">
678         <dc:Bounds x="578" y="759" width="100" height="80" />
679       </bpmndi:BPMNShape>
680       <bpmndi:BPMNShape id="ScriptTask_1csw2q1_di" bpmnElement="ScriptTask_1csw2q1">
681         <dc:Bounds x="436" y="759" width="100" height="80" />
682       </bpmndi:BPMNShape>
683       <bpmndi:BPMNShape id="IntermediateThrowEvent_1ks536f_di" bpmnElement="IntermediateThrowEvent_1ks536f">
684         <dc:Bounds x="1059" y="848" width="36" height="36" />
685         <bpmndi:BPMNLabel>
686           <dc:Bounds x="1033" y="889" width="87" height="24" />
687         </bpmndi:BPMNLabel>
688       </bpmndi:BPMNShape>
689       <bpmndi:BPMNShape id="IntermediateCatchEvent_0hy32qu_di" bpmnElement="IntermediateCatchEvent_0hy32qu">
690         <dc:Bounds x="109" y="864" width="36" height="36" />
691         <bpmndi:BPMNLabel>
692           <dc:Bounds x="102" y="900" width="48" height="12" />
693         </bpmndi:BPMNLabel>
694       </bpmndi:BPMNShape>
695       <bpmndi:BPMNShape id="ExclusiveGateway_0io2vo5_di" bpmnElement="ExclusiveGateway_0io2vo5" isMarkerVisible="true">
696         <dc:Bounds x="358" y="857" width="50" height="50" />
697         <bpmndi:BPMNLabel>
698           <dc:Bounds x="417" y="889" width="65" height="12" />
699         </bpmndi:BPMNLabel>
700       </bpmndi:BPMNShape>
701       <bpmndi:BPMNShape id="ExclusiveGateway_1bm1vby_di" bpmnElement="ExclusiveGateway_1bm1vby" isMarkerVisible="true">
702         <dc:Bounds x="924" y="841" width="50" height="50" />
703         <bpmndi:BPMNLabel>
704           <dc:Bounds x="904" y="896" width="0" height="12" />
705         </bpmndi:BPMNLabel>
706       </bpmndi:BPMNShape>
707       <bpmndi:BPMNShape id="ScriptTask_0wqfeak_di" bpmnElement="ScriptTask_0wqfeak">
708         <dc:Bounds x="710" y="759" width="100" height="80" />
709       </bpmndi:BPMNShape>
710       <bpmndi:BPMNShape id="ExclusiveGateway_14hjmu4_di" bpmnElement="ExclusiveGateway_14hjmu4" isMarkerVisible="true">
711         <dc:Bounds x="851" y="774" width="50" height="50" />
712         <bpmndi:BPMNLabel>
713           <dc:Bounds x="818" y="832" width="85" height="24" />
714         </bpmndi:BPMNLabel>
715       </bpmndi:BPMNShape>
716       <bpmndi:BPMNEdge id="SequenceFlow_128485i_di" bpmnElement="SequenceFlow_128485i">
717         <di:waypoint xsi:type="dc:Point" x="536" y="799" />
718         <di:waypoint xsi:type="dc:Point" x="578" y="799" />
719         <bpmndi:BPMNLabel>
720           <dc:Bounds x="512" y="784" width="0" height="12" />
721         </bpmndi:BPMNLabel>
722       </bpmndi:BPMNEdge>
723       <bpmndi:BPMNEdge id="SequenceFlow_04fys47_di" bpmnElement="SequenceFlow_04fys47">
724         <di:waypoint xsi:type="dc:Point" x="678" y="799" />
725         <di:waypoint xsi:type="dc:Point" x="710" y="799" />
726         <bpmndi:BPMNLabel>
727           <dc:Bounds x="649" y="774" width="0" height="12" />
728         </bpmndi:BPMNLabel>
729       </bpmndi:BPMNEdge>
730       <bpmndi:BPMNEdge id="SequenceFlow_1yamcyn_di" bpmnElement="SequenceFlow_1yamcyn">
731         <di:waypoint xsi:type="dc:Point" x="383" y="857" />
732         <di:waypoint xsi:type="dc:Point" x="383" y="799" />
733         <di:waypoint xsi:type="dc:Point" x="436" y="799" />
734         <bpmndi:BPMNLabel>
735           <dc:Bounds x="388" y="818" width="21" height="12" />
736         </bpmndi:BPMNLabel>
737       </bpmndi:BPMNEdge>
738       <bpmndi:BPMNEdge id="SequenceFlow_19cxgtm_di" bpmnElement="SequenceFlow_19cxgtm">
739         <di:waypoint xsi:type="dc:Point" x="876" y="774" />
740         <di:waypoint xsi:type="dc:Point" x="876" y="688" />
741         <di:waypoint xsi:type="dc:Point" x="486" y="688" />
742         <di:waypoint xsi:type="dc:Point" x="486" y="759" />
743         <bpmndi:BPMNLabel>
744           <dc:Bounds x="671" y="670" width="21" height="12" />
745         </bpmndi:BPMNLabel>
746       </bpmndi:BPMNEdge>
747       <bpmndi:BPMNEdge id="SequenceFlow_1lfph6u_di" bpmnElement="SequenceFlow_1lfph6u">
748         <di:waypoint xsi:type="dc:Point" x="974" y="866" />
749         <di:waypoint xsi:type="dc:Point" x="1059" y="866" />
750         <bpmndi:BPMNLabel>
751           <dc:Bounds x="971.5" y="845" width="90" height="12" />
752         </bpmndi:BPMNLabel>
753       </bpmndi:BPMNEdge>
754       <bpmndi:BPMNEdge id="SequenceFlow_1ofw0fi_di" bpmnElement="SequenceFlow_1ofw0fi">
755         <di:waypoint xsi:type="dc:Point" x="145" y="882" />
756         <di:waypoint xsi:type="dc:Point" x="358" y="882" />
757         <bpmndi:BPMNLabel>
758           <dc:Bounds x="207.5" y="857" width="0" height="12" />
759         </bpmndi:BPMNLabel>
760       </bpmndi:BPMNEdge>
761       <bpmndi:BPMNEdge id="SequenceFlow_0vq7f6b_di" bpmnElement="SequenceFlow_0vq7f6b">
762         <di:waypoint xsi:type="dc:Point" x="383" y="908" />
763         <di:waypoint xsi:type="dc:Point" x="383" y="931" />
764         <di:waypoint xsi:type="dc:Point" x="949" y="931" />
765         <di:waypoint xsi:type="dc:Point" x="949" y="892" />
766         <bpmndi:BPMNLabel>
767           <dc:Bounds x="628" y="907" width="16" height="12" />
768         </bpmndi:BPMNLabel>
769       </bpmndi:BPMNEdge>
770       <bpmndi:BPMNEdge id="SequenceFlow_10scc5r_di" bpmnElement="SequenceFlow_10scc5r">
771         <di:waypoint xsi:type="dc:Point" x="901" y="799" />
772         <di:waypoint xsi:type="dc:Point" x="949" y="799" />
773         <di:waypoint xsi:type="dc:Point" x="949" y="841" />
774         <bpmndi:BPMNLabel>
775           <dc:Bounds x="917" y="784" width="16" height="12" />
776         </bpmndi:BPMNLabel>
777       </bpmndi:BPMNEdge>
778       <bpmndi:BPMNEdge id="SequenceFlow_1o5cutr_di" bpmnElement="SequenceFlow_1o5cutr">
779         <di:waypoint xsi:type="dc:Point" x="810" y="799" />
780         <di:waypoint xsi:type="dc:Point" x="851" y="799" />
781         <bpmndi:BPMNLabel>
782           <dc:Bounds x="786.5" y="784" width="0" height="12" />
783         </bpmndi:BPMNLabel>
784       </bpmndi:BPMNEdge>
785       <bpmndi:BPMNShape id="IntermediateThrowEvent_19nq9li_di" bpmnElement="IntermediateThrowEvent_19nq9li">
786         <dc:Bounds x="558" y="562" width="36" height="36" />
787         <bpmndi:BPMNLabel>
788           <dc:Bounds x="537" y="603" width="80" height="12" />
789         </bpmndi:BPMNLabel>
790       </bpmndi:BPMNShape>
791       <bpmndi:BPMNShape id="IntermediateCatchEvent_1svwsxy_di" bpmnElement="IntermediateCatchEvent_1svwsxy">
792         <dc:Bounds x="591" y="378" width="36" height="36" />
793         <bpmndi:BPMNLabel>
794           <dc:Bounds x="590" y="362" width="56" height="12" />
795         </bpmndi:BPMNLabel>
796       </bpmndi:BPMNShape>
797       <bpmndi:BPMNEdge id="SequenceFlow_0xgpd0u_di" bpmnElement="SequenceFlow_0xgpd0u">
798         <di:waypoint xsi:type="dc:Point" x="609" y="414" />
799         <di:waypoint xsi:type="dc:Point" x="609" y="487" />
800         <di:waypoint xsi:type="dc:Point" x="658" y="487" />
801         <bpmndi:BPMNLabel>
802           <dc:Bounds x="624" y="444.5" width="0" height="12" />
803         </bpmndi:BPMNLabel>
804       </bpmndi:BPMNEdge>
805     </bpmndi:BPMNPlane>
806   </bpmndi:BPMNDiagram>
807 </bpmn2:definitions>