[MSO-8] Update the maven dependency
[so.git] / bpmn / MSOCommonBPMN / src / main / resources / subprocess / FalloutHandler.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="_3SPHsLr9EeWak-hhutJWuQ" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.4.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3   <bpmn2:process id="FalloutHandler" name="Fallout Handler" isExecutable="true">
4     <bpmn2:scriptTask id="ScriptTask_8" name="Pre-Process Request" scriptFormat="groovy">
5       <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
6       <bpmn2:outgoing>SequenceFlow_1nn37a8</bpmn2:outgoing>
7       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
8 def preProcessRequestData = new FalloutHandler()
9 preProcessRequestData.preProcessRequest(execution)
10
11 ]]></bpmn2:script>
12     </bpmn2:scriptTask>
13     <bpmn2:startEvent id="StartEvent_1" name="Start">
14       <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
15     </bpmn2:startEvent>
16     <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="StartEvent_1" targetRef="ScriptTask_8" />
17     <bpmn2:scriptTask id="ScriptTask_2" name="Post Process Response" scriptFormat="groovy">
18       <bpmn2:incoming>SequenceFlow_0fg02po</bpmn2:incoming>
19       <bpmn2:outgoing>SequenceFlow_0x2jgo4</bpmn2:outgoing>
20       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
21 def falloutHandler = new FalloutHandler()
22 falloutHandler.postProcessResponse(execution)]]></bpmn2:script>
23     </bpmn2:scriptTask>
24     <bpmn2:exclusiveGateway id="ExclusiveGateway_6" default="SequenceFlow_26">
25       <bpmn2:incoming>SequenceFlow_1nn37a8</bpmn2:incoming>
26       <bpmn2:outgoing>SequenceFlow_25</bpmn2:outgoing>
27       <bpmn2:outgoing>SequenceFlow_26</bpmn2:outgoing>
28     </bpmn2:exclusiveGateway>
29     <bpmn2:sequenceFlow id="SequenceFlow_25" name="" sourceRef="ExclusiveGateway_6" targetRef="ServiceTask_3">
30       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("FH_request_id-Ok") ==true}]]></bpmn2:conditionExpression>
31     </bpmn2:sequenceFlow>
32     <bpmn2:sequenceFlow id="SequenceFlow_26" name="" sourceRef="ExclusiveGateway_6" targetRef="ServiceTask_2" />
33     <bpmn2:serviceTask id="ServiceTask_3" name="Update Request Gamma">
34       <bpmn2:extensionElements>
35         <camunda:connector>
36           <camunda:inputOutput>
37             <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>
38             <camunda:inputParameter name="method">POST</camunda:inputParameter>
39             <camunda:inputParameter name="headers">
40               <camunda:map>
41                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
42                 <camunda:entry key="Authorization">#{BasicAuthHeaderValueDB}</camunda:entry>
43               </camunda:map>
44             </camunda:inputParameter>
45             <camunda:inputParameter name="payload">
46               <camunda:script scriptFormat="groovy"><![CDATA[//println"INSIDE --> update Request Gamma"
47 import org.openecomp.mso.bpmn.common.scripts.*
48 def updateRequestGamma= new FalloutHandler()
49 return updateRequestGamma.updateRequestGammaPayload(execution)]]></camunda:script>
50             </camunda:inputParameter>
51             <camunda:outputParameter name="FH_updateRequestGammaResponse"><![CDATA[${statusCode == null || statusCode == 204 ? "" : response}]]></camunda:outputParameter>
52             <camunda:outputParameter name="FH_updateRequestGammaResponseCode">${statusCode}</camunda:outputParameter>
53           </camunda:inputOutput>
54           <camunda:connectorId>soap-http-connector</camunda:connectorId>
55         </camunda:connector>
56       </bpmn2:extensionElements>
57       <bpmn2:incoming>SequenceFlow_25</bpmn2:incoming>
58       <bpmn2:outgoing>SequenceFlow_29</bpmn2:outgoing>
59     </bpmn2:serviceTask>
60     <bpmn2:sequenceFlow id="SequenceFlow_29" name="" sourceRef="ServiceTask_3" targetRef="ExclusiveGateway_7" />
61     <bpmn2:boundaryEvent id="BoundaryEvent_2" name="Connect Fault" attachedToRef="ServiceTask_3">
62       <bpmn2:outgoing>SequenceFlow_72</bpmn2:outgoing>
63       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_89" errorRef="Error_2" />
64     </bpmn2:boundaryEvent>
65     <bpmn2:exclusiveGateway id="ParallelGateway_5">
66       <bpmn2:incoming>SequenceFlow_35</bpmn2:incoming>
67       <bpmn2:incoming>SequenceFlow_36</bpmn2:incoming>
68       <bpmn2:outgoing>SequenceFlow_0fg02po</bpmn2:outgoing>
69     </bpmn2:exclusiveGateway>
70     <bpmn2:endEvent id="EndEvent_6" name="Normal End">
71       <bpmn2:incoming>SequenceFlow_0x2jgo4</bpmn2:incoming>
72     </bpmn2:endEvent>
73     <bpmn2:sequenceFlow id="SequenceFlow_72" name="" sourceRef="BoundaryEvent_2" targetRef="ScriptTask_6" />
74     <bpmn2:scriptTask id="ScriptTask_6" name="Build Workflow Exception" scriptFormat="groovy">
75       <bpmn2:incoming>SequenceFlow_72</bpmn2:incoming>
76       <bpmn2:incoming>SequenceFlow_31</bpmn2:incoming>
77       <bpmn2:outgoing>SequenceFlow_79</bpmn2:outgoing>
78       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
79 def falloutHandler = new FalloutHandler()
80 falloutHandler.buildDBWorkflowException(execution, "FH_updateRequestGammaResponseCode")]]></bpmn2:script>
81     </bpmn2:scriptTask>
82     <bpmn2:sequenceFlow id="SequenceFlow_79" name="" sourceRef="ScriptTask_6" targetRef="EndEvent_13" />
83     <bpmn2:exclusiveGateway id="ExclusiveGateway_7" name="Update Success?" default="SequenceFlow_31">
84       <bpmn2:incoming>SequenceFlow_29</bpmn2:incoming>
85       <bpmn2:outgoing>SequenceFlow_31</bpmn2:outgoing>
86       <bpmn2:outgoing>SequenceFlow_35</bpmn2:outgoing>
87     </bpmn2:exclusiveGateway>
88     <bpmn2:sequenceFlow id="SequenceFlow_31" name="" sourceRef="ExclusiveGateway_7" targetRef="ScriptTask_6" />
89     <bpmn2:sequenceFlow id="SequenceFlow_35" name="" sourceRef="ExclusiveGateway_7" targetRef="ParallelGateway_5">
90       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("FH_updateRequestGammaResponseCode")==200}]]></bpmn2:conditionExpression>
91     </bpmn2:sequenceFlow>
92     <bpmn2:scriptTask id="ScriptTask_7" name="Build Workflow Exception" scriptFormat="groovy">
93       <bpmn2:incoming>SequenceFlow_32</bpmn2:incoming>
94       <bpmn2:incoming>SequenceFlow_80</bpmn2:incoming>
95       <bpmn2:outgoing>SequenceFlow_73</bpmn2:outgoing>
96       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
97 def falloutHandler = new FalloutHandler()
98 falloutHandler.buildDBWorkflowException(execution, "FH_updateRequestInfraResponseCode")]]></bpmn2:script>
99     </bpmn2:scriptTask>
100     <bpmn2:sequenceFlow id="SequenceFlow_73" name="" sourceRef="ScriptTask_7" targetRef="EndEvent_14" />
101     <bpmn2:serviceTask id="ServiceTask_2" name="Update Request Infra">
102       <bpmn2:extensionElements>
103         <camunda:connector>
104           <camunda:inputOutput>
105             <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>
106             <camunda:inputParameter name="method">POST</camunda:inputParameter>
107             <camunda:inputParameter name="headers">
108               <camunda:map>
109                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
110                 <camunda:entry key="Authorization">#{BasicAuthHeaderValueDB}</camunda:entry>
111               </camunda:map>
112             </camunda:inputParameter>
113             <camunda:inputParameter name="payload">
114               <camunda:script scriptFormat="groovy"><![CDATA[//println"INSIDE --> update Request Infra"
115 import org.openecomp.mso.bpmn.common.scripts.*
116 def updateRequestInfra= new FalloutHandler()
117 return updateRequestInfra.updateRequestInfraPayload(execution)]]></camunda:script>
118             </camunda:inputParameter>
119             <camunda:outputParameter name="FH_updateRequestInfraResponse"><![CDATA[${statusCode == null || statusCode == 204 ? "" : response}]]></camunda:outputParameter>
120             <camunda:outputParameter name="FH_updateRequestInfraResponseCode">${statusCode}</camunda:outputParameter>
121           </camunda:inputOutput>
122           <camunda:connectorId>soap-http-connector</camunda:connectorId>
123         </camunda:connector>
124       </bpmn2:extensionElements>
125       <bpmn2:incoming>SequenceFlow_26</bpmn2:incoming>
126       <bpmn2:outgoing>SequenceFlow_30</bpmn2:outgoing>
127     </bpmn2:serviceTask>
128     <bpmn2:sequenceFlow id="SequenceFlow_30" name="" sourceRef="ServiceTask_2" targetRef="ExclusiveGateway_8" />
129     <bpmn2:exclusiveGateway id="ExclusiveGateway_8" name="Update Success?" default="SequenceFlow_32">
130       <bpmn2:incoming>SequenceFlow_30</bpmn2:incoming>
131       <bpmn2:outgoing>SequenceFlow_32</bpmn2:outgoing>
132       <bpmn2:outgoing>SequenceFlow_36</bpmn2:outgoing>
133     </bpmn2:exclusiveGateway>
134     <bpmn2:sequenceFlow id="SequenceFlow_32" name="" sourceRef="ExclusiveGateway_8" targetRef="ScriptTask_7" />
135     <bpmn2:sequenceFlow id="SequenceFlow_36" name="" sourceRef="ExclusiveGateway_8" targetRef="ParallelGateway_5">
136       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("FH_updateRequestInfraResponseCode")==200}]]></bpmn2:conditionExpression>
137     </bpmn2:sequenceFlow>
138     <bpmn2:boundaryEvent id="BoundaryEvent_3" name="Connect Fault" attachedToRef="ServiceTask_2">
139       <bpmn2:outgoing>SequenceFlow_80</bpmn2:outgoing>
140       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_90" errorRef="Error_2" />
141     </bpmn2:boundaryEvent>
142     <bpmn2:sequenceFlow id="SequenceFlow_80" name="" sourceRef="BoundaryEvent_3" targetRef="ScriptTask_7" />
143     <bpmn2:subProcess id="SubProcess_1" name="Event Handler" triggeredByEvent="true">
144       <bpmn2:scriptTask id="ScriptTask_4" name="Handle Event" scriptFormat="groovy">
145         <bpmn2:incoming>SequenceFlow_1k7it63</bpmn2:incoming>
146         <bpmn2:outgoing>SequenceFlow_0celhl1</bpmn2:outgoing>
147         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
148 execution.setVariable("FH_success", false)
149 def falloutHandler = new FalloutHandler()
150
151 // This does not (and cannot) throw exceptions
152 falloutHandler.postProcessResponse(execution)
153
154 // Clear any WorkflowException object that might be in the execution, but keep a copy in FH_WorkflowException
155 def wfe = execution.getVariable("WorkflowException")
156 execution.setVariable("WorkflowException", null)
157 execution.setVariable("FH_WorkflowException", wfe)]]></bpmn2:script>
158       </bpmn2:scriptTask>
159       <bpmn2:startEvent id="StartEvent_2">
160         <bpmn2:outgoing>SequenceFlow_1k7it63</bpmn2:outgoing>
161         <bpmn2:errorEventDefinition id="ErrorEventDefinition_8" />
162       </bpmn2:startEvent>
163       <bpmn2:endEvent id="EndEvent_2" name="Error End">
164         <bpmn2:incoming>SequenceFlow_0celhl1</bpmn2:incoming>
165         <bpmn2:terminateEventDefinition />
166       </bpmn2:endEvent>
167       <bpmn2:sequenceFlow id="SequenceFlow_1k7it63" sourceRef="StartEvent_2" targetRef="ScriptTask_4" />
168       <bpmn2:sequenceFlow id="SequenceFlow_0celhl1" sourceRef="ScriptTask_4" targetRef="EndEvent_2" />
169     </bpmn2:subProcess>
170     <bpmn2:endEvent id="EndEvent_14">
171       <bpmn2:incoming>SequenceFlow_73</bpmn2:incoming>
172       <bpmn2:terminateEventDefinition />
173     </bpmn2:endEvent>
174     <bpmn2:endEvent id="EndEvent_13">
175       <bpmn2:incoming>SequenceFlow_79</bpmn2:incoming>
176       <bpmn2:terminateEventDefinition />
177     </bpmn2:endEvent>
178     <bpmn2:sequenceFlow id="SequenceFlow_1nn37a8" sourceRef="ScriptTask_8" targetRef="ExclusiveGateway_6" />
179     <bpmn2:sequenceFlow id="SequenceFlow_0fg02po" sourceRef="ParallelGateway_5" targetRef="ScriptTask_2" />
180     <bpmn2:sequenceFlow id="SequenceFlow_0x2jgo4" sourceRef="ScriptTask_2" targetRef="EndEvent_6" />
181   </bpmn2:process>
182   <bpmn2:error id="Error_1" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
183   <bpmn2:error id="Error_2" name="Java Lang Exception" errorCode="java.lang.Exception" />
184   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
185     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="FalloutHandler">
186       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_52" bpmnElement="StartEvent_1">
187         <dc:Bounds x="122" y="1112" width="36" height="36" />
188         <bpmndi:BPMNLabel>
189           <dc:Bounds x="128" y="1149" width="23" height="12" />
190         </bpmndi:BPMNLabel>
191       </bpmndi:BPMNShape>
192       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_79" bpmnElement="ExclusiveGateway_6" isMarkerVisible="true">
193         <dc:Bounds x="381" y="1105" width="50" height="50" />
194         <bpmndi:BPMNLabel>
195           <dc:Bounds x="406" y="1160" width="0" height="0" />
196         </bpmndi:BPMNLabel>
197       </bpmndi:BPMNShape>
198       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_25" bpmnElement="SequenceFlow_25" sourceElement="_BPMNShape_ExclusiveGateway_79" targetElement="_BPMNShape_ServiceTask_90">
199         <di:waypoint xsi:type="dc:Point" x="406" y="1105" />
200         <di:waypoint xsi:type="dc:Point" x="406" y="1039" />
201         <di:waypoint xsi:type="dc:Point" x="461" y="1039" />
202         <bpmndi:BPMNLabel>
203           <dc:Bounds x="403" y="1081" width="6" height="6" />
204         </bpmndi:BPMNLabel>
205       </bpmndi:BPMNEdge>
206       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_26" bpmnElement="SequenceFlow_26" sourceElement="_BPMNShape_ExclusiveGateway_79" targetElement="_BPMNShape_ServiceTask_91">
207         <di:waypoint xsi:type="dc:Point" x="406" y="1155" />
208         <di:waypoint xsi:type="dc:Point" x="406" y="1287" />
209         <di:waypoint xsi:type="dc:Point" x="457" y="1287" />
210         <bpmndi:BPMNLabel>
211           <dc:Bounds x="403" y="1233" width="6" height="6" />
212         </bpmndi:BPMNLabel>
213       </bpmndi:BPMNEdge>
214       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_90" bpmnElement="ServiceTask_3">
215         <dc:Bounds x="461" y="999" width="100" height="80" />
216       </bpmndi:BPMNShape>
217       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_91" bpmnElement="ServiceTask_2">
218         <dc:Bounds x="457" y="1247" width="100" height="80" />
219       </bpmndi:BPMNShape>
220       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_80" bpmnElement="ExclusiveGateway_7" isMarkerVisible="true">
221         <dc:Bounds x="644" y="1013" width="50" height="50" />
222         <bpmndi:BPMNLabel>
223           <dc:Bounds x="615" y="1068" width="109" height="22" />
224         </bpmndi:BPMNLabel>
225       </bpmndi:BPMNShape>
226       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_29" bpmnElement="SequenceFlow_29" sourceElement="_BPMNShape_ServiceTask_90" targetElement="_BPMNShape_ExclusiveGateway_80">
227         <di:waypoint xsi:type="dc:Point" x="561" y="1039" />
228         <di:waypoint xsi:type="dc:Point" x="644" y="1038" />
229         <bpmndi:BPMNLabel>
230           <dc:Bounds x="598" y="1041" width="6" height="6" />
231         </bpmndi:BPMNLabel>
232       </bpmndi:BPMNEdge>
233       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_81" bpmnElement="ExclusiveGateway_8" isMarkerVisible="true">
234         <dc:Bounds x="643" y="1262" width="50" height="50" />
235         <bpmndi:BPMNLabel>
236           <dc:Bounds x="614" y="1317" width="109" height="22" />
237         </bpmndi:BPMNLabel>
238       </bpmndi:BPMNShape>
239       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_30" bpmnElement="SequenceFlow_30" sourceElement="_BPMNShape_ServiceTask_91" targetElement="_BPMNShape_ExclusiveGateway_81">
240         <di:waypoint xsi:type="dc:Point" x="557" y="1287" />
241         <di:waypoint xsi:type="dc:Point" x="595" y="1287" />
242         <di:waypoint xsi:type="dc:Point" x="595" y="1286" />
243         <di:waypoint xsi:type="dc:Point" x="643" y="1287" />
244         <bpmndi:BPMNLabel>
245           <dc:Bounds x="602" y="1288" width="6" height="6" />
246         </bpmndi:BPMNLabel>
247       </bpmndi:BPMNEdge>
248       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_31" bpmnElement="SequenceFlow_31" sourceElement="_BPMNShape_ExclusiveGateway_80" targetElement="_BPMNShape_ScriptTask_252">
249         <di:waypoint xsi:type="dc:Point" x="669" y="1013" />
250         <di:waypoint xsi:type="dc:Point" x="670" y="961" />
251         <bpmndi:BPMNLabel>
252           <dc:Bounds x="673" y="988" width="6" height="6" />
253         </bpmndi:BPMNLabel>
254       </bpmndi:BPMNEdge>
255       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_32" bpmnElement="SequenceFlow_32" sourceElement="_BPMNShape_ExclusiveGateway_81" targetElement="_BPMNShape_ScriptTask_253">
256         <di:waypoint xsi:type="dc:Point" x="668" y="1262" />
257         <di:waypoint xsi:type="dc:Point" x="668" y="1245" />
258         <di:waypoint xsi:type="dc:Point" x="668" y="1214" />
259         <bpmndi:BPMNLabel>
260           <dc:Bounds x="675" y="1294" width="6" height="6" />
261         </bpmndi:BPMNLabel>
262       </bpmndi:BPMNEdge>
263       <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_16" bpmnElement="ParallelGateway_5" isMarkerVisible="true">
264         <dc:Bounds x="822" y="1105" width="50" height="50" />
265         <bpmndi:BPMNLabel>
266           <dc:Bounds x="847" y="1160" width="0" height="0" />
267         </bpmndi:BPMNLabel>
268       </bpmndi:BPMNShape>
269       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_35" bpmnElement="SequenceFlow_35" sourceElement="_BPMNShape_ExclusiveGateway_80" targetElement="_BPMNShape_ParallelGateway_16">
270         <di:waypoint xsi:type="dc:Point" x="694" y="1038" />
271         <di:waypoint xsi:type="dc:Point" x="847" y="1038" />
272         <di:waypoint xsi:type="dc:Point" x="847" y="1105" />
273         <bpmndi:BPMNLabel>
274           <dc:Bounds x="728" y="1029" width="6" height="6" />
275         </bpmndi:BPMNLabel>
276       </bpmndi:BPMNEdge>
277       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_36" bpmnElement="SequenceFlow_36" sourceElement="_BPMNShape_ExclusiveGateway_81" targetElement="_BPMNShape_ParallelGateway_16">
278         <di:waypoint xsi:type="dc:Point" x="693" y="1287" />
279         <di:waypoint xsi:type="dc:Point" x="847" y="1287" />
280         <di:waypoint xsi:type="dc:Point" x="847" y="1155" />
281         <bpmndi:BPMNLabel>
282           <dc:Bounds x="844" y="1211" width="6" height="6" />
283         </bpmndi:BPMNLabel>
284       </bpmndi:BPMNEdge>
285       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_StartEvent_52" targetElement="_BPMNShape_ScriptTask_99">
286         <di:waypoint xsi:type="dc:Point" x="158" y="1130" />
287         <di:waypoint xsi:type="dc:Point" x="212" y="1130" />
288         <bpmndi:BPMNLabel>
289           <dc:Bounds x="185" y="1115" width="0" height="0" />
290         </bpmndi:BPMNLabel>
291       </bpmndi:BPMNEdge>
292       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_99" bpmnElement="ScriptTask_8">
293         <dc:Bounds x="212" y="1090" width="100" height="80" />
294       </bpmndi:BPMNShape>
295       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_14" bpmnElement="SubProcess_1" isExpanded="true">
296         <dc:Bounds x="115" y="1396" width="329" height="167" />
297       </bpmndi:BPMNShape>
298       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_100" bpmnElement="ScriptTask_4">
299         <dc:Bounds x="228" y="1440" width="100" height="80" />
300       </bpmndi:BPMNShape>
301       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_54" bpmnElement="StartEvent_2">
302         <dc:Bounds x="144" y="1462" width="36" height="36" />
303         <bpmndi:BPMNLabel>
304           <dc:Bounds x="162" y="1506" width="0" height="0" />
305         </bpmndi:BPMNLabel>
306       </bpmndi:BPMNShape>
307       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_101" bpmnElement="ScriptTask_2">
308         <dc:Bounds x="913" y="1090" width="100" height="80" />
309       </bpmndi:BPMNShape>
310       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_129" bpmnElement="EndEvent_6">
311         <dc:Bounds x="1062" y="1112" width="36" height="36" />
312         <bpmndi:BPMNLabel>
313           <dc:Bounds x="1051" y="1153" width="57" height="12" />
314         </bpmndi:BPMNLabel>
315       </bpmndi:BPMNShape>
316       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_31" bpmnElement="BoundaryEvent_2">
317         <dc:Bounds x="494" y="981" width="36" height="36" />
318         <bpmndi:BPMNLabel>
319           <dc:Bounds x="522" y="937" width="87" height="22" />
320         </bpmndi:BPMNLabel>
321       </bpmndi:BPMNShape>
322       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_32" bpmnElement="BoundaryEvent_3">
323         <dc:Bounds x="490" y="1229" width="36" height="36" />
324         <bpmndi:BPMNLabel>
325           <dc:Bounds x="522" y="1191" width="87" height="22" />
326         </bpmndi:BPMNLabel>
327       </bpmndi:BPMNShape>
328       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_72" bpmnElement="SequenceFlow_72" sourceElement="_BPMNShape_BoundaryEvent_31" targetElement="_BPMNShape_ScriptTask_252">
329         <di:waypoint xsi:type="dc:Point" x="512" y="981" />
330         <di:waypoint xsi:type="dc:Point" x="512" y="921" />
331         <di:waypoint xsi:type="dc:Point" x="620" y="921" />
332         <bpmndi:BPMNLabel>
333           <dc:Bounds x="509" y="963" width="6" height="6" />
334         </bpmndi:BPMNLabel>
335       </bpmndi:BPMNEdge>
336       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_73" bpmnElement="SequenceFlow_73" sourceElement="_BPMNShape_ScriptTask_253">
337         <di:waypoint xsi:type="dc:Point" x="719" y="1174" />
338         <di:waypoint xsi:type="dc:Point" x="759" y="1174" />
339         <bpmndi:BPMNLabel>
340           <dc:Bounds x="739" y="1159" width="0" height="0" />
341         </bpmndi:BPMNLabel>
342       </bpmndi:BPMNEdge>
343       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_252" bpmnElement="ScriptTask_6">
344         <dc:Bounds x="620" y="881" width="100" height="80" />
345       </bpmndi:BPMNShape>
346       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_253" bpmnElement="ScriptTask_7">
347         <dc:Bounds x="619" y="1134" width="100" height="80" />
348       </bpmndi:BPMNShape>
349       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_79" bpmnElement="SequenceFlow_79" sourceElement="_BPMNShape_ScriptTask_252">
350         <di:waypoint xsi:type="dc:Point" x="720" y="921" />
351         <di:waypoint xsi:type="dc:Point" x="762" y="921" />
352         <bpmndi:BPMNLabel>
353           <dc:Bounds x="741" y="906" width="0" height="0" />
354         </bpmndi:BPMNLabel>
355       </bpmndi:BPMNEdge>
356       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_80" bpmnElement="SequenceFlow_80" sourceElement="_BPMNShape_BoundaryEvent_32" targetElement="_BPMNShape_ScriptTask_253">
357         <di:waypoint xsi:type="dc:Point" x="508" y="1229" />
358         <di:waypoint xsi:type="dc:Point" x="508" y="1174" />
359         <di:waypoint xsi:type="dc:Point" x="619" y="1174" />
360         <bpmndi:BPMNLabel>
361           <dc:Bounds x="533" y="1174" width="6" height="6" />
362         </bpmndi:BPMNLabel>
363       </bpmndi:BPMNEdge>
364       <bpmndi:BPMNShape id="EndEvent_0b9vn2u_di" bpmnElement="EndEvent_2">
365         <dc:Bounds x="372" y="1462" width="36" height="36" />
366         <bpmndi:BPMNLabel>
367           <dc:Bounds x="368" y="1506" width="47" height="12" />
368         </bpmndi:BPMNLabel>
369       </bpmndi:BPMNShape>
370       <bpmndi:BPMNShape id="EndEvent_1fmpj5u_di" bpmnElement="EndEvent_14">
371         <dc:Bounds x="759" y="1156" width="36" height="36" />
372         <bpmndi:BPMNLabel>
373           <dc:Bounds x="777" y="1197" width="0" height="0" />
374         </bpmndi:BPMNLabel>
375       </bpmndi:BPMNShape>
376       <bpmndi:BPMNShape id="EndEvent_0w1puhf_di" bpmnElement="EndEvent_13">
377         <dc:Bounds x="762" y="903" width="36" height="36" />
378         <bpmndi:BPMNLabel>
379           <dc:Bounds x="780" y="944" width="0" height="0" />
380         </bpmndi:BPMNLabel>
381       </bpmndi:BPMNShape>
382       <bpmndi:BPMNEdge id="SequenceFlow_1nn37a8_di" bpmnElement="SequenceFlow_1nn37a8">
383         <di:waypoint xsi:type="dc:Point" x="312" y="1130" />
384         <di:waypoint xsi:type="dc:Point" x="340" y="1130" />
385         <di:waypoint xsi:type="dc:Point" x="340" y="1130" />
386         <di:waypoint xsi:type="dc:Point" x="381" y="1130" />
387         <bpmndi:BPMNLabel>
388           <dc:Bounds x="355" y="1130" width="0" height="0" />
389         </bpmndi:BPMNLabel>
390       </bpmndi:BPMNEdge>
391       <bpmndi:BPMNEdge id="SequenceFlow_0fg02po_di" bpmnElement="SequenceFlow_0fg02po">
392         <di:waypoint xsi:type="dc:Point" x="872" y="1130" />
393         <di:waypoint xsi:type="dc:Point" x="913" y="1130" />
394         <bpmndi:BPMNLabel>
395           <dc:Bounds x="893" y="1115" width="0" height="0" />
396         </bpmndi:BPMNLabel>
397       </bpmndi:BPMNEdge>
398       <bpmndi:BPMNEdge id="SequenceFlow_0x2jgo4_di" bpmnElement="SequenceFlow_0x2jgo4">
399         <di:waypoint xsi:type="dc:Point" x="1013" y="1130" />
400         <di:waypoint xsi:type="dc:Point" x="1062" y="1130" />
401         <bpmndi:BPMNLabel>
402           <dc:Bounds x="1038" y="1105" width="0" height="0" />
403         </bpmndi:BPMNLabel>
404       </bpmndi:BPMNEdge>
405       <bpmndi:BPMNEdge id="SequenceFlow_1k7it63_di" bpmnElement="SequenceFlow_1k7it63">
406         <di:waypoint xsi:type="dc:Point" x="180" y="1480" />
407         <di:waypoint xsi:type="dc:Point" x="228" y="1480" />
408         <bpmndi:BPMNLabel>
409           <dc:Bounds x="204" y="1455" width="0" height="0" />
410         </bpmndi:BPMNLabel>
411       </bpmndi:BPMNEdge>
412       <bpmndi:BPMNEdge id="SequenceFlow_0celhl1_di" bpmnElement="SequenceFlow_0celhl1">
413         <di:waypoint xsi:type="dc:Point" x="328" y="1480" />
414         <di:waypoint xsi:type="dc:Point" x="372" y="1480" />
415         <bpmndi:BPMNLabel>
416           <dc:Bounds x="350" y="1455" width="0" height="0" />
417         </bpmndi:BPMNLabel>
418       </bpmndi:BPMNEdge>
419     </bpmndi:BPMNPlane>
420   </bpmndi:BPMNDiagram>
421 </bpmn2:definitions>