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