Fix DeleteE2EServiceInstance flow
[so.git] / bpmn / so-bpmn-infrastructure-flows / src / main / resources / subprocess / DoDeleteE2EServiceInstance.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="3.1.0">
3   <bpmn:process id="DoDeleteE2EServiceInstance" name="All Resources Deleted" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_0212h2r" name="Start Flow">
5       <bpmn:outgoing>SequenceFlow_0vz7cd9</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:scriptTask id="ScriptTask_06phzgv" name="PreProcess Incoming Request" scriptFormat="groovy">
8       <bpmn:incoming>SequenceFlow_0vz7cd9</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_11e6bfy</bpmn:outgoing>
10       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
11 def ddsi = new DoDeleteE2EServiceInstance()
12 ddsi.preProcessRequest(execution)
13 </bpmn:script>
14     </bpmn:scriptTask>
15     <bpmn:endEvent id="EndEvent_1uqzt26">
16       <bpmn:incoming>SequenceFlow_0e7inkl</bpmn:incoming>
17     </bpmn:endEvent>
18     <bpmn:scriptTask id="ScriptTask_1rtnsh8" name="Post Process AAI GET" scriptFormat="groovy">
19       <bpmn:incoming>SequenceFlow_11e6bfy</bpmn:incoming>
20       <bpmn:outgoing>SequenceFlow_0vi0sv6</bpmn:outgoing>
21       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
22 def ddsi = new DoDeleteE2EServiceInstance()
23 ddsi.postProcessAAIGET(execution)</bpmn:script>
24     </bpmn:scriptTask>
25     <bpmn:scriptTask id="ScriptTask_01erufg" name="&#10;AAI&#10;Delete&#10;(svc instance)&#10;" scriptFormat="groovy">
26       <bpmn:incoming>SequenceFlow_1cevtpy</bpmn:incoming>
27       <bpmn:incoming>SequenceFlow_12rr1yy</bpmn:incoming>
28       <bpmn:outgoing>SequenceFlow_0e7inkl</bpmn:outgoing>
29       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
30 def ddsi = new DoCustomDeleteE2EServiceInstance()
31 ddsi.deleteServiceInstance(execution)</bpmn:script>
32     </bpmn:scriptTask>
33     <bpmn:subProcess id="SubProcess_1u8zt9i" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">
34       <bpmn:startEvent id="StartEvent_0sf5lpt">
35         <bpmn:outgoing>SequenceFlow_1921mo3</bpmn:outgoing>
36         <bpmn:errorEventDefinition />
37       </bpmn:startEvent>
38       <bpmn:endEvent id="EndEvent_06utmg4">
39         <bpmn:incoming>SequenceFlow_18vlzfo</bpmn:incoming>
40       </bpmn:endEvent>
41       <bpmn:scriptTask id="ScriptTask_0nha3pr" name="Log / Print Unexpected Error" scriptFormat="groovy">
42         <bpmn:incoming>SequenceFlow_1921mo3</bpmn:incoming>
43         <bpmn:outgoing>SequenceFlow_18vlzfo</bpmn:outgoing>
44         <bpmn:script>import org.onap.so.bpmn.common.scripts.*
45 ExceptionUtil ex = new ExceptionUtil()
46 ex.processJavaException(execution)</bpmn:script>
47       </bpmn:scriptTask>
48       <bpmn:sequenceFlow id="SequenceFlow_1921mo3" name="" sourceRef="StartEvent_0sf5lpt" targetRef="ScriptTask_0nha3pr" />
49       <bpmn:sequenceFlow id="SequenceFlow_18vlzfo" name="" sourceRef="ScriptTask_0nha3pr" targetRef="EndEvent_06utmg4" />
50     </bpmn:subProcess>
51     <bpmn:sequenceFlow id="SequenceFlow_0vz7cd9" sourceRef="StartEvent_0212h2r" targetRef="ScriptTask_06phzgv" />
52     <bpmn:sequenceFlow id="SequenceFlow_11e6bfy" sourceRef="ScriptTask_06phzgv" targetRef="ScriptTask_1rtnsh8" />
53     <bpmn:sequenceFlow id="SequenceFlow_0e7inkl" sourceRef="ScriptTask_01erufg" targetRef="EndEvent_1uqzt26" />
54     <bpmn:scriptTask id="ScriptTask_146jt8v" name="Prepare Resource Oper Status" scriptFormat="groovy">
55       <bpmn:incoming>SequenceFlow_1961633</bpmn:incoming>
56       <bpmn:outgoing>SequenceFlow_1ym9otf</bpmn:outgoing>
57       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
58 def ddsi = new DoDeleteE2EServiceInstance()
59 ddsi.preInitResourcesOperStatus(execution)</bpmn:script>
60     </bpmn:scriptTask>
61     <bpmn:serviceTask id="ServiceTask_00tg69u" name="Init Resource Oper Status">
62       <bpmn:extensionElements>
63         <camunda:connector>
64           <camunda:inputOutput>
65             <camunda:inputParameter name="url">${URN_mso_adapters_openecomp_db_endpoint}</camunda:inputParameter>
66             <camunda:inputParameter name="headers">
67               <camunda:map>
68                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
69                 <camunda:entry key="Authorization">Basic YnBlbDpwYXNzd29yZDEk</camunda:entry>
70               </camunda:map>
71             </camunda:inputParameter>
72             <camunda:inputParameter name="payload">${CVFMI_initResOperStatusRequest}</camunda:inputParameter>
73             <camunda:inputParameter name="method">POST</camunda:inputParameter>
74             <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
75             <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
76           </camunda:inputOutput>
77           <camunda:connectorId>http-connector</camunda:connectorId>
78         </camunda:connector>
79       </bpmn:extensionElements>
80       <bpmn:incoming>SequenceFlow_1ym9otf</bpmn:incoming>
81       <bpmn:outgoing>SequenceFlow_1j08ko3</bpmn:outgoing>
82     </bpmn:serviceTask>
83     <bpmn:sequenceFlow id="SequenceFlow_1ym9otf" sourceRef="ScriptTask_146jt8v" targetRef="ServiceTask_00tg69u" />
84     <bpmn:sequenceFlow id="SequenceFlow_1j08ko3" sourceRef="ServiceTask_00tg69u" targetRef="Task_1f5dlsv" />
85     <bpmn:sequenceFlow id="SequenceFlow_0fo5vw5" sourceRef="Task_1ldvug1" targetRef="Task_0mhdfuu" />
86     <bpmn:sequenceFlow id="SequenceFlow_0orw2f8" sourceRef="Task_0mhdfuu" targetRef="Task_1yx1n05" />
87     <bpmn:intermediateCatchEvent id="startDeleteResources" name="Start Delete Resources">
88       <bpmn:outgoing>SequenceFlow_1961633</bpmn:outgoing>
89       <bpmn:linkEventDefinition name="StartDeleteResource" />
90     </bpmn:intermediateCatchEvent>
91     <bpmn:sequenceFlow id="SequenceFlow_1961633" sourceRef="startDeleteResources" targetRef="ScriptTask_146jt8v" />
92     <bpmn:scriptTask id="Task_1ldvug1" name="Prepare Decompose Service" scriptFormat="groovy">
93       <bpmn:incoming>SequenceFlow_1q2mqnm</bpmn:incoming>
94       <bpmn:outgoing>SequenceFlow_0fo5vw5</bpmn:outgoing>
95       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
96 def dcsi= new DoDeleteE2EServiceInstance()
97 dcsi.prepareDecomposeService(execution)</bpmn:script>
98     </bpmn:scriptTask>
99     <bpmn:callActivity id="Task_0mhdfuu" name="Call Decompose Service" calledElement="DecomposeService">
100       <bpmn:extensionElements>
101         <camunda:in source="msoRequestId" target="msoRequestId" />
102         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
103         <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
104         <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
105         <camunda:in source="requestParameters" target="requestParameters" />
106         <camunda:out source="rollbackData" target="rollbackData" />
107         <camunda:out source="rolledBack" target="rolledBack" />
108         <camunda:out source="WorkflowException" target="WorkflowException" />
109         <camunda:out source="serviceDecomposition" target="serviceDecomposition" />
110       </bpmn:extensionElements>
111       <bpmn:incoming>SequenceFlow_0fo5vw5</bpmn:incoming>
112       <bpmn:outgoing>SequenceFlow_0orw2f8</bpmn:outgoing>
113     </bpmn:callActivity>
114     <bpmn:scriptTask id="Task_1yx1n05" name="Post Decompose Service" scriptFormat="groovy">
115       <bpmn:incoming>SequenceFlow_0orw2f8</bpmn:incoming>
116       <bpmn:outgoing>SequenceFlow_013rime</bpmn:outgoing>
117       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
118 def dcsi= new DoDeleteE2EServiceInstance()
119 dcsi.postDecomposeService(execution)</bpmn:script>
120     </bpmn:scriptTask>
121     <bpmn:callActivity id="Task_1f5dlsv" name="Delete Resources" calledElement="DoDeleteResourcesV1">
122       <bpmn:extensionElements>
123         <camunda:in source="msoRequestId" target="msoRequestId" />
124         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
125         <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
126         <camunda:in source="serviceType" target="serviceType" />
127         <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
128         <camunda:in source="URN_mso_workflow_sdncadapter_callback" target="URN_mso_workflow_sdncadapter_callback" />
129         <camunda:in source="serviceInputParams" target="serviceInputParams" />
130         <camunda:in source="deleteResourceList" target="deleteResourceList" />
131         <camunda:in source="resourceInstanceIDs" target="resourceInstanceIDs" />
132         <camunda:in source="operationType" target="operationType" />
133         <camunda:in source="operationId" target="operationId" />
134         <camunda:in source="serviceDecomposition" target="serviceDecomposition" />
135       </bpmn:extensionElements>
136       <bpmn:incoming>SequenceFlow_1j08ko3</bpmn:incoming>
137       <bpmn:outgoing>SequenceFlow_1cevtpy</bpmn:outgoing>
138     </bpmn:callActivity>
139     <bpmn:sequenceFlow id="SequenceFlow_1cevtpy" sourceRef="Task_1f5dlsv" targetRef="ScriptTask_01erufg" />
140     <bpmn:intermediateCatchEvent id="DecomposeService" name="Decompose Service">
141       <bpmn:outgoing>SequenceFlow_1q2mqnm</bpmn:outgoing>
142       <bpmn:linkEventDefinition name="DecomposeService" />
143     </bpmn:intermediateCatchEvent>
144     <bpmn:sequenceFlow id="SequenceFlow_1q2mqnm" sourceRef="DecomposeService" targetRef="Task_1ldvug1" />
145     <bpmn:intermediateThrowEvent id="StartEvent_1qh5a34" name="Go to Decompse Service">
146       <bpmn:incoming>SequenceFlow_0vi0sv6</bpmn:incoming>
147       <bpmn:linkEventDefinition name="DecomposeService" />
148     </bpmn:intermediateThrowEvent>
149     <bpmn:sequenceFlow id="SequenceFlow_0vi0sv6" sourceRef="ScriptTask_1rtnsh8" targetRef="StartEvent_1qh5a34" />
150     <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_00pyc0n" name="Start Delete Resources">
151       <bpmn:incoming>SequenceFlow_1fozgqz</bpmn:incoming>
152       <bpmn:linkEventDefinition name="StartDeleteResource" />
153     </bpmn:intermediateThrowEvent>
154     <bpmn:exclusiveGateway id="ExclusiveGateway_156mc3h" name="Valid Resource List?" default="SequenceFlow_1ncja2b">
155       <bpmn:incoming>SequenceFlow_013rime</bpmn:incoming>
156       <bpmn:outgoing>SequenceFlow_1fozgqz</bpmn:outgoing>
157       <bpmn:outgoing>SequenceFlow_1ncja2b</bpmn:outgoing>
158     </bpmn:exclusiveGateway>
159     <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_1g4uc66" name="End Delete Process">
160       <bpmn:incoming>SequenceFlow_1ncja2b</bpmn:incoming>
161       <bpmn:linkEventDefinition name="EndDeleteProcess" />
162     </bpmn:intermediateThrowEvent>
163     <bpmn:sequenceFlow id="SequenceFlow_1fozgqz" name="Yes" sourceRef="ExclusiveGateway_156mc3h" targetRef="IntermediateThrowEvent_00pyc0n">
164       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{(execution.getVariable("isDeleteResourceListValid" )  == true)}</bpmn:conditionExpression>
165     </bpmn:sequenceFlow>
166     <bpmn:sequenceFlow id="SequenceFlow_1ncja2b" sourceRef="ExclusiveGateway_156mc3h" targetRef="IntermediateThrowEvent_1g4uc66" />
167     <bpmn:sequenceFlow id="SequenceFlow_013rime" sourceRef="Task_1yx1n05" targetRef="ExclusiveGateway_156mc3h" />
168     <bpmn:serviceTask id="ServiceTask_1lsic7i" name="Update Service Operation Status">
169       <bpmn:extensionElements>
170         <camunda:connector>
171           <camunda:inputOutput>
172             <camunda:inputParameter name="url">${CVFMI_dbAdapterEndpoint}</camunda:inputParameter>
173             <camunda:inputParameter name="headers">
174               <camunda:map>
175                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
176                 <camunda:entry key="Authorization">${UrnPropertiesReader.getVariable("mso.adapters.requestDb.auth", execution)}</camunda:entry>
177               </camunda:map>
178             </camunda:inputParameter>
179             <camunda:inputParameter name="payload">${CVFMI_updateServiceOperStatusRequest}</camunda:inputParameter>
180             <camunda:inputParameter name="method">POST</camunda:inputParameter>
181             <camunda:outputParameter name="CVFMI_dbResponseCode">${statusCode}</camunda:outputParameter>
182             <camunda:outputParameter name="CVFMI_dbResponse">${response}</camunda:outputParameter>
183           </camunda:inputOutput>
184           <camunda:connectorId>http-connector</camunda:connectorId>
185         </camunda:connector>
186       </bpmn:extensionElements>
187       <bpmn:incoming>SequenceFlow_1ab3vex</bpmn:incoming>
188       <bpmn:outgoing>SequenceFlow_12rr1yy</bpmn:outgoing>
189     </bpmn:serviceTask>
190     <bpmn:scriptTask id="ScriptTask_0f3tjbn" name="prepare update service operation status" scriptFormat="groovy">
191       <bpmn:incoming>SequenceFlow_0h5c1bd</bpmn:incoming>
192       <bpmn:outgoing>SequenceFlow_1ab3vex</bpmn:outgoing>
193       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
194 execution.setVariable("progress", "100")
195 execution.setVariable("result", "finished")
196 execution.setVariable("operationContent", "No actual resoure in service instance")
197 def csi= new DoDeleteE2EServiceInstance()
198 csi.prepareUpdateServiceOperationStatus(execution)</bpmn:script>
199     </bpmn:scriptTask>
200     <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_0hrkmxb" name="End Delete Process">
201       <bpmn:outgoing>SequenceFlow_0h5c1bd</bpmn:outgoing>
202       <bpmn:linkEventDefinition name="EndDeleteProcess" />
203     </bpmn:intermediateCatchEvent>
204     <bpmn:sequenceFlow id="SequenceFlow_1ab3vex" sourceRef="ScriptTask_0f3tjbn" targetRef="ServiceTask_1lsic7i" />
205     <bpmn:sequenceFlow id="SequenceFlow_0h5c1bd" sourceRef="IntermediateCatchEvent_0hrkmxb" targetRef="ScriptTask_0f3tjbn" />
206     <bpmn:sequenceFlow id="SequenceFlow_12rr1yy" sourceRef="ServiceTask_1lsic7i" targetRef="ScriptTask_01erufg" />
207   </bpmn:process>
208   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
209     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoDeleteE2EServiceInstance">
210       <bpmndi:BPMNShape id="StartEvent_0212h2r_di" bpmnElement="StartEvent_0212h2r">
211         <dc:Bounds x="168" y="103" width="36" height="36" />
212         <bpmndi:BPMNLabel>
213           <dc:Bounds x="162" y="144" width="50" height="14" />
214         </bpmndi:BPMNLabel>
215       </bpmndi:BPMNShape>
216       <bpmndi:BPMNShape id="ScriptTask_06phzgv_di" bpmnElement="ScriptTask_06phzgv">
217         <dc:Bounds x="256" y="81" width="100" height="80" />
218       </bpmndi:BPMNShape>
219       <bpmndi:BPMNShape id="EndEvent_1uqzt26_di" bpmnElement="EndEvent_1uqzt26">
220         <dc:Bounds x="1248" y="626" width="36" height="36" />
221         <bpmndi:BPMNLabel>
222           <dc:Bounds x="471" y="513" width="90" height="12" />
223         </bpmndi:BPMNLabel>
224       </bpmndi:BPMNShape>
225       <bpmndi:BPMNShape id="ScriptTask_1rtnsh8_di" bpmnElement="ScriptTask_1rtnsh8">
226         <dc:Bounds x="596" y="81" width="100" height="80" />
227       </bpmndi:BPMNShape>
228       <bpmndi:BPMNShape id="ScriptTask_01erufg_di" bpmnElement="ScriptTask_01erufg">
229         <dc:Bounds x="959" y="604" width="100" height="80" />
230       </bpmndi:BPMNShape>
231       <bpmndi:BPMNShape id="SubProcess_1u8zt9i_di" bpmnElement="SubProcess_1u8zt9i" isExpanded="true">
232         <dc:Bounds x="544" y="1134" width="467" height="193" />
233       </bpmndi:BPMNShape>
234       <bpmndi:BPMNEdge id="SequenceFlow_0vz7cd9_di" bpmnElement="SequenceFlow_0vz7cd9">
235         <di:waypoint x="204" y="121" />
236         <di:waypoint x="230" y="121" />
237         <di:waypoint x="230" y="121" />
238         <di:waypoint x="256" y="121" />
239         <bpmndi:BPMNLabel>
240           <dc:Bounds x="-505" y="-39" width="90" height="12" />
241         </bpmndi:BPMNLabel>
242       </bpmndi:BPMNEdge>
243       <bpmndi:BPMNEdge id="SequenceFlow_11e6bfy_di" bpmnElement="SequenceFlow_11e6bfy">
244         <di:waypoint x="356" y="121" />
245         <di:waypoint x="596" y="121" />
246         <bpmndi:BPMNLabel>
247           <dc:Bounds x="-348" y="-39" width="90" height="12" />
248         </bpmndi:BPMNLabel>
249       </bpmndi:BPMNEdge>
250       <bpmndi:BPMNEdge id="SequenceFlow_0e7inkl_di" bpmnElement="SequenceFlow_0e7inkl">
251         <di:waypoint x="1059" y="644" />
252         <di:waypoint x="1248" y="644" />
253         <bpmndi:BPMNLabel>
254           <dc:Bounds x="403.5" y="469" width="90" height="12" />
255         </bpmndi:BPMNLabel>
256       </bpmndi:BPMNEdge>
257       <bpmndi:BPMNShape id="StartEvent_0sf5lpt_di" bpmnElement="StartEvent_0sf5lpt">
258         <dc:Bounds x="612" y="1201" width="36" height="36" />
259         <bpmndi:BPMNLabel>
260           <dc:Bounds x="-165" y="1088" width="90" height="12" />
261         </bpmndi:BPMNLabel>
262       </bpmndi:BPMNShape>
263       <bpmndi:BPMNShape id="EndEvent_06utmg4_di" bpmnElement="EndEvent_06utmg4">
264         <dc:Bounds x="905" y="1201" width="36" height="36" />
265         <bpmndi:BPMNLabel>
266           <dc:Bounds x="128" y="1088" width="90" height="12" />
267         </bpmndi:BPMNLabel>
268       </bpmndi:BPMNShape>
269       <bpmndi:BPMNShape id="ScriptTask_0nha3pr_di" bpmnElement="ScriptTask_0nha3pr">
270         <dc:Bounds x="716" y="1179" width="100" height="80" />
271       </bpmndi:BPMNShape>
272       <bpmndi:BPMNEdge id="SequenceFlow_1921mo3_di" bpmnElement="SequenceFlow_1921mo3">
273         <di:waypoint x="648" y="1219" />
274         <di:waypoint x="716" y="1219" />
275         <bpmndi:BPMNLabel>
276           <dc:Bounds x="-113" y="1050" width="90" height="12" />
277         </bpmndi:BPMNLabel>
278       </bpmndi:BPMNEdge>
279       <bpmndi:BPMNEdge id="SequenceFlow_18vlzfo_di" bpmnElement="SequenceFlow_18vlzfo">
280         <di:waypoint x="816" y="1219" />
281         <di:waypoint x="905" y="1219" />
282         <bpmndi:BPMNLabel>
283           <dc:Bounds x="67" y="1050" width="90" height="12" />
284         </bpmndi:BPMNLabel>
285       </bpmndi:BPMNEdge>
286       <bpmndi:BPMNShape id="ScriptTask_146jt8v_di" bpmnElement="ScriptTask_146jt8v">
287         <dc:Bounds x="283" y="604" width="100" height="80" />
288       </bpmndi:BPMNShape>
289       <bpmndi:BPMNShape id="ServiceTask_00tg69u_di" bpmnElement="ServiceTask_00tg69u">
290         <dc:Bounds x="476" y="604" width="100" height="80" />
291       </bpmndi:BPMNShape>
292       <bpmndi:BPMNEdge id="SequenceFlow_1ym9otf_di" bpmnElement="SequenceFlow_1ym9otf">
293         <di:waypoint x="383" y="644" />
294         <di:waypoint x="476" y="644" />
295         <bpmndi:BPMNLabel>
296           <dc:Bounds x="-320.5" y="469" width="90" height="12" />
297         </bpmndi:BPMNLabel>
298       </bpmndi:BPMNEdge>
299       <bpmndi:BPMNEdge id="SequenceFlow_1j08ko3_di" bpmnElement="SequenceFlow_1j08ko3">
300         <di:waypoint x="576" y="644" />
301         <di:waypoint x="704" y="644" />
302         <bpmndi:BPMNLabel>
303           <dc:Bounds x="-110" y="469" width="90" height="12" />
304         </bpmndi:BPMNLabel>
305       </bpmndi:BPMNEdge>
306       <bpmndi:BPMNEdge id="SequenceFlow_0fo5vw5_di" bpmnElement="SequenceFlow_0fo5vw5">
307         <di:waypoint x="427" y="352" />
308         <di:waypoint x="451" y="352" />
309         <di:waypoint x="451" y="352" />
310         <di:waypoint x="527" y="352" />
311         <bpmndi:BPMNLabel>
312           <dc:Bounds x="-284" y="192" width="90" height="12" />
313         </bpmndi:BPMNLabel>
314       </bpmndi:BPMNEdge>
315       <bpmndi:BPMNEdge id="SequenceFlow_0orw2f8_di" bpmnElement="SequenceFlow_0orw2f8">
316         <di:waypoint x="627" y="352" />
317         <di:waypoint x="656" y="352" />
318         <di:waypoint x="656" y="352" />
319         <di:waypoint x="752" y="352" />
320         <bpmndi:BPMNLabel>
321           <dc:Bounds x="-79" y="192" width="90" height="12" />
322         </bpmndi:BPMNLabel>
323       </bpmndi:BPMNEdge>
324       <bpmndi:BPMNShape id="IntermediateCatchEvent_1jcfnjr_di" bpmnElement="startDeleteResources">
325         <dc:Bounds x="168" y="626" width="36" height="36" />
326         <bpmndi:BPMNLabel>
327           <dc:Bounds x="157" y="666" width="58" height="27" />
328         </bpmndi:BPMNLabel>
329       </bpmndi:BPMNShape>
330       <bpmndi:BPMNEdge id="SequenceFlow_1961633_di" bpmnElement="SequenceFlow_1961633">
331         <di:waypoint x="204" y="644" />
332         <di:waypoint x="283" y="644" />
333         <bpmndi:BPMNLabel>
334           <dc:Bounds x="-461.5" y="469" width="0" height="12" />
335         </bpmndi:BPMNLabel>
336       </bpmndi:BPMNEdge>
337       <bpmndi:BPMNShape id="ScriptTask_079nac8_di" bpmnElement="Task_1ldvug1">
338         <dc:Bounds x="327" y="312" width="100" height="80" />
339       </bpmndi:BPMNShape>
340       <bpmndi:BPMNShape id="CallActivity_01b12fk_di" bpmnElement="Task_0mhdfuu">
341         <dc:Bounds x="527" y="312" width="100" height="80" />
342       </bpmndi:BPMNShape>
343       <bpmndi:BPMNShape id="ScriptTask_0msjtc4_di" bpmnElement="Task_1yx1n05">
344         <dc:Bounds x="752" y="312" width="100" height="80" />
345       </bpmndi:BPMNShape>
346       <bpmndi:BPMNShape id="CallActivity_16sm2op_di" bpmnElement="Task_1f5dlsv">
347         <dc:Bounds x="704" y="604" width="100" height="80" />
348       </bpmndi:BPMNShape>
349       <bpmndi:BPMNEdge id="SequenceFlow_1cevtpy_di" bpmnElement="SequenceFlow_1cevtpy">
350         <di:waypoint x="804" y="644" />
351         <di:waypoint x="959" y="644" />
352         <bpmndi:BPMNLabel>
353           <dc:Bounds x="131.5" y="469" width="90" height="12" />
354         </bpmndi:BPMNLabel>
355       </bpmndi:BPMNEdge>
356       <bpmndi:BPMNShape id="IntermediateCatchEvent_0s6bb2d_di" bpmnElement="DecomposeService">
357         <dc:Bounds x="168" y="334" width="36" height="36" />
358         <bpmndi:BPMNLabel>
359           <dc:Bounds x="156" y="374" width="59" height="27" />
360         </bpmndi:BPMNLabel>
361       </bpmndi:BPMNShape>
362       <bpmndi:BPMNEdge id="SequenceFlow_1q2mqnm_di" bpmnElement="SequenceFlow_1q2mqnm">
363         <di:waypoint x="204" y="352" />
364         <di:waypoint x="327" y="352" />
365         <bpmndi:BPMNLabel>
366           <dc:Bounds x="-484" y="177" width="90" height="12" />
367         </bpmndi:BPMNLabel>
368       </bpmndi:BPMNEdge>
369       <bpmndi:BPMNShape id="IntermediateThrowEvent_1j1awcj_di" bpmnElement="StartEvent_1qh5a34">
370         <dc:Bounds x="776" y="103" width="36" height="36" />
371         <bpmndi:BPMNLabel>
372           <dc:Bounds x="752" y="143" width="83" height="27" />
373         </bpmndi:BPMNLabel>
374       </bpmndi:BPMNShape>
375       <bpmndi:BPMNEdge id="SequenceFlow_0vi0sv6_di" bpmnElement="SequenceFlow_0vi0sv6">
376         <di:waypoint x="696" y="121" />
377         <di:waypoint x="719" y="121" />
378         <di:waypoint x="719" y="121" />
379         <di:waypoint x="776" y="121" />
380         <bpmndi:BPMNLabel>
381           <dc:Bounds x="-16" y="-39" width="90" height="12" />
382         </bpmndi:BPMNLabel>
383       </bpmndi:BPMNEdge>
384       <bpmndi:BPMNShape id="IntermediateThrowEvent_00pyc0n_di" bpmnElement="IntermediateThrowEvent_00pyc0n">
385         <dc:Bounds x="1103" y="334" width="36" height="36" />
386         <bpmndi:BPMNLabel>
387           <dc:Bounds x="1094" y="374" width="58" height="27" />
388         </bpmndi:BPMNLabel>
389       </bpmndi:BPMNShape>
390       <bpmndi:BPMNShape id="ExclusiveGateway_156mc3h_di" bpmnElement="ExclusiveGateway_156mc3h" isMarkerVisible="true">
391         <dc:Bounds x="984" y="327" width="50" height="50" />
392         <bpmndi:BPMNLabel>
393           <dc:Bounds x="972" y="299" width="74" height="27" />
394         </bpmndi:BPMNLabel>
395       </bpmndi:BPMNShape>
396       <bpmndi:BPMNShape id="IntermediateThrowEvent_1g4uc66_di" bpmnElement="IntermediateThrowEvent_1g4uc66">
397         <dc:Bounds x="991" y="424" width="36" height="36" />
398         <bpmndi:BPMNLabel>
399           <dc:Bounds x="983" y="462" width="55" height="27" />
400         </bpmndi:BPMNLabel>
401       </bpmndi:BPMNShape>
402       <bpmndi:BPMNEdge id="SequenceFlow_1fozgqz_di" bpmnElement="SequenceFlow_1fozgqz">
403         <di:waypoint x="1034" y="352" />
404         <di:waypoint x="1103" y="352" />
405         <bpmndi:BPMNLabel>
406           <dc:Bounds x="1062" y="330" width="19" height="14" />
407         </bpmndi:BPMNLabel>
408       </bpmndi:BPMNEdge>
409       <bpmndi:BPMNEdge id="SequenceFlow_1ncja2b_di" bpmnElement="SequenceFlow_1ncja2b">
410         <di:waypoint x="1009" y="377" />
411         <di:waypoint x="1009" y="424" />
412         <bpmndi:BPMNLabel>
413           <dc:Bounds x="274" y="240.5" width="0" height="12" />
414         </bpmndi:BPMNLabel>
415       </bpmndi:BPMNEdge>
416       <bpmndi:BPMNEdge id="SequenceFlow_013rime_di" bpmnElement="SequenceFlow_013rime">
417         <di:waypoint x="852" y="352" />
418         <di:waypoint x="984" y="352" />
419         <bpmndi:BPMNLabel>
420           <dc:Bounds x="213" y="177" width="0" height="12" />
421         </bpmndi:BPMNLabel>
422       </bpmndi:BPMNEdge>
423       <bpmndi:BPMNShape id="ServiceTask_1lsic7i_di" bpmnElement="ServiceTask_1lsic7i">
424         <dc:Bounds x="584" y="851" width="100" height="80" />
425       </bpmndi:BPMNShape>
426       <bpmndi:BPMNShape id="ScriptTask_0f3tjbn_di" bpmnElement="ScriptTask_0f3tjbn">
427         <dc:Bounds x="306" y="851" width="100" height="80" />
428       </bpmndi:BPMNShape>
429       <bpmndi:BPMNShape id="IntermediateCatchEvent_0hrkmxb_di" bpmnElement="IntermediateCatchEvent_0hrkmxb">
430         <dc:Bounds x="174" y="873" width="36" height="36" />
431         <bpmndi:BPMNLabel>
432           <dc:Bounds x="165" y="913" width="55" height="27" />
433         </bpmndi:BPMNLabel>
434       </bpmndi:BPMNShape>
435       <bpmndi:BPMNEdge id="SequenceFlow_1ab3vex_di" bpmnElement="SequenceFlow_1ab3vex">
436         <di:waypoint x="406" y="891" />
437         <di:waypoint x="584" y="891" />
438         <bpmndi:BPMNLabel>
439           <dc:Bounds x="-255" y="715" width="0" height="12" />
440         </bpmndi:BPMNLabel>
441       </bpmndi:BPMNEdge>
442       <bpmndi:BPMNEdge id="SequenceFlow_0h5c1bd_di" bpmnElement="SequenceFlow_0h5c1bd">
443         <di:waypoint x="210" y="891" />
444         <di:waypoint x="306" y="891" />
445         <bpmndi:BPMNLabel>
446           <dc:Bounds x="-492" y="715" width="0" height="12" />
447         </bpmndi:BPMNLabel>
448       </bpmndi:BPMNEdge>
449       <bpmndi:BPMNEdge id="SequenceFlow_12rr1yy_di" bpmnElement="SequenceFlow_12rr1yy">
450         <di:waypoint x="684" y="891" />
451         <di:waypoint x="822" y="891" />
452         <di:waypoint x="822" y="644" />
453         <di:waypoint x="959" y="644" />
454         <bpmndi:BPMNLabel>
455           <dc:Bounds x="132" y="607.5" width="0" height="12" />
456         </bpmndi:BPMNLabel>
457       </bpmndi:BPMNEdge>
458     </bpmndi:BPMNPlane>
459   </bpmndi:BPMNDiagram>
460 </bpmn:definitions>