[MSO-8] Update the maven dependency
[so.git] / bpmn / MSOCommonBPMN / src / main / resources / subprocess / VnfAdapterRestV1.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" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd" id="_GraPIIyxEeWmdMDkx6Uftw" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://camunda.org/schema/1.0/bpmn">
3   <bpmn2:process id="vnfAdapterRestV1" name="vnfAdapterRestV1" isExecutable="true">
4     <bpmn2:scriptTask id="ScriptTask_2" name="Log Response" scriptFormat="groovy">
5       <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>
6       <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>
7       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
8 def vnfAdapterRestV1 = new VnfAdapterRestV1()
9 def statusCode = execution.getVariable('VNFREST_vnfAdapterStatusCode')
10 String response = String.valueOf(execution.getVariable('VNFREST_vnfAdapterResponse'))
11 def isDebugLogEnabled = execution.getVariable('isDebugLogEnabled')
12 def processKey = vnfAdapterRestV1.getProcessKey(execution)
13 vnfAdapterRestV1.logDebug(processKey + " received response from VnfAdapter: statusCode=" + statusCode +
14         " response=" + (response.isEmpty() ? "" : "\n") + response, isDebugLogEnabled)]]></bpmn2:script>
15     </bpmn2:scriptTask>
16     <bpmn2:scriptTask id="ScriptTask_3" name="Workflow Exception (no connection)">
17       <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>
18       <bpmn2:outgoing>SequenceFlow_35</bpmn2:outgoing>
19       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
20 def exceptionUtil = new ExceptionUtil()
21 exceptionUtil.buildAndThrowWorkflowException(execution, 7000, "Failed to communicate with VnfAdapter")]]></bpmn2:script>
22     </bpmn2:scriptTask>
23     <bpmn2:scriptTask id="ScriptTask_4" name="Workflow Exception (bad response)" scriptFormat="groovy">
24       <bpmn2:incoming>SequenceFlow_23</bpmn2:incoming>
25       <bpmn2:outgoing>SequenceFlow_36</bpmn2:outgoing>
26       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
27
28 String res = execution.getVariable(VNFREST_vnfAdapterResponse)
29
30 def vnfAdapterRestV1 = new VnfAdapterRestV1()
31 vnfAdapterRestV1.vnfAdapterWorkflowException(execution, res)]]></bpmn2:script>
32     </bpmn2:scriptTask>
33     <bpmn2:sequenceFlow id="SequenceFlow_14" name="" sourceRef="ScriptTask_2" targetRef="ExclusiveGateway_1"/>
34     <bpmn2:exclusiveGateway id="ExclusiveGateway_1" default="SequenceFlow_23">
35       <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>
36       <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>
37       <bpmn2:outgoing>SequenceFlow_23</bpmn2:outgoing>
38       <bpmn2:outgoing>SequenceFlow_24</bpmn2:outgoing>
39     </bpmn2:exclusiveGateway>
40     <bpmn2:sequenceFlow id="SequenceFlow_17" name="404" sourceRef="ExclusiveGateway_1" targetRef="ScriptTask_3">
41       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("VNFREST_vnfAdapterStatusCode") == '404'}]]></bpmn2:conditionExpression>
42     </bpmn2:sequenceFlow>
43     <bpmn2:sequenceFlow id="SequenceFlow_23" name="other" sourceRef="ExclusiveGateway_1" targetRef="ScriptTask_4"/>
44     <bpmn2:sequenceFlow id="SequenceFlow_24" name="2xx" sourceRef="ExclusiveGateway_1" targetRef="waitForAsyncMessage">
45       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("VNFREST_vnfAdapterStatusCode") == '200' || execution.getVariable("VNFREST_vnfAdapterStatusCode") == '202'}]]></bpmn2:conditionExpression>
46     </bpmn2:sequenceFlow>
47     <bpmn2:boundaryEvent id="BoundaryEvent_1" name="Timeout" attachedToRef="waitForAsyncMessage">
48       <bpmn2:outgoing>SequenceFlow_27</bpmn2:outgoing>
49       <bpmn2:timerEventDefinition id="TimerEventDefinition_1">
50         <bpmn2:timeDuration xsi:type="bpmn2:tFormalExpression">${URN_mso_po_timeout}</bpmn2:timeDuration>
51       </bpmn2:timerEventDefinition>
52     </bpmn2:boundaryEvent>
53     <bpmn2:subProcess id="waitForAsyncMessage" name="Wait for Callback">
54       <bpmn2:incoming>SequenceFlow_24</bpmn2:incoming>
55       <bpmn2:outgoing>SequenceFlow_28</bpmn2:outgoing>
56       <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1" name="Catch Event">
57         <bpmn2:incoming>SequenceFlow_25</bpmn2:incoming>
58         <bpmn2:outgoing>SequenceFlow_26</bpmn2:outgoing>
59         <bpmn2:messageEventDefinition id="MessageEventDefinition_1" messageRef="Message_1"/>
60       </bpmn2:intermediateCatchEvent>
61       <bpmn2:sequenceFlow id="SequenceFlow_26" name="" sourceRef="IntermediateCatchEvent_1" targetRef="EndEvent_2"/>
62       <bpmn2:startEvent id="StartEvent_3">
63         <bpmn2:outgoing>SequenceFlow_25</bpmn2:outgoing>
64       </bpmn2:startEvent>
65       <bpmn2:sequenceFlow id="SequenceFlow_25" name="" sourceRef="StartEvent_3" targetRef="IntermediateCatchEvent_1"/>
66       <bpmn2:endEvent id="EndEvent_2">
67         <bpmn2:incoming>SequenceFlow_26</bpmn2:incoming>
68       </bpmn2:endEvent>
69     </bpmn2:subProcess>
70     <bpmn2:sequenceFlow id="SequenceFlow_27" name="" sourceRef="BoundaryEvent_1" targetRef="ScriptTask_5"/>
71     <bpmn2:scriptTask id="ScriptTask_5" name="Workflow Exception (timeout)" scriptFormat="groovy">
72       <bpmn2:incoming>SequenceFlow_27</bpmn2:incoming>
73       <bpmn2:outgoing>SequenceFlow_34</bpmn2:outgoing>
74       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
75 def exceptionUtil = new ExceptionUtil()
76 exceptionUtil.buildAndThrowWorkflowException(execution, 7010, "VnfAdapter Callback Timeout Error")]]></bpmn2:script>
77     </bpmn2:scriptTask>
78     <bpmn2:sequenceFlow id="SequenceFlow_28" name="" sourceRef="waitForAsyncMessage" targetRef="ScriptTask_6"/>
79     <bpmn2:scriptTask id="ScriptTask_6" name="Process Callback" scriptFormat="groovy">
80       <bpmn2:incoming>SequenceFlow_28</bpmn2:incoming>
81       <bpmn2:outgoing>SequenceFlow_33</bpmn2:outgoing>
82       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
83 def vnfAdapterRestV1 = new VnfAdapterRestV1()
84 vnfAdapterRestV1.processCallback(execution)
85 ]]></bpmn2:script>
86     </bpmn2:scriptTask>
87     <bpmn2:sequenceFlow id="SequenceFlow_33" name="" sourceRef="ScriptTask_6" targetRef="ExclusiveGateway_2"/>
88     <bpmn2:sequenceFlow id="SequenceFlow_34" name="" sourceRef="ScriptTask_5" targetRef="EndEvent_8"/>
89     <bpmn2:endEvent id="EndEvent_8">
90       <bpmn2:incoming>SequenceFlow_34</bpmn2:incoming>
91       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_21" errorRef="Error_1"/>
92     </bpmn2:endEvent>
93     <bpmn2:sequenceFlow id="SequenceFlow_35" name="" sourceRef="ScriptTask_3" targetRef="EndEvent_9"/>
94     <bpmn2:endEvent id="EndEvent_9">
95       <bpmn2:incoming>SequenceFlow_35</bpmn2:incoming>
96       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_22" errorRef="Error_1"/>
97     </bpmn2:endEvent>
98     <bpmn2:endEvent id="EndEvent_10">
99       <bpmn2:incoming>SequenceFlow_36</bpmn2:incoming>
100       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_23" errorRef="Error_1"/>
101     </bpmn2:endEvent>
102     <bpmn2:sequenceFlow id="SequenceFlow_36" name="" sourceRef="ScriptTask_4" targetRef="EndEvent_10"/>
103     <bpmn2:endEvent id="EndEvent_7">
104       <bpmn2:incoming>SequenceFlow_32</bpmn2:incoming>
105       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_20" errorRef="Error_1"/>
106     </bpmn2:endEvent>
107     <bpmn2:exclusiveGateway id="ExclusiveGateway_2" name="Callback&#xD;&#xA;Exception?" default="SequenceFlow_31">
108       <bpmn2:incoming>SequenceFlow_33</bpmn2:incoming>
109       <bpmn2:outgoing>SequenceFlow_31</bpmn2:outgoing>
110       <bpmn2:outgoing>SequenceFlow_32</bpmn2:outgoing>
111     </bpmn2:exclusiveGateway>
112     <bpmn2:sequenceFlow id="SequenceFlow_31" name="no" sourceRef="ExclusiveGateway_2" targetRef="ScriptTask_setSuccess"/>
113     <bpmn2:sequenceFlow id="SequenceFlow_32" name="yes" sourceRef="ExclusiveGateway_2" targetRef="EndEvent_7">
114       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("WorkflowException") != null}]]></bpmn2:conditionExpression>
115     </bpmn2:sequenceFlow>
116     <bpmn2:scriptTask id="ScriptTask_setSuccess" name="Set Success Indicator" scriptFormat="groovy">
117       <bpmn2:incoming>SequenceFlow_31</bpmn2:incoming>
118       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
119       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
120 def vnfAdapterRestV1 = new VnfAdapterRestV1()
121 vnfAdapterRestV1.setSuccessIndicator(execution, true)]]></bpmn2:script>
122     </bpmn2:scriptTask>
123     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="ScriptTask_setSuccess" targetRef="EndEvent_6"/>
124     <bpmn2:endEvent id="EndEvent_6" name="End Flow">
125       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
126     </bpmn2:endEvent>
127     <bpmn2:scriptTask id="ScriptTask_7" name="Send Request to Vnf Adapter" scriptFormat="groovy">
128       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
129       <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>
130       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
131 def vnfAdapterRestV1 = new VnfAdapterRestV1()
132 vnfAdapterRestV1.sendRequestToVnfAdapter(execution)]]></bpmn2:script>
133     </bpmn2:scriptTask>
134     <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="ScriptTask_7" targetRef="ScriptTask_2"/>
135     <bpmn2:subProcess id="SubProcess_1" name="Error Handling Sub Process" triggeredByEvent="true">
136       <bpmn2:scriptTask id="ScriptTask_8" name="Process Error" scriptFormat="groovy">
137         <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
138         <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>
139         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
140 def exUtil = new ExceptionUtil()
141 exUtil.processSubflowsBPMNException(execution)
142 ]]></bpmn2:script>
143       </bpmn2:scriptTask>
144       <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="ScriptTask_8" targetRef="EndEvent_1"/>
145       <bpmn2:endEvent id="EndEvent_1">
146         <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>
147       </bpmn2:endEvent>
148       <bpmn2:startEvent id="StartEvent_2">
149         <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
150         <bpmn2:errorEventDefinition id="_ErrorEventDefinition_89"/>
151       </bpmn2:startEvent>
152       <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="StartEvent_2" targetRef="ScriptTask_8"/>
153     </bpmn2:subProcess>
154     <bpmn2:scriptTask id="ScriptTask_1" name="Pre-Process Request" scriptFormat="groovy">
155       <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
156       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
157       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
158 def vnfAdapterRestV1 = new VnfAdapterRestV1()
159 vnfAdapterRestV1.preProcessRequest(execution)
160 ]]></bpmn2:script>
161     </bpmn2:scriptTask>
162     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="ScriptTask_1" targetRef="ScriptTask_7"/>
163     <bpmn2:startEvent id="StartEvent_1" name="Start">
164       <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
165     </bpmn2:startEvent>
166     <bpmn2:sequenceFlow id="SequenceFlow_9" name="" sourceRef="StartEvent_1" targetRef="ScriptTask_1"/>
167   </bpmn2:process>
168   <bpmn2:error id="Error_1" errorCode="MSOWorkflowException" name="MSO Workflow Exception"/>
169   <bpmn2:message id="Message_1" name="WorkflowMessage"/>
170   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
171     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="vnfAdapterRestV1">
172       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_56" bpmnElement="ScriptTask_1">
173         <dc:Bounds height="80.0" width="100.0" x="204.0" y="148.0"/>
174       </bpmndi:BPMNShape>
175       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_14" bpmnElement="waitForAsyncMessage" isExpanded="true">
176         <dc:Bounds height="154.0" width="265.0" x="744.0" y="275.0"/>
177       </bpmndi:BPMNShape>
178       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_58" bpmnElement="ScriptTask_6">
179         <dc:Bounds height="80.0" width="100.0" x="1046.0" y="311.0"/>
180       </bpmndi:BPMNShape>
181       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_59" bpmnElement="ScriptTask_5">
182         <dc:Bounds height="80.0" width="100.0" x="827.0" y="492.0"/>
183       </bpmndi:BPMNShape>
184       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_24" bpmnElement="BoundaryEvent_1">
185         <dc:Bounds height="36.0" width="36.0" x="859.0" y="411.0"/>
186         <bpmndi:BPMNLabel>
187           <dc:Bounds height="22.0" width="52.0" x="894.0" y="441.0"/>
188         </bpmndi:BPMNLabel>
189       </bpmndi:BPMNShape>
190       <bpmndi:BPMNShape id="_BPMNShape_IntermediateCatchEvent_20" bpmnElement="IntermediateCatchEvent_1">
191         <dc:Bounds height="36.0" width="36.0" x="863.0" y="330.0"/>
192         <bpmndi:BPMNLabel>
193           <dc:Bounds height="22.0" width="76.0" x="843.0" y="371.0"/>
194         </bpmndi:BPMNLabel>
195       </bpmndi:BPMNShape>
196       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_78" bpmnElement="ScriptTask_4">
197         <dc:Bounds height="80.0" width="97.0" x="744.0" y="148.0"/>
198       </bpmndi:BPMNShape>
199       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_79" bpmnElement="ScriptTask_2">
200         <dc:Bounds height="80.0" width="100.0" x="492.0" y="148.0"/>
201       </bpmndi:BPMNShape>
202       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_54" bpmnElement="StartEvent_1">
203         <dc:Bounds height="36.0" width="36.0" x="84.0" y="170.0"/>
204         <bpmndi:BPMNLabel>
205           <dc:Bounds height="22.0" width="34.0" x="85.0" y="211.0"/>
206         </bpmndi:BPMNLabel>
207       </bpmndi:BPMNShape>
208       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_168" bpmnElement="ScriptTask_3">
209         <dc:Bounds height="80.0" width="97.0" x="744.0" y="24.0"/>
210       </bpmndi:BPMNShape>
211       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_StartEvent_54" targetElement="_BPMNShape_ScriptTask_56">
212         <di:waypoint xsi:type="dc:Point" x="120.0" y="188.0"/>
213         <di:waypoint xsi:type="dc:Point" x="204.0" y="188.0"/>
214         <bpmndi:BPMNLabel>
215           <dc:Bounds height="6.0" width="6.0" x="130.0" y="188.0"/>
216         </bpmndi:BPMNLabel>
217       </bpmndi:BPMNEdge>
218       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_105" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">
219         <dc:Bounds height="50.0" width="50.0" x="624.0" y="162.0"/>
220         <bpmndi:BPMNLabel>
221           <dc:Bounds height="0.0" width="0.0" x="649.0" y="217.0"/>
222         </bpmndi:BPMNLabel>
223       </bpmndi:BPMNShape>
224       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_ScriptTask_79" targetElement="_BPMNShape_ExclusiveGateway_105">
225         <di:waypoint xsi:type="dc:Point" x="592.0" y="188.0"/>
226         <di:waypoint xsi:type="dc:Point" x="624.0" y="187.0"/>
227         <bpmndi:BPMNLabel>
228           <dc:Bounds height="6.0" width="6.0" x="611.0" y="187.0"/>
229         </bpmndi:BPMNLabel>
230       </bpmndi:BPMNEdge>
231       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_17" sourceElement="_BPMNShape_ExclusiveGateway_105" targetElement="_BPMNShape_ScriptTask_168">
232         <di:waypoint xsi:type="dc:Point" x="649.0" y="162.0"/>
233         <di:waypoint xsi:type="dc:Point" x="649.0" y="64.0"/>
234         <di:waypoint xsi:type="dc:Point" x="744.0" y="64.0"/>
235         <bpmndi:BPMNLabel>
236           <dc:Bounds height="22.0" width="27.0" x="688.0" y="64.0"/>
237         </bpmndi:BPMNLabel>
238       </bpmndi:BPMNEdge>
239       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_23" sourceElement="_BPMNShape_ExclusiveGateway_105" targetElement="_BPMNShape_ScriptTask_78">
240         <di:waypoint xsi:type="dc:Point" x="674.0" y="187.0"/>
241         <di:waypoint xsi:type="dc:Point" x="709.0" y="187.0"/>
242         <di:waypoint xsi:type="dc:Point" x="709.0" y="188.0"/>
243         <di:waypoint xsi:type="dc:Point" x="744.0" y="188.0"/>
244         <bpmndi:BPMNLabel>
245           <dc:Bounds height="22.0" width="35.0" x="684.0" y="188.0"/>
246         </bpmndi:BPMNLabel>
247       </bpmndi:BPMNEdge>
248       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_25" bpmnElement="SequenceFlow_24" sourceElement="_BPMNShape_ExclusiveGateway_105" targetElement="_BPMNShape_SubProcess_14">
249         <di:waypoint xsi:type="dc:Point" x="649.0" y="212.0"/>
250         <di:waypoint xsi:type="dc:Point" x="649.0" y="353.0"/>
251         <di:waypoint xsi:type="dc:Point" x="708.0" y="353.0"/>
252         <di:waypoint xsi:type="dc:Point" x="744.0" y="353.0"/>
253         <bpmndi:BPMNLabel>
254           <dc:Bounds height="22.0" width="27.0" x="688.0" y="328.0"/>
255         </bpmndi:BPMNLabel>
256       </bpmndi:BPMNEdge>
257       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_55" bpmnElement="StartEvent_3">
258         <dc:Bounds height="36.0" width="36.0" x="768.0" y="330.0"/>
259         <bpmndi:BPMNLabel>
260           <dc:Bounds height="0.0" width="0.0" x="786.0" y="371.0"/>
261         </bpmndi:BPMNLabel>
262       </bpmndi:BPMNShape>
263       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_27" bpmnElement="SequenceFlow_25" sourceElement="_BPMNShape_StartEvent_55" targetElement="_BPMNShape_IntermediateCatchEvent_20">
264         <di:waypoint xsi:type="dc:Point" x="804.0" y="348.0"/>
265         <di:waypoint xsi:type="dc:Point" x="863.0" y="348.0"/>
266         <bpmndi:BPMNLabel>
267           <dc:Bounds height="6.0" width="6.0" x="833.0" y="348.0"/>
268         </bpmndi:BPMNLabel>
269       </bpmndi:BPMNEdge>
270       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_156" bpmnElement="EndEvent_2">
271         <dc:Bounds height="36.0" width="36.0" x="948.0" y="330.0"/>
272         <bpmndi:BPMNLabel>
273           <dc:Bounds height="0.0" width="0.0" x="966.0" y="371.0"/>
274         </bpmndi:BPMNLabel>
275       </bpmndi:BPMNShape>
276       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_28" bpmnElement="SequenceFlow_26" sourceElement="_BPMNShape_IntermediateCatchEvent_20" targetElement="_BPMNShape_EndEvent_156">
277         <di:waypoint xsi:type="dc:Point" x="899.0" y="348.0"/>
278         <di:waypoint xsi:type="dc:Point" x="929.0" y="348.0"/>
279         <di:waypoint xsi:type="dc:Point" x="929.0" y="347.0"/>
280         <di:waypoint xsi:type="dc:Point" x="948.0" y="348.0"/>
281         <bpmndi:BPMNLabel>
282           <dc:Bounds height="6.0" width="6.0" x="926.0" y="348.0"/>
283         </bpmndi:BPMNLabel>
284       </bpmndi:BPMNEdge>
285       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_29" bpmnElement="SequenceFlow_27" sourceElement="_BPMNShape_BoundaryEvent_24" targetElement="_BPMNShape_ScriptTask_59">
286         <di:waypoint xsi:type="dc:Point" x="877.0" y="447.0"/>
287         <di:waypoint xsi:type="dc:Point" x="877.0" y="492.0"/>
288         <bpmndi:BPMNLabel>
289           <dc:Bounds height="6.0" width="6.0" x="874.0" y="472.0"/>
290         </bpmndi:BPMNLabel>
291       </bpmndi:BPMNEdge>
292       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_30" bpmnElement="SequenceFlow_28" sourceElement="_BPMNShape_SubProcess_14" targetElement="_BPMNShape_ScriptTask_58">
293         <di:waypoint xsi:type="dc:Point" x="1008.0" y="351.0"/>
294         <di:waypoint xsi:type="dc:Point" x="1046.0" y="351.0"/>
295         <bpmndi:BPMNLabel>
296           <dc:Bounds height="6.0" width="6.0" x="1023.0" y="351.0"/>
297         </bpmndi:BPMNLabel>
298       </bpmndi:BPMNEdge>
299       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_106" bpmnElement="ExclusiveGateway_2" isMarkerVisible="true">
300         <dc:Bounds height="50.0" width="50.0" x="1188.0" y="325.0"/>
301         <bpmndi:BPMNLabel>
302           <dc:Bounds height="38.0" width="71.0" x="1179.0" y="288.0"/>
303         </bpmndi:BPMNLabel>
304       </bpmndi:BPMNShape>
305       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_158" bpmnElement="EndEvent_6">
306         <dc:Bounds height="36.0" width="36.0" x="1463.0" y="333.0"/>
307         <bpmndi:BPMNLabel>
308           <dc:Bounds height="22.0" width="60.0" x="1451.0" y="374.0"/>
309         </bpmndi:BPMNLabel>
310       </bpmndi:BPMNShape>
311       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_33" bpmnElement="SequenceFlow_31" sourceElement="_BPMNShape_ExclusiveGateway_106" targetElement="_BPMNShape_ScriptTask_236">
312         <di:waypoint xsi:type="dc:Point" x="1238.0" y="350.0"/>
313         <di:waypoint xsi:type="dc:Point" x="1308.0" y="350.0"/>
314         <bpmndi:BPMNLabel>
315           <dc:Bounds height="22.0" width="20.0" x="1248.0" y="350.0"/>
316         </bpmndi:BPMNLabel>
317       </bpmndi:BPMNEdge>
318       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_159" bpmnElement="EndEvent_7">
319         <dc:Bounds height="36.0" width="36.0" x="1196.0" y="426.0"/>
320         <bpmndi:BPMNLabel>
321           <dc:Bounds height="0.0" width="0.0" x="1214.0" y="467.0"/>
322         </bpmndi:BPMNLabel>
323       </bpmndi:BPMNShape>
324       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_34" bpmnElement="SequenceFlow_32" sourceElement="_BPMNShape_ExclusiveGateway_106" targetElement="_BPMNShape_EndEvent_159">
325         <di:waypoint xsi:type="dc:Point" x="1213.0" y="375.0"/>
326         <di:waypoint xsi:type="dc:Point" x="1213.0" y="392.0"/>
327         <di:waypoint xsi:type="dc:Point" x="1214.0" y="392.0"/>
328         <di:waypoint xsi:type="dc:Point" x="1214.0" y="426.0"/>
329         <bpmndi:BPMNLabel>
330           <dc:Bounds height="22.0" width="27.0" x="1223.0" y="390.0"/>
331         </bpmndi:BPMNLabel>
332       </bpmndi:BPMNEdge>
333       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_35" bpmnElement="SequenceFlow_33" sourceElement="_BPMNShape_ScriptTask_58" targetElement="_BPMNShape_ExclusiveGateway_106">
334         <di:waypoint xsi:type="dc:Point" x="1146.0" y="351.0"/>
335         <di:waypoint xsi:type="dc:Point" x="1173.0" y="351.0"/>
336         <di:waypoint xsi:type="dc:Point" x="1173.0" y="350.0"/>
337         <di:waypoint xsi:type="dc:Point" x="1188.0" y="350.0"/>
338         <bpmndi:BPMNLabel>
339           <dc:Bounds height="6.0" width="6.0" x="1170.0" y="350.0"/>
340         </bpmndi:BPMNLabel>
341       </bpmndi:BPMNEdge>
342       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_160" bpmnElement="EndEvent_8">
343         <dc:Bounds height="36.0" width="36.0" x="974.0" y="514.0"/>
344         <bpmndi:BPMNLabel>
345           <dc:Bounds height="0.0" width="0.0" x="992.0" y="555.0"/>
346         </bpmndi:BPMNLabel>
347       </bpmndi:BPMNShape>
348       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_36" bpmnElement="SequenceFlow_34" sourceElement="_BPMNShape_ScriptTask_59" targetElement="_BPMNShape_EndEvent_160">
349         <di:waypoint xsi:type="dc:Point" x="927.0" y="532.0"/>
350         <di:waypoint xsi:type="dc:Point" x="974.0" y="532.0"/>
351         <bpmndi:BPMNLabel>
352           <dc:Bounds height="6.0" width="6.0" x="951.0" y="532.0"/>
353         </bpmndi:BPMNLabel>
354       </bpmndi:BPMNEdge>
355       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_161" bpmnElement="EndEvent_9">
356         <dc:Bounds height="36.0" width="36.0" x="891.0" y="46.0"/>
357         <bpmndi:BPMNLabel>
358           <dc:Bounds height="0.0" width="0.0" x="909.0" y="87.0"/>
359         </bpmndi:BPMNLabel>
360       </bpmndi:BPMNShape>
361       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_37" bpmnElement="SequenceFlow_35" sourceElement="_BPMNShape_ScriptTask_168" targetElement="_BPMNShape_EndEvent_161">
362         <di:waypoint xsi:type="dc:Point" x="840.0" y="64.0"/>
363         <di:waypoint xsi:type="dc:Point" x="891.0" y="64.0"/>
364         <bpmndi:BPMNLabel>
365           <dc:Bounds height="6.0" width="6.0" x="865.0" y="64.0"/>
366         </bpmndi:BPMNLabel>
367       </bpmndi:BPMNEdge>
368       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_162" bpmnElement="EndEvent_10">
369         <dc:Bounds height="36.0" width="36.0" x="892.0" y="170.0"/>
370         <bpmndi:BPMNLabel>
371           <dc:Bounds height="0.0" width="0.0" x="910.0" y="211.0"/>
372         </bpmndi:BPMNLabel>
373       </bpmndi:BPMNShape>
374       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_38" bpmnElement="SequenceFlow_36" sourceElement="_BPMNShape_ScriptTask_78" targetElement="_BPMNShape_EndEvent_162">
375         <di:waypoint xsi:type="dc:Point" x="840.0" y="188.0"/>
376         <di:waypoint xsi:type="dc:Point" x="892.0" y="188.0"/>
377       </bpmndi:BPMNEdge>
378       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_236" bpmnElement="ScriptTask_setSuccess">
379         <dc:Bounds height="83.0" width="97.0" x="1308.0" y="309.0"/>
380       </bpmndi:BPMNShape>
381       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_ScriptTask_236" targetElement="_BPMNShape_EndEvent_158">
382         <di:waypoint xsi:type="dc:Point" x="1404.0" y="350.0"/>
383         <di:waypoint xsi:type="dc:Point" x="1422.0" y="350.0"/>
384         <di:waypoint xsi:type="dc:Point" x="1422.0" y="351.0"/>
385         <di:waypoint xsi:type="dc:Point" x="1463.0" y="351.0"/>
386         <bpmndi:BPMNLabel>
387           <dc:Bounds height="6.0" width="6.0" x="1419.0" y="351.0"/>
388         </bpmndi:BPMNLabel>
389       </bpmndi:BPMNEdge>
390       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_237" bpmnElement="ScriptTask_7">
391         <dc:Bounds height="83.0" width="97.0" x="360.0" y="146.0"/>
392       </bpmndi:BPMNShape>
393       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_56" targetElement="_BPMNShape_ScriptTask_237">
394         <di:waypoint xsi:type="dc:Point" x="304.0" y="188.0"/>
395         <di:waypoint xsi:type="dc:Point" x="344.0" y="188.0"/>
396         <di:waypoint xsi:type="dc:Point" x="344.0" y="187.0"/>
397         <di:waypoint xsi:type="dc:Point" x="360.0" y="187.0"/>
398         <bpmndi:BPMNLabel>
399           <dc:Bounds height="6.0" width="6.0" x="317.0" y="188.0"/>
400         </bpmndi:BPMNLabel>
401       </bpmndi:BPMNEdge>
402       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_237" targetElement="_BPMNShape_ScriptTask_79">
403         <di:waypoint xsi:type="dc:Point" x="456.0" y="187.0"/>
404         <di:waypoint xsi:type="dc:Point" x="474.0" y="187.0"/>
405         <di:waypoint xsi:type="dc:Point" x="474.0" y="188.0"/>
406         <di:waypoint xsi:type="dc:Point" x="492.0" y="188.0"/>
407       </bpmndi:BPMNEdge>
408       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_24" bpmnElement="SubProcess_1" isExpanded="true">
409         <dc:Bounds height="181.0" width="382.0" x="180.0" y="532.0"/>
410       </bpmndi:BPMNShape>
411       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_66" bpmnElement="StartEvent_2">
412         <dc:Bounds height="36.0" width="36.0" x="225.0" y="605.0"/>
413         <bpmndi:BPMNLabel>
414           <dc:Bounds height="0.0" width="0.0" x="243.0" y="646.0"/>
415         </bpmndi:BPMNLabel>
416       </bpmndi:BPMNShape>
417       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_207" bpmnElement="EndEvent_1">
418         <dc:Bounds height="36.0" width="36.0" x="477.0" y="605.0"/>
419         <bpmndi:BPMNLabel>
420           <dc:Bounds height="0.0" width="0.0" x="495.0" y="646.0"/>
421         </bpmndi:BPMNLabel>
422       </bpmndi:BPMNShape>
423       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_266" bpmnElement="ScriptTask_8">
424         <dc:Bounds height="83.0" width="97.0" x="323.0" y="581.0"/>
425       </bpmndi:BPMNShape>
426       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_StartEvent_66" targetElement="_BPMNShape_ScriptTask_266">
427         <di:waypoint xsi:type="dc:Point" x="261.0" y="623.0"/>
428         <di:waypoint xsi:type="dc:Point" x="323.0" y="622.0"/>
429         <bpmndi:BPMNLabel>
430           <dc:Bounds height="6.0" width="6.0" x="273.0" y="623.0"/>
431         </bpmndi:BPMNLabel>
432       </bpmndi:BPMNEdge>
433       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_266" targetElement="_BPMNShape_EndEvent_207">
434         <di:waypoint xsi:type="dc:Point" x="419.0" y="622.0"/>
435         <di:waypoint xsi:type="dc:Point" x="477.0" y="623.0"/>
436         <bpmndi:BPMNLabel>
437           <dc:Bounds height="6.0" width="6.0" x="445.0" y="623.0"/>
438         </bpmndi:BPMNLabel>
439       </bpmndi:BPMNEdge>
440     </bpmndi:BPMNPlane>
441   </bpmndi:BPMNDiagram>
442 </bpmn2:definitions>