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