158c4b77669145cb19da1dd08ae35a321743b99a
[so.git] / bpmn / MSOGammaBPMN / src / main / resources / subprocess / CompleteMsoProcess.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="_EsMs0HcuEeW2U_kkOHX1ZQ" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://activiti.org/bpmn">\r
3   <bpmn2:process id="CompleteMsoProcess" name="CompleteMsoProcess" isExecutable="true">\r
4     <bpmn2:scriptTask id="preProcessRequest" name="Pre-Process Request" scriptFormat="groovy">\r
5       <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>\r
6       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>\r
7       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
8 def preProcessRequestData = new CompleteMsoProcess()
9 preProcessRequestData.preProcessRequest(execution)
10
11 ]]></bpmn2:script>\r
12     </bpmn2:scriptTask>\r
13     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="preProcessRequest" targetRef="ExclusiveGateway_5"/>\r
14     <bpmn2:startEvent id="StartEvent_1" name="Start With Message ">\r
15       <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>\r
16       <bpmn2:messageEventDefinition id="MessageEventDefinition_1" messageRef="Message_2"/>\r
17     </bpmn2:startEvent>\r
18     <bpmn2:sequenceFlow id="SequenceFlow_18" name="" sourceRef="StartEvent_1" targetRef="preProcessRequest"/>\r
19     <bpmn2:parallelGateway id="ExclusiveGateway_5">\r
20       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>\r
21       <bpmn2:outgoing>SequenceFlow_45</bpmn2:outgoing>\r
22       <bpmn2:outgoing>SequenceFlow_46</bpmn2:outgoing>\r
23     </bpmn2:parallelGateway>\r
24     <bpmn2:sequenceFlow id="SequenceFlow_45" name="" sourceRef="ExclusiveGateway_5" targetRef="ParallelGateway_3"/>\r
25     <bpmn2:sequenceFlow id="SequenceFlow_46" name="" sourceRef="ExclusiveGateway_5" targetRef="ExclusiveGateway_3"/>\r
26     <bpmn2:exclusiveGateway id="ParallelGateway_3" name="Notification Url Present?" default="SequenceFlow_40">\r
27       <bpmn2:incoming>SequenceFlow_45</bpmn2:incoming>\r
28       <bpmn2:outgoing>if_notifcationURLExists</bpmn2:outgoing>\r
29       <bpmn2:outgoing>SequenceFlow_40</bpmn2:outgoing>\r
30     </bpmn2:exclusiveGateway>\r
31     <bpmn2:sequenceFlow id="if_notifcationURLExists" name="Yes" sourceRef="ParallelGateway_3" targetRef="ExclusiveGateway_1">\r
32       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CMSO_notification-url-Ok") ==true}]]></bpmn2:conditionExpression>\r
33     </bpmn2:sequenceFlow>\r
34     <bpmn2:sequenceFlow id="SequenceFlow_40" name="No" sourceRef="ParallelGateway_3" targetRef="ParallelGateway_5"/>\r
35     <bpmn2:parallelGateway id="ExclusiveGateway_1">\r
36       <bpmn2:incoming>if_notifcationURLExists</bpmn2:incoming>\r
37       <bpmn2:outgoing>SequenceFlow_87</bpmn2:outgoing>\r
38       <bpmn2:outgoing>SequenceFlow_73</bpmn2:outgoing>\r
39     </bpmn2:parallelGateway>\r
40     <bpmn2:sequenceFlow id="SequenceFlow_87" name="" sourceRef="ExclusiveGateway_1" targetRef="UpdateFinalNotifyAckStatus"/>\r
41     <bpmn2:sequenceFlow id="SequenceFlow_73" name="" sourceRef="ExclusiveGateway_1" targetRef="ExclusiveGateway_11"/>\r
42     <bpmn2:subProcess id="subProcessExceptionCompleteMSO" name="Sub Process Exception Complete MSO" triggeredByEvent="true">\r
43       <bpmn2:endEvent id="endEventExceptionCompleteMSO">\r
44         <bpmn2:extensionElements>\r
45           <camunda:connector>\r
46             <camunda:inputOutput>\r
47               <camunda:outputParameter name="DB_ADAPTER_ERROR">${CMSO_updateRequestResponse}</camunda:outputParameter>\r
48             </camunda:inputOutput>\r
49           </camunda:connector>\r
50         </bpmn2:extensionElements>\r
51         <bpmn2:incoming>SequenceFlow_19</bpmn2:incoming>\r
52         <bpmn2:terminateEventDefinition id="MessageEventDefinition_3"/>\r
53       </bpmn2:endEvent>\r
54       <bpmn2:startEvent id="startEventExceptionCompleteMSO">\r
55         <bpmn2:outgoing>SequenceFlow_19</bpmn2:outgoing>\r
56         <bpmn2:errorEventDefinition id="ErrorEventDefinition_4"/>\r
57       </bpmn2:startEvent>\r
58       <bpmn2:sequenceFlow id="SequenceFlow_19" name="" sourceRef="startEventExceptionCompleteMSO" targetRef="endEventExceptionCompleteMSO"/>\r
59     </bpmn2:subProcess>\r
60     <bpmn2:scriptTask id="ScriptTask_6" name="Build Error Message" scriptFormat="groovy">\r
61       <bpmn2:incoming>SequenceFlow_58</bpmn2:incoming>\r
62       <bpmn2:outgoing>SequenceFlow_59</bpmn2:outgoing>\r
63       <bpmn2:script><![CDATA[//println "INSIDE --> Build Error Message @@@@"
64 import com.att.bpm.scripts.*
65 def buildDataErrorMessage = new CompleteMsoProcess()
66 buildDataErrorMessage.buildDataError(execution, "Complete --updateFinal NotifyAck Status Success-- Failed")]]></bpmn2:script>\r
67     </bpmn2:scriptTask>\r
68     <bpmn2:sequenceFlow id="SequenceFlow_59" name="" sourceRef="ScriptTask_6" targetRef="EndEvent_10"/>\r
69     <bpmn2:serviceTask id="updateFinalNotifyAckStatus" name="updateFinal NotifyAck Status">\r
70       <bpmn2:extensionElements>\r
71         <camunda:connector>\r
72           <camunda:connectorId>soap-http-connector</camunda:connectorId>\r
73           <camunda:inputOutput>\r
74             <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>\r
75             <camunda:inputParameter name="payload"><![CDATA[${execution.getVariable("CMSO_updateFinalNotifyAckStatusSuccessPayload")}]]></camunda:inputParameter>\r
76             <camunda:inputParameter name="headers">\r
77               <camunda:map>\r
78                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>\r
79               </camunda:map>\r
80             </camunda:inputParameter>\r
81             <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
82             <camunda:outputParameter name="CMSO_updateRequestResponse"><![CDATA[${statusCode == null || statusCode == 204 ? "" : response}]]></camunda:outputParameter>\r
83             <camunda:outputParameter name="CMSO_updateRequestResponseCode">${statusCode}</camunda:outputParameter>\r
84           </camunda:inputOutput>\r
85         </camunda:connector>\r
86       </bpmn2:extensionElements>\r
87       <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>\r
88       <bpmn2:outgoing>SequenceFlow_53</bpmn2:outgoing>\r
89     </bpmn2:serviceTask>\r
90     <bpmn2:sequenceFlow id="SequenceFlow_53" name="" sourceRef="updateFinalNotifyAckStatus" targetRef="ExclusiveGateway_15"/>\r
91     <bpmn2:endEvent id="EndEvent_14">\r
92       <bpmn2:incoming>SequenceFlow_44</bpmn2:incoming>\r
93     </bpmn2:endEvent>\r
94     <bpmn2:exclusiveGateway id="ExclusiveGateway_15" default="SequenceFlow_58">\r
95       <bpmn2:incoming>SequenceFlow_53</bpmn2:incoming>\r
96       <bpmn2:outgoing>SequenceFlow_54</bpmn2:outgoing>\r
97       <bpmn2:outgoing>SequenceFlow_58</bpmn2:outgoing>\r
98     </bpmn2:exclusiveGateway>\r
99     <bpmn2:sequenceFlow id="SequenceFlow_54" name="" sourceRef="ExclusiveGateway_15" targetRef="ParallelGateway_5">\r
100       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CMSO_updateRequestResponseCode")==200}]]></bpmn2:conditionExpression>\r
101     </bpmn2:sequenceFlow>\r
102     <bpmn2:sequenceFlow id="SequenceFlow_58" name="" sourceRef="ExclusiveGateway_15" targetRef="ScriptTask_6"/>\r
103     <bpmn2:boundaryEvent id="BoundaryEvent_1" name="" attachedToRef="updateFinalNotifyAckStatus">\r
104       <bpmn2:outgoing>SequenceFlow_44</bpmn2:outgoing>\r
105       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_85" errorRef="Error_1"/>\r
106     </bpmn2:boundaryEvent>\r
107     <bpmn2:sequenceFlow id="SequenceFlow_44" name="" sourceRef="BoundaryEvent_1" targetRef="EndEvent_14"/>\r
108     <bpmn2:parallelGateway id="ParallelGateway_9">\r
109       <bpmn2:incoming>SequenceFlow_63</bpmn2:incoming>\r
110       <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>\r
111       <bpmn2:outgoing>SequenceFlow_70</bpmn2:outgoing>\r
112     </bpmn2:parallelGateway>\r
113     <bpmn2:sequenceFlow id="SequenceFlow_70" name="" sourceRef="ParallelGateway_9" targetRef="prepareUpdateFinalAckStatus"/>\r
114     <bpmn2:scriptTask id="prepareUpdateFinalAckStatus" name="Prepare DB Request" scriptFormat="groovy">\r
115       <bpmn2:incoming>SequenceFlow_70</bpmn2:incoming>\r
116       <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>\r
117       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*\r
118 def updateFinal= new CompleteMsoProcess()\r
119 updateFinal.updateFinalNotifyAckStatusSuccessPayload(execution)]]></bpmn2:script>\r
120     </bpmn2:scriptTask>\r
121     <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="prepareUpdateFinalAckStatus" targetRef="updateFinalNotifyAckStatus"/>\r
122     <bpmn2:endEvent id="EndEvent_10">\r
123       <bpmn2:incoming>SequenceFlow_59</bpmn2:incoming>\r
124       <bpmn2:errorEventDefinition id="ErrorEventDefinition_10" errorRef="Error_3"/>\r
125     </bpmn2:endEvent>\r
126     <bpmn2:exclusiveGateway id="ExclusiveGateway_16" default="SequenceFlow_61">\r
127       <bpmn2:incoming>SequenceFlow_60</bpmn2:incoming>\r
128       <bpmn2:outgoing>SequenceFlow_61</bpmn2:outgoing>\r
129       <bpmn2:outgoing>SequenceFlow_63</bpmn2:outgoing>\r
130     </bpmn2:exclusiveGateway>\r
131     <bpmn2:sequenceFlow id="SequenceFlow_61" name="" sourceRef="ExclusiveGateway_16" targetRef="ScriptTask_7"/>\r
132     <bpmn2:sequenceFlow id="SequenceFlow_63" name="" sourceRef="ExclusiveGateway_16" targetRef="ParallelGateway_9">\r
133       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CMSO_updateRequestResponseCode")==200}]]></bpmn2:conditionExpression>\r
134     </bpmn2:sequenceFlow>\r
135     <bpmn2:scriptTask id="ScriptTask_7" name="Build Error Message" scriptFormat="groovy">\r
136       <bpmn2:incoming>SequenceFlow_61</bpmn2:incoming>\r
137       <bpmn2:outgoing>SequenceFlow_62</bpmn2:outgoing>\r
138       <bpmn2:script><![CDATA[//println "INSIDE --> Build Error Message @@@@"
139 import com.att.bpm.scripts.*
140 def buildDataErrorMessage = new CompleteMsoProcess()
141 buildDataErrorMessage.buildDataError(execution, "Complete -- Update Final Notify Ack Status -- Failed")]]></bpmn2:script>\r
142     </bpmn2:scriptTask>\r
143     <bpmn2:sequenceFlow id="SequenceFlow_62" name="" sourceRef="ScriptTask_7" targetRef="EndEvent_11"/>\r
144     <bpmn2:endEvent id="EndEvent_11">\r
145       <bpmn2:incoming>SequenceFlow_62</bpmn2:incoming>\r
146       <bpmn2:errorEventDefinition id="ErrorEventDefinition_11" errorRef="Error_3"/>\r
147     </bpmn2:endEvent>\r
148     <bpmn2:exclusiveGateway id="ExclusiveGateway_17">\r
149       <bpmn2:incoming>SequenceFlow_29</bpmn2:incoming>\r
150       <bpmn2:incoming>SequenceFlow_92</bpmn2:incoming>\r
151       <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>\r
152     </bpmn2:exclusiveGateway>\r
153     <bpmn2:sequenceFlow id="SequenceFlow_15" name="" sourceRef="ExclusiveGateway_17" targetRef="ParallelGateway_9"/>\r
154     <bpmn2:scriptTask id="ScriptTask_1" name="Set Delivery Status Variable" scriptFormat="groovy">\r
155       <bpmn2:incoming>SequenceFlow_20</bpmn2:incoming>\r
156       <bpmn2:outgoing>SequenceFlow_29</bpmn2:outgoing>\r
157       <bpmn2:script><![CDATA[if(execution.getVariable("CCDStatusCode")==204){\r
158         execution.setVariable("CMSO_deliveryStatus", true)\r
159 }\r
160 \r
161 ]]></bpmn2:script>\r
162     </bpmn2:scriptTask>\r
163     <bpmn2:sequenceFlow id="SequenceFlow_29" name="" sourceRef="ScriptTask_1" targetRef="ExclusiveGateway_17"/>\r
164     <bpmn2:serviceTask id="ServiceTask_1" name="Notify CCD Success">\r
165       <bpmn2:extensionElements>\r
166         <camunda:connector>\r
167           <camunda:connectorId>http-connector</camunda:connectorId>\r
168           <camunda:inputOutput>\r
169             <camunda:inputParameter name="url"><![CDATA[${execution.getVariable("CMSO_notification-url")}]]></camunda:inputParameter>\r
170             <camunda:inputParameter name="headers">\r
171               <camunda:map>\r
172                 <camunda:entry key="Content-Type">text/xml</camunda:entry>\r
173                 <camunda:entry key="Authorization"/>\r
174               </camunda:map>\r
175             </camunda:inputParameter>\r
176             <camunda:inputParameter name="payload">\r
177               <camunda:script scriptFormat="groovy"><![CDATA[//println"INSIDE --> NOTIFY CCD Payload @@@@"
178 import com.att.bpm.scripts.*
179 def notifyCCDSuccess = new CompleteMsoProcess()
180 return notifyCCDSuccess.notifyCCDSuccessPayload(execution)]]></camunda:script>\r
181             </camunda:inputParameter>\r
182             <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
183             <camunda:outputParameter name="CCDResponse"><![CDATA[${statusCode == null || statusCode == 204 ? "" : response}]]></camunda:outputParameter>\r
184             <camunda:outputParameter name="CCDStatusCode">${statusCode}</camunda:outputParameter>\r
185           </camunda:inputOutput>\r
186         </camunda:connector>\r
187       </bpmn2:extensionElements>\r
188       <bpmn2:incoming>SequenceFlow_16</bpmn2:incoming>\r
189       <bpmn2:outgoing>SequenceFlow_20</bpmn2:outgoing>\r
190     </bpmn2:serviceTask>\r
191     <bpmn2:sequenceFlow id="SequenceFlow_20" name="" sourceRef="ServiceTask_1" targetRef="ScriptTask_1"/>\r
192     <bpmn2:serviceTask id="NotifyOMXSuccessFailureViaCSI" name="Notify OMX Success Failure Via CSI">\r
193       <bpmn2:extensionElements>\r
194         <camunda:connector>\r
195           <camunda:connectorId>soap-http-connector</camunda:connectorId>\r
196           <camunda:inputOutput>\r
197             <camunda:inputParameter name="url">${URN_csi_networkstatus_endpoint}</camunda:inputParameter>\r
198             <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
199             <camunda:inputParameter name="headers">\r
200               <camunda:map>\r
201                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>\r
202               </camunda:map>\r
203             </camunda:inputParameter>\r
204             <camunda:inputParameter name="payload">\r
205               <camunda:script scriptFormat="groovy"><![CDATA[import com.att.bpm.scripts.*
206 def notifyOMXSuccessFailureViaCSI = new CompleteMsoProcess()
207 return notifyOMXSuccessFailureViaCSI.notifyOMXSuccessFailureViaCSIPayload(execution)]]></camunda:script>\r
208             </camunda:inputParameter>\r
209             <camunda:outputParameter name="CMSO_notifyOMXSuccessFailureViaCSIResponse">${response}</camunda:outputParameter>\r
210             <camunda:outputParameter name="CMSO_notifyOMXSuccessFailureViaCSIResponseCode">${statusCode}</camunda:outputParameter>\r
211           </camunda:inputOutput>\r
212         </camunda:connector>\r
213         <camunda:properties>\r
214           <camunda:property/>\r
215         </camunda:properties>\r
216       </bpmn2:extensionElements>\r
217       <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>\r
218       <bpmn2:outgoing>SequenceFlow_65</bpmn2:outgoing>\r
219     </bpmn2:serviceTask>\r
220     <bpmn2:sequenceFlow id="SequenceFlow_65" name="" sourceRef="NotifyOMXSuccessFailureViaCSI" targetRef="setdeliverysuccessstatustofalse"/>\r
221     <bpmn2:exclusiveGateway id="ExclusiveGateway_11" name="OMX Source?" default="SequenceFlow_16">\r
222       <bpmn2:incoming>SequenceFlow_73</bpmn2:incoming>\r
223       <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>\r
224       <bpmn2:outgoing>SequenceFlow_16</bpmn2:outgoing>\r
225     </bpmn2:exclusiveGateway>\r
226     <bpmn2:sequenceFlow id="SequenceFlow_12" name="Yes" sourceRef="ExclusiveGateway_11" targetRef="NotifyOMXSuccessFailureViaCSI">\r
227       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CMSO_source").equals("OMX")}]]></bpmn2:conditionExpression>\r
228     </bpmn2:sequenceFlow>\r
229     <bpmn2:sequenceFlow id="SequenceFlow_16" name="No" sourceRef="ExclusiveGateway_11" targetRef="ServiceTask_1"/>\r
230     <bpmn2:scriptTask id="setdeliverysuccessstatustofalse" name="Set Delivery Status Variable" scriptFormat="groovy">\r
231       <bpmn2:incoming>SequenceFlow_65</bpmn2:incoming>\r
232       <bpmn2:outgoing>SequenceFlow_92</bpmn2:outgoing>\r
233       <bpmn2:script><![CDATA[if(execution.getVariable("CMSO_notifyOMXSuccessFailureViaCSIResponseCode")==200){\r
234         execution.setVariable("CMSO_deliveryStatus", true)\r
235 }\r
236 \r
237 ]]></bpmn2:script>\r
238     </bpmn2:scriptTask>\r
239     <bpmn2:sequenceFlow id="SequenceFlow_92" name="" sourceRef="setdeliverysuccessstatustofalse" targetRef="ExclusiveGateway_17"/>\r
240     <bpmn2:boundaryEvent id="BoundaryEvent_3" name="" attachedToRef="UpdateFinalNotifyAckStatus">\r
241       <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>\r
242       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_80" errorRef="Error_1"/>\r
243     </bpmn2:boundaryEvent>\r
244     <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="BoundaryEvent_3" targetRef="EndEvent_2"/>\r
245     <bpmn2:serviceTask id="UpdateFinalNotifyAckStatus" name="Update Final Notify Ack Status">\r
246       <bpmn2:extensionElements>\r
247         <camunda:connector>\r
248           <camunda:connectorId>soap-http-connector</camunda:connectorId>\r
249           <camunda:inputOutput>\r
250             <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>\r
251             <camunda:inputParameter name="payload">\r
252               <camunda:script scriptFormat="groovy"><![CDATA[//println"INSIDE --> UpdateFinalNotifyAckStatus"
253 import com.att.bpm.scripts.*
254 def updateFinalNotifyAckStatus= new CompleteMsoProcess()
255 return updateFinalNotifyAckStatus.updateFinalNotifyAckStatusPayload(execution)]]></camunda:script>\r
256             </camunda:inputParameter>\r
257             <camunda:inputParameter name="headers">\r
258               <camunda:map>\r
259                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>\r
260               </camunda:map>\r
261             </camunda:inputParameter>\r
262             <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
263             <camunda:outputParameter name="CMSO_updateRequestResponse"><![CDATA[${statusCode == null || statusCode == 204 ? "" : response}]]></camunda:outputParameter>\r
264             <camunda:outputParameter name="CMSO_updateRequestResponseCode">${statusCode}</camunda:outputParameter>\r
265           </camunda:inputOutput>\r
266         </camunda:connector>\r
267       </bpmn2:extensionElements>\r
268       <bpmn2:incoming>SequenceFlow_87</bpmn2:incoming>\r
269       <bpmn2:outgoing>SequenceFlow_60</bpmn2:outgoing>\r
270     </bpmn2:serviceTask>\r
271     <bpmn2:sequenceFlow id="SequenceFlow_60" name="" sourceRef="UpdateFinalNotifyAckStatus" targetRef="ExclusiveGateway_16"/>\r
272     <bpmn2:endEvent id="EndEvent_2">\r
273       <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>\r
274     </bpmn2:endEvent>\r
275     <bpmn2:endEvent id="EndEvent_13">\r
276       <bpmn2:incoming>SequenceFlow_21</bpmn2:incoming>\r
277     </bpmn2:endEvent>\r
278     <bpmn2:exclusiveGateway id="ParallelGateway_7">\r
279       <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>\r
280       <bpmn2:incoming>SequenceFlow_24</bpmn2:incoming>\r
281       <bpmn2:outgoing>SequenceFlow_39</bpmn2:outgoing>\r
282     </bpmn2:exclusiveGateway>\r
283     <bpmn2:sequenceFlow id="SequenceFlow_39" name="" sourceRef="ParallelGateway_7" targetRef="ParallelGateway_6"/>\r
284     <bpmn2:endEvent id="EndEvent_4">\r
285       <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>\r
286       <bpmn2:errorEventDefinition id="ErrorEventDefinition_5" errorRef="Error_3"/>\r
287     </bpmn2:endEvent>\r
288     <bpmn2:scriptTask id="ScriptTask_3" name="Prepare&#xD;&#xA;Update DB Request" scriptFormat="groovy">\r
289       <bpmn2:incoming>SequenceFlow_72</bpmn2:incoming>\r
290       <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>\r
291       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*\r
292 def completeMsoProcess = new CompleteMsoProcess()\r
293 completeMsoProcess.setUpdateDBstatustoSuccessPayload(execution)]]></bpmn2:script>\r
294     </bpmn2:scriptTask>\r
295     <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="ScriptTask_3" targetRef="updateInfraRequest"/>\r
296     <bpmn2:endEvent id="EndEvent_5">\r
297       <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>\r
298       <bpmn2:errorEventDefinition id="ErrorEventDefinition_3" errorRef="Error_3"/>\r
299     </bpmn2:endEvent>\r
300     <bpmn2:exclusiveGateway id="ExclusiveGateway_3" name="Active Request?" default="SequenceFlow_72">\r
301       <bpmn2:incoming>SequenceFlow_46</bpmn2:incoming>\r
302       <bpmn2:outgoing>SequenceFlow_72</bpmn2:outgoing>\r
303       <bpmn2:outgoing>SequenceFlow_81</bpmn2:outgoing>\r
304     </bpmn2:exclusiveGateway>\r
305     <bpmn2:sequenceFlow id="SequenceFlow_72" name="No" sourceRef="ExclusiveGateway_3" targetRef="ScriptTask_3"/>\r
306     <bpmn2:sequenceFlow id="SequenceFlow_81" name="Yes" sourceRef="ExclusiveGateway_3" targetRef="prepareUpdateRequest">\r
307       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CMSO_request_id-Ok") ==true}]]></bpmn2:conditionExpression>\r
308     </bpmn2:sequenceFlow>\r
309     <bpmn2:scriptTask id="BuildErrorMessage1" name="Build Error Message" scriptFormat="groovy">\r
310       <bpmn2:incoming>SequenceFlow_25</bpmn2:incoming>\r
311       <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>\r
312       <bpmn2:script><![CDATA[//println "INSIDE --> Build Error Message @@@@"
313 import com.att.bpm.scripts.*
314 def buildDataErrorMessage = new CompleteMsoProcess()
315 buildDataErrorMessage.buildDataError(execution, "Complete --Update DB status to SUCCESS-- Failed")]]></bpmn2:script>\r
316     </bpmn2:scriptTask>\r
317     <bpmn2:sequenceFlow id="SequenceFlow_13" name="" sourceRef="BuildErrorMessage1" targetRef="EndEvent_5"/>\r
318     <bpmn2:scriptTask id="prepareUpdateRequest" name="Prepare&#xD;&#xA;Update DB Request" scriptFormat="groovy">\r
319       <bpmn2:incoming>SequenceFlow_81</bpmn2:incoming>\r
320       <bpmn2:outgoing>SequenceFlow_49</bpmn2:outgoing>\r
321       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*\r
322 def completeMsoProcess = new CompleteMsoProcess()\r
323 completeMsoProcess.updateDBStatusToSuccessPayload(execution)]]></bpmn2:script>\r
324     </bpmn2:scriptTask>\r
325     <bpmn2:sequenceFlow id="SequenceFlow_49" name="" sourceRef="prepareUpdateRequest" targetRef="updateDBStatus"/>\r
326     <bpmn2:serviceTask id="updateInfraRequest" name="Update DB status to SUCCESS">\r
327       <bpmn2:extensionElements>\r
328         <camunda:connector>\r
329           <camunda:connectorId>soap-http-connector</camunda:connectorId>\r
330           <camunda:inputOutput>\r
331             <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>\r
332             <camunda:inputParameter name="payload"><![CDATA[${execution.getVariable("CMSO_setUpdateDBstatustoSuccessPayload")}]]></camunda:inputParameter>\r
333             <camunda:inputParameter name="headers">\r
334               <camunda:map>\r
335                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>\r
336               </camunda:map>\r
337             </camunda:inputParameter>\r
338             <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
339             <camunda:outputParameter name="CMSO_updateRequestResponse"><![CDATA[${statusCode == null || statusCode == 204 ? "" : response}]]></camunda:outputParameter>\r
340             <camunda:outputParameter name="CMSO_updateRequestResponseCode">${statusCode}</camunda:outputParameter>\r
341           </camunda:inputOutput>\r
342         </camunda:connector>\r
343       </bpmn2:extensionElements>\r
344       <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>\r
345       <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>\r
346     </bpmn2:serviceTask>\r
347     <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="updateInfraRequest" targetRef="ExclusiveGateway_7"/>\r
348     <bpmn2:boundaryEvent id="BoundaryEvent_6" name="" attachedToRef="updateDBStatus">\r
349       <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>\r
350       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_83" errorRef="Error_1"/>\r
351     </bpmn2:boundaryEvent>\r
352     <bpmn2:sequenceFlow id="SequenceFlow_14" name="" sourceRef="BoundaryEvent_6" targetRef="EndEvent_12"/>\r
353     <bpmn2:scriptTask id="BuildErrorMessage" name="Build Error Message" scriptFormat="groovy">\r
354       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>\r
355       <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>\r
356       <bpmn2:script><![CDATA[//println "INSIDE --> Build Error Message @@@@"
357 //println "CMSO_updateRequestResponse IS --> " + execution.getVariable("CMSO_updateRequestResponse")
358 import com.att.bpm.scripts.*
359 def buildDataErrorMessage = new CompleteMsoProcess()
360 buildDataErrorMessage.buildDataError(execution, "Complete MSO  -- Update DB status to SUCCESS -- Failed")]]></bpmn2:script>\r
361     </bpmn2:scriptTask>\r
362     <bpmn2:sequenceFlow id="SequenceFlow_9" name="" sourceRef="BuildErrorMessage" targetRef="EndEvent_4"/>\r
363     <bpmn2:exclusiveGateway id="ExclusiveGateway_10" default="SequenceFlow_25">\r
364       <bpmn2:incoming>SequenceFlow_23</bpmn2:incoming>\r
365       <bpmn2:outgoing>SequenceFlow_24</bpmn2:outgoing>\r
366       <bpmn2:outgoing>SequenceFlow_25</bpmn2:outgoing>\r
367     </bpmn2:exclusiveGateway>\r
368     <bpmn2:sequenceFlow id="SequenceFlow_24" name="" sourceRef="ExclusiveGateway_10" targetRef="ParallelGateway_7">\r
369       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CMSO_updateRequestResponseCode")==200}]]></bpmn2:conditionExpression>\r
370     </bpmn2:sequenceFlow>\r
371     <bpmn2:sequenceFlow id="SequenceFlow_25" name="" sourceRef="ExclusiveGateway_10" targetRef="BuildErrorMessage1"/>\r
372     <bpmn2:exclusiveGateway id="ExclusiveGateway_7" default="SequenceFlow_1">\r
373       <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>\r
374       <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>\r
375       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>\r
376     </bpmn2:exclusiveGateway>\r
377     <bpmn2:sequenceFlow id="SequenceFlow_7" sourceRef="ExclusiveGateway_7" targetRef="ParallelGateway_7">\r
378       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CMSO_updateRequestResponseCode")==200}]]></bpmn2:conditionExpression>\r
379     </bpmn2:sequenceFlow>\r
380     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="ExclusiveGateway_7" targetRef="BuildErrorMessage"/>\r
381     <bpmn2:serviceTask id="updateDBStatus" name="Update DB status to SUCCESS">\r
382       <bpmn2:extensionElements>\r
383         <camunda:connector>\r
384           <camunda:connectorId>soap-http-connector</camunda:connectorId>\r
385           <camunda:inputOutput>\r
386             <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>\r
387             <camunda:inputParameter name="payload"><![CDATA[${execution.getVariable("CMSO_updateDBStatusToSuccessPayload")}]]></camunda:inputParameter>\r
388             <camunda:inputParameter name="headers">\r
389               <camunda:map>\r
390                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>\r
391               </camunda:map>\r
392             </camunda:inputParameter>\r
393             <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
394             <camunda:outputParameter name="CMSO_updateRequestResponse"><![CDATA[${statusCode == null || statusCode == 204 ? "" : response}]]></camunda:outputParameter>\r
395             <camunda:outputParameter name="CMSO_updateRequestResponseCode">${statusCode}</camunda:outputParameter>\r
396           </camunda:inputOutput>\r
397         </camunda:connector>\r
398       </bpmn2:extensionElements>\r
399       <bpmn2:incoming>SequenceFlow_49</bpmn2:incoming>\r
400       <bpmn2:outgoing>SequenceFlow_23</bpmn2:outgoing>\r
401     </bpmn2:serviceTask>\r
402     <bpmn2:sequenceFlow id="SequenceFlow_23" name="" sourceRef="updateDBStatus" targetRef="ExclusiveGateway_10"/>\r
403     <bpmn2:endEvent id="EndEvent_12">\r
404       <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>\r
405     </bpmn2:endEvent>\r
406     <bpmn2:boundaryEvent id="BoundaryEvent_7" name="" attachedToRef="updateInfraRequest">\r
407       <bpmn2:outgoing>SequenceFlow_21</bpmn2:outgoing>\r
408       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_84" errorRef="Error_1"/>\r
409     </bpmn2:boundaryEvent>\r
410     <bpmn2:sequenceFlow id="SequenceFlow_21" name="" sourceRef="BoundaryEvent_7" targetRef="EndEvent_13"/>\r
411     <bpmn2:exclusiveGateway id="ParallelGateway_5">\r
412       <bpmn2:incoming>SequenceFlow_40</bpmn2:incoming>\r
413       <bpmn2:incoming>SequenceFlow_54</bpmn2:incoming>\r
414       <bpmn2:outgoing>SequenceFlow_32</bpmn2:outgoing>\r
415     </bpmn2:exclusiveGateway>\r
416     <bpmn2:sequenceFlow id="SequenceFlow_32" name="" sourceRef="ParallelGateway_5" targetRef="ParallelGateway_6"/>\r
417     <bpmn2:parallelGateway id="ParallelGateway_6">\r
418       <bpmn2:incoming>SequenceFlow_32</bpmn2:incoming>\r
419       <bpmn2:incoming>SequenceFlow_39</bpmn2:incoming>\r
420       <bpmn2:outgoing>SequenceFlow_33</bpmn2:outgoing>\r
421     </bpmn2:parallelGateway>\r
422     <bpmn2:sequenceFlow id="SequenceFlow_33" name="" sourceRef="ParallelGateway_6" targetRef="Done"/>\r
423     <bpmn2:scriptTask id="Done" name="Prepare Response" scriptFormat="groovy">\r
424       <bpmn2:incoming>SequenceFlow_33</bpmn2:incoming>\r
425       <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>\r
426       <bpmn2:script><![CDATA[println "INSIDE --> Complete MSO Process Done SUCCESSFULLY"
427 import com.att.bpm.scripts.*
428 def postProcessResponseData = new CompleteMsoProcess()
429 postProcessResponseData.postProcessResponse(execution)
430 println "CompleteMsoProcess Response -->" + "\n" + execution.getVariable("CompletionHandlerResponse")]]></bpmn2:script>\r
431     </bpmn2:scriptTask>\r
432     <bpmn2:sequenceFlow id="SequenceFlow_17" name="" sourceRef="Done" targetRef="EndEvent_1"/>\r
433     <bpmn2:endEvent id="EndEvent_1">\r
434       <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>\r
435       <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_2"/>\r
436     </bpmn2:endEvent>\r
437   </bpmn2:process>\r
438   <bpmn2:message id="Message_2" name="CompleteMsoProcessRequest"/>\r
439   <bpmn2:error id="Error_3" errorCode="MSOWorkflowException" name="MSOWorkflowException"/>\r
440   <bpmn2:error id="Error_1" errorCode="java.lang.Exception" name="Java Lang Exception"/>\r
441   <bpmndi:BPMNDiagram id="BPMNDiagram_1">\r
442     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CompleteMsoProcess">\r
443       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_41" bpmnElement="StartEvent_1">\r
444         <dc:Bounds height="36.0" width="36.0" x="156.0" y="827.0"/>\r
445         <bpmndi:BPMNLabel>\r
446           <dc:Bounds height="22.0" width="126.0" x="144.0" y="868.0"/>\r
447         </bpmndi:BPMNLabel>\r
448       </bpmndi:BPMNShape>\r
449       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_55" bpmnElement="ExclusiveGateway_1">\r
450         <dc:Bounds height="50.0" width="50.0" x="662.0" y="506.0"/>\r
451         <bpmndi:BPMNLabel>\r
452           <dc:Bounds height="0.0" width="0.0" x="687.0" y="561.0"/>\r
453         </bpmndi:BPMNLabel>\r
454       </bpmndi:BPMNShape>\r
455       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_81" bpmnElement="NotifyOMXSuccessFailureViaCSI">\r
456         <dc:Bounds height="80.0" width="100.0" x="820.0" y="253.0"/>\r
457       </bpmndi:BPMNShape>\r
458       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_82" bpmnElement="UpdateFinalNotifyAckStatus">\r
459         <dc:Bounds height="80.0" width="100.0" x="820.0" y="577.0"/>\r
460       </bpmndi:BPMNShape>\r
461       <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_4" bpmnElement="ParallelGateway_3" isMarkerVisible="true">\r
462         <dc:Bounds height="50.0" width="50.0" x="576.0" y="643.0"/>\r
463         <bpmndi:BPMNLabel>\r
464           <dc:Bounds height="22.0" width="146.0" x="616.0" y="676.0"/>\r
465         </bpmndi:BPMNLabel>\r
466       </bpmndi:BPMNShape>\r
467       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="if_notifcationURLExists" sourceElement="_BPMNShape_ParallelGateway_4" targetElement="_BPMNShape_ExclusiveGateway_55">\r
468         <di:waypoint xsi:type="dc:Point" x="601.0" y="643.0"/>\r
469         <di:waypoint xsi:type="dc:Point" x="601.0" y="531.0"/>\r
470         <di:waypoint xsi:type="dc:Point" x="662.0" y="531.0"/>\r
471         <bpmndi:BPMNLabel>\r
472           <dc:Bounds height="22.0" width="29.0" x="601.0" y="573.0"/>\r
473         </bpmndi:BPMNLabel>\r
474       </bpmndi:BPMNEdge>\r
475       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_86" bpmnElement="updateFinalNotifyAckStatus">\r
476         <dc:Bounds height="80.0" width="100.0" x="1425.0" y="492.0"/>\r
477       </bpmndi:BPMNShape>\r
478       <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_6" bpmnElement="ParallelGateway_5" isMarkerVisible="true">\r
479         <dc:Bounds height="50.0" width="50.0" x="1656.0" y="643.0"/>\r
480         <bpmndi:BPMNLabel>\r
481           <dc:Bounds height="0.0" width="0.0" x="1681.0" y="698.0"/>\r
482         </bpmndi:BPMNLabel>\r
483       </bpmndi:BPMNShape>\r
484       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_59" bpmnElement="ExclusiveGateway_5">\r
485         <dc:Bounds height="50.0" width="50.0" x="470.0" y="819.0"/>\r
486         <bpmndi:BPMNLabel>\r
487           <dc:Bounds height="0.0" width="0.0" x="495.0" y="874.0"/>\r
488         </bpmndi:BPMNLabel>\r
489       </bpmndi:BPMNShape>\r
490       <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_7" bpmnElement="ParallelGateway_6">\r
491         <dc:Bounds height="50.0" width="50.0" x="1769.0" y="819.0"/>\r
492         <bpmndi:BPMNLabel>\r
493           <dc:Bounds height="0.0" width="0.0" x="1794.0" y="874.0"/>\r
494         </bpmndi:BPMNLabel>\r
495       </bpmndi:BPMNShape>\r
496       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_32" bpmnElement="SequenceFlow_32" sourceElement="_BPMNShape_ParallelGateway_6" targetElement="_BPMNShape_ParallelGateway_7">\r
497         <di:waypoint xsi:type="dc:Point" x="1706.0" y="668.0"/>\r
498         <di:waypoint xsi:type="dc:Point" x="1794.0" y="668.0"/>\r
499         <di:waypoint xsi:type="dc:Point" x="1794.0" y="819.0"/>\r
500         <bpmndi:BPMNLabel>\r
501           <dc:Bounds height="6.0" width="6.0" x="1791.0" y="617.0"/>\r
502         </bpmndi:BPMNLabel>\r
503       </bpmndi:BPMNEdge>\r
504       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_34" bpmnElement="preProcessRequest">\r
505         <dc:Bounds height="80.0" width="100.0" x="324.0" y="805.0"/>\r
506       </bpmndi:BPMNShape>\r
507       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_34" targetElement="_BPMNShape_ExclusiveGateway_59">\r
508         <di:waypoint xsi:type="dc:Point" x="424.0" y="845.0"/>\r
509         <di:waypoint xsi:type="dc:Point" x="470.0" y="844.0"/>\r
510         <bpmndi:BPMNLabel>\r
511           <dc:Bounds height="6.0" width="6.0" x="433.0" y="845.0"/>\r
512         </bpmndi:BPMNLabel>\r
513       </bpmndi:BPMNEdge>\r
514       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_StartEvent_41" targetElement="_BPMNShape_ScriptTask_34">\r
515         <di:waypoint xsi:type="dc:Point" x="192.0" y="845.0"/>\r
516         <di:waypoint xsi:type="dc:Point" x="324.0" y="845.0"/>\r
517         <bpmndi:BPMNLabel>\r
518           <dc:Bounds height="6.0" width="6.0" x="221.0" y="845.0"/>\r
519         </bpmndi:BPMNLabel>\r
520       </bpmndi:BPMNEdge>\r
521       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_60" bpmnElement="ExclusiveGateway_3" isMarkerVisible="true">\r
522         <dc:Bounds height="50.0" width="50.0" x="734.0" y="1068.0"/>\r
523         <bpmndi:BPMNLabel>\r
524           <dc:Bounds height="22.0" width="100.0" x="782.0" y="1083.0"/>\r
525         </bpmndi:BPMNLabel>\r
526       </bpmndi:BPMNShape>\r
527       <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_9" bpmnElement="ParallelGateway_7" isMarkerVisible="true">\r
528         <dc:Bounds height="50.0" width="50.0" x="1214.0" y="1068.0"/>\r
529         <bpmndi:BPMNLabel>\r
530           <dc:Bounds height="0.0" width="0.0" x="1239.0" y="1123.0"/>\r
531         </bpmndi:BPMNLabel>\r
532       </bpmndi:BPMNShape>\r
533       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_41" bpmnElement="SequenceFlow_39" sourceElement="_BPMNShape_ParallelGateway_9" targetElement="_BPMNShape_ParallelGateway_7">\r
534         <di:waypoint xsi:type="dc:Point" x="1264.0" y="1093.0"/>\r
535         <di:waypoint xsi:type="dc:Point" x="1794.0" y="1093.0"/>\r
536         <di:waypoint xsi:type="dc:Point" x="1794.0" y="869.0"/>\r
537         <bpmndi:BPMNLabel>\r
538           <dc:Bounds height="6.0" width="6.0" x="1688.0" y="1149.0"/>\r
539         </bpmndi:BPMNLabel>\r
540       </bpmndi:BPMNEdge>\r
541       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_42" bpmnElement="SequenceFlow_40" sourceElement="_BPMNShape_ParallelGateway_4" targetElement="_BPMNShape_ParallelGateway_6">\r
542         <di:waypoint xsi:type="dc:Point" x="601.0" y="693.0"/>\r
543         <di:waypoint xsi:type="dc:Point" x="601.0" y="813.0"/>\r
544         <di:waypoint xsi:type="dc:Point" x="1187.0" y="813.0"/>\r
545         <di:waypoint xsi:type="dc:Point" x="1681.0" y="813.0"/>\r
546         <di:waypoint xsi:type="dc:Point" x="1681.0" y="693.0"/>\r
547         <bpmndi:BPMNLabel>\r
548           <dc:Bounds height="22.0" width="22.0" x="604.0" y="737.0"/>\r
549         </bpmndi:BPMNLabel>\r
550       </bpmndi:BPMNEdge>\r
551       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_51" bpmnElement="updateInfraRequest">\r
552         <dc:Bounds height="80.0" width="100.0" x="973.0" y="1144.0"/>\r
553       </bpmndi:BPMNShape>\r
554       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_52" bpmnElement="updateDBStatus">\r
555         <dc:Bounds height="80.0" width="100.0" x="970.0" y="963.0"/>\r
556       </bpmndi:BPMNShape>\r
557       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_47" bpmnElement="SequenceFlow_45" sourceElement="_BPMNShape_ExclusiveGateway_59" targetElement="_BPMNShape_ParallelGateway_4">\r
558         <di:waypoint xsi:type="dc:Point" x="495.0" y="819.0"/>\r
559         <di:waypoint xsi:type="dc:Point" x="495.0" y="668.0"/>\r
560         <di:waypoint xsi:type="dc:Point" x="576.0" y="668.0"/>\r
561         <bpmndi:BPMNLabel>\r
562           <dc:Bounds height="6.0" width="6.0" x="492.0" y="973.0"/>\r
563         </bpmndi:BPMNLabel>\r
564       </bpmndi:BPMNEdge>\r
565       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_64" bpmnElement="prepareUpdateRequest">\r
566         <dc:Bounds height="80.0" width="100.0" x="822.0" y="963.0"/>\r
567       </bpmndi:BPMNShape>\r
568       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_48" bpmnElement="SequenceFlow_46" sourceElement="_BPMNShape_ExclusiveGateway_59" targetElement="_BPMNShape_ExclusiveGateway_60">\r
569         <di:waypoint xsi:type="dc:Point" x="495.0" y="869.0"/>\r
570         <di:waypoint xsi:type="dc:Point" x="495.0" y="1093.0"/>\r
571         <di:waypoint xsi:type="dc:Point" x="734.0" y="1093.0"/>\r
572         <bpmndi:BPMNLabel>\r
573           <dc:Bounds height="6.0" width="6.0" x="492.0" y="990.0"/>\r
574         </bpmndi:BPMNLabel>\r
575       </bpmndi:BPMNEdge>\r
576       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_50" bpmnElement="SequenceFlow_49" sourceElement="_BPMNShape_ScriptTask_64" targetElement="_BPMNShape_ScriptTask_52">\r
577         <di:waypoint xsi:type="dc:Point" x="922.0" y="1003.0"/>\r
578         <di:waypoint xsi:type="dc:Point" x="970.0" y="1003.0"/>\r
579         <bpmndi:BPMNLabel>\r
580           <dc:Bounds height="6.0" width="6.0" x="937.0" y="1003.0"/>\r
581         </bpmndi:BPMNLabel>\r
582       </bpmndi:BPMNEdge>\r
583       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_73" bpmnElement="setdeliverysuccessstatustofalse">\r
584         <dc:Bounds height="80.0" width="100.0" x="959.0" y="253.0"/>\r
585       </bpmndi:BPMNShape>\r
586       <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_11" bpmnElement="ParallelGateway_9">\r
587         <dc:Bounds height="50.0" width="50.0" x="1200.0" y="506.0"/>\r
588         <bpmndi:BPMNLabel>\r
589           <dc:Bounds height="0.0" width="0.0" x="1225.0" y="561.0"/>\r
590         </bpmndi:BPMNLabel>\r
591       </bpmndi:BPMNShape>\r
592       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_71" bpmnElement="SequenceFlow_70" sourceElement="_BPMNShape_ParallelGateway_11" targetElement="_BPMNShape_ScriptTask_326">\r
593         <di:waypoint xsi:type="dc:Point" x="1250.0" y="531.0"/>\r
594         <di:waypoint xsi:type="dc:Point" x="1284.0" y="532.0"/>\r
595         <bpmndi:BPMNLabel>\r
596           <dc:Bounds height="6.0" width="6.0" x="1109.0" y="531.0"/>\r
597         </bpmndi:BPMNLabel>\r
598       </bpmndi:BPMNEdge>\r
599       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_73" bpmnElement="SequenceFlow_72" sourceElement="_BPMNShape_ExclusiveGateway_60" targetElement="_BPMNShape_ScriptTask_88">\r
600         <di:waypoint xsi:type="dc:Point" x="759.0" y="1118.0"/>\r
601         <di:waypoint xsi:type="dc:Point" x="759.0" y="1184.0"/>\r
602         <di:waypoint xsi:type="dc:Point" x="822.0" y="1184.0"/>\r
603         <bpmndi:BPMNLabel>\r
604           <dc:Bounds height="22.0" width="22.0" x="761.0" y="1141.0"/>\r
605         </bpmndi:BPMNLabel>\r
606       </bpmndi:BPMNEdge>\r
607       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_82" bpmnElement="SequenceFlow_81" sourceElement="_BPMNShape_ExclusiveGateway_60" targetElement="_BPMNShape_ScriptTask_64">\r
608         <di:waypoint xsi:type="dc:Point" x="759.0" y="1068.0"/>\r
609         <di:waypoint xsi:type="dc:Point" x="759.0" y="1003.0"/>\r
610         <di:waypoint xsi:type="dc:Point" x="822.0" y="1003.0"/>\r
611         <bpmndi:BPMNLabel>\r
612           <dc:Bounds height="22.0" width="29.0" x="758.0" y="1022.0"/>\r
613         </bpmndi:BPMNLabel>\r
614       </bpmndi:BPMNEdge>\r
615       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_88" bpmnElement="SequenceFlow_87" sourceElement="_BPMNShape_ExclusiveGateway_55" targetElement="_BPMNShape_ServiceTask_82">\r
616         <di:waypoint xsi:type="dc:Point" x="687.0" y="556.0"/>\r
617         <di:waypoint xsi:type="dc:Point" x="687.0" y="617.0"/>\r
618         <di:waypoint xsi:type="dc:Point" x="820.0" y="617.0"/>\r
619         <bpmndi:BPMNLabel>\r
620           <dc:Bounds height="6.0" width="6.0" x="686.0" y="573.0"/>\r
621         </bpmndi:BPMNLabel>\r
622       </bpmndi:BPMNEdge>\r
623       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_13" bpmnElement="subProcessExceptionCompleteMSO" isExpanded="true">\r
624         <dc:Bounds height="169.0" width="427.0" x="264.0" y="1388.0"/>\r
625       </bpmndi:BPMNShape>\r
626       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_110" bpmnElement="endEventExceptionCompleteMSO">\r
627         <dc:Bounds height="36.0" width="36.0" x="564.0" y="1455.0"/>\r
628         <bpmndi:BPMNLabel>\r
629           <dc:Bounds height="0.0" width="0.0" x="582.0" y="1496.0"/>\r
630         </bpmndi:BPMNLabel>\r
631       </bpmndi:BPMNShape>\r
632       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_51" bpmnElement="startEventExceptionCompleteMSO">\r
633         <dc:Bounds height="36.0" width="36.0" x="360.0" y="1455.0"/>\r
634         <bpmndi:BPMNLabel>\r
635           <dc:Bounds height="0.0" width="0.0" x="378.0" y="1496.0"/>\r
636         </bpmndi:BPMNLabel>\r
637       </bpmndi:BPMNShape>\r
638       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_63" bpmnElement="ExclusiveGateway_7" isMarkerVisible="true">\r
639         <dc:Bounds height="50.0" width="50.0" x="1132.0" y="1158.0"/>\r
640         <bpmndi:BPMNLabel>\r
641           <dc:Bounds height="0.0" width="0.0" x="1157.0" y="1213.0"/>\r
642         </bpmndi:BPMNLabel>\r
643       </bpmndi:BPMNShape>\r
644       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_51" targetElement="_BPMNShape_ExclusiveGateway_63">\r
645         <di:waypoint xsi:type="dc:Point" x="1073.0" y="1184.0"/>\r
646         <di:waypoint xsi:type="dc:Point" x="1132.0" y="1183.0"/>\r
647         <bpmndi:BPMNLabel>\r
648           <dc:Bounds height="6.0" width="6.0" x="1255.0" y="1227.0"/>\r
649         </bpmndi:BPMNLabel>\r
650       </bpmndi:BPMNEdge>\r
651       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ExclusiveGateway_63" targetElement="_BPMNShape_ParallelGateway_9">\r
652         <di:waypoint xsi:type="dc:Point" x="1182.0" y="1183.0"/>\r
653         <di:waypoint xsi:type="dc:Point" x="1239.0" y="1183.0"/>\r
654         <di:waypoint xsi:type="dc:Point" x="1239.0" y="1118.0"/>\r
655         <bpmndi:BPMNLabel>\r
656           <dc:Bounds height="0.0" width="0.0" x="1158.0" y="1141.0"/>\r
657         </bpmndi:BPMNLabel>\r
658       </bpmndi:BPMNEdge>\r
659       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_111" bpmnElement="EndEvent_4">\r
660         <dc:Bounds height="36.0" width="36.0" x="1269.0" y="1271.0"/>\r
661         <bpmndi:BPMNLabel>\r
662           <dc:Bounds height="0.0" width="0.0" x="1287.0" y="1312.0"/>\r
663         </bpmndi:BPMNLabel>\r
664       </bpmndi:BPMNShape>\r
665       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_76" bpmnElement="BuildErrorMessage">\r
666         <dc:Bounds height="80.0" width="100.0" x="1108.0" y="1249.0"/>\r
667       </bpmndi:BPMNShape>\r
668       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_ExclusiveGateway_63" targetElement="_BPMNShape_ScriptTask_76">\r
669         <di:waypoint xsi:type="dc:Point" x="1157.0" y="1208.0"/>\r
670         <di:waypoint xsi:type="dc:Point" x="1158.0" y="1249.0"/>\r
671         <bpmndi:BPMNLabel>\r
672           <dc:Bounds height="6.0" width="6.0" x="1199.0" y="1035.0"/>\r
673         </bpmndi:BPMNLabel>\r
674       </bpmndi:BPMNEdge>\r
675       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_ScriptTask_76" targetElement="_BPMNShape_EndEvent_111">\r
676         <di:waypoint xsi:type="dc:Point" x="1208.0" y="1289.0"/>\r
677         <di:waypoint xsi:type="dc:Point" x="1269.0" y="1289.0"/>\r
678         <bpmndi:BPMNLabel>\r
679           <dc:Bounds height="6.0" width="6.0" x="1236.0" y="1289.0"/>\r
680         </bpmndi:BPMNLabel>\r
681       </bpmndi:BPMNEdge>\r
682       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_77" bpmnElement="Done">\r
683         <dc:Bounds height="80.0" width="100.0" x="1860.0" y="805.0"/>\r
684       </bpmndi:BPMNShape>\r
685       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_66" bpmnElement="ExclusiveGateway_10" isMarkerVisible="true">\r
686         <dc:Bounds height="50.0" width="50.0" x="1132.0" y="977.0"/>\r
687         <bpmndi:BPMNLabel>\r
688           <dc:Bounds height="0.0" width="0.0" x="1157.0" y="1032.0"/>\r
689         </bpmndi:BPMNLabel>\r
690       </bpmndi:BPMNShape>\r
691       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_23" bpmnElement="SequenceFlow_23" sourceElement="_BPMNShape_ScriptTask_52" targetElement="_BPMNShape_ExclusiveGateway_66">\r
692         <di:waypoint xsi:type="dc:Point" x="1070.0" y="1003.0"/>\r
693         <di:waypoint xsi:type="dc:Point" x="1132.0" y="1002.0"/>\r
694         <bpmndi:BPMNLabel>\r
695           <dc:Bounds height="6.0" width="6.0" x="1261.0" y="1003.0"/>\r
696         </bpmndi:BPMNLabel>\r
697       </bpmndi:BPMNEdge>\r
698       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_25" bpmnElement="SequenceFlow_24" sourceElement="_BPMNShape_ExclusiveGateway_66" targetElement="_BPMNShape_ParallelGateway_9">\r
699         <di:waypoint xsi:type="dc:Point" x="1182.0" y="1002.0"/>\r
700         <di:waypoint xsi:type="dc:Point" x="1239.0" y="1002.0"/>\r
701         <di:waypoint xsi:type="dc:Point" x="1239.0" y="1068.0"/>\r
702         <bpmndi:BPMNLabel>\r
703           <dc:Bounds height="6.0" width="6.0" x="1348.0" y="1003.0"/>\r
704         </bpmndi:BPMNLabel>\r
705       </bpmndi:BPMNEdge>\r
706       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_79" bpmnElement="BuildErrorMessage1">\r
707         <dc:Bounds height="80.0" width="100.0" x="1108.0" y="856.0"/>\r
708       </bpmndi:BPMNShape>\r
709       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_26" bpmnElement="SequenceFlow_25" sourceElement="_BPMNShape_ExclusiveGateway_66" targetElement="_BPMNShape_ScriptTask_79">\r
710         <di:waypoint xsi:type="dc:Point" x="1157.0" y="977.0"/>\r
711         <di:waypoint xsi:type="dc:Point" x="1158.0" y="936.0"/>\r
712         <bpmndi:BPMNLabel>\r
713           <dc:Bounds height="6.0" width="6.0" x="1242.0" y="957.0"/>\r
714         </bpmndi:BPMNLabel>\r
715       </bpmndi:BPMNEdge>\r
716       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_113" bpmnElement="EndEvent_5">\r
717         <dc:Bounds height="36.0" width="36.0" x="1269.0" y="878.0"/>\r
718         <bpmndi:BPMNLabel>\r
719           <dc:Bounds height="0.0" width="0.0" x="1287.0" y="919.0"/>\r
720         </bpmndi:BPMNLabel>\r
721       </bpmndi:BPMNShape>\r
722       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_34" bpmnElement="SequenceFlow_33" sourceElement="_BPMNShape_ParallelGateway_7" targetElement="_BPMNShape_ScriptTask_77">\r
723         <di:waypoint xsi:type="dc:Point" x="1819.0" y="844.0"/>\r
724         <di:waypoint xsi:type="dc:Point" x="1860.0" y="845.0"/>\r
725         <bpmndi:BPMNLabel>\r
726           <dc:Bounds height="6.0" width="6.0" x="1806.0" y="845.0"/>\r
727         </bpmndi:BPMNLabel>\r
728       </bpmndi:BPMNEdge>\r
729       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_71" bpmnElement="ExclusiveGateway_15" isMarkerVisible="true">\r
730         <dc:Bounds height="50.0" width="50.0" x="1571.0" y="506.0"/>\r
731         <bpmndi:BPMNLabel>\r
732           <dc:Bounds height="0.0" width="0.0" x="1596.0" y="561.0"/>\r
733         </bpmndi:BPMNLabel>\r
734       </bpmndi:BPMNShape>\r
735       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_54" bpmnElement="SequenceFlow_53" sourceElement="_BPMNShape_ServiceTask_86" targetElement="_BPMNShape_ExclusiveGateway_71">\r
736         <di:waypoint xsi:type="dc:Point" x="1525.0" y="532.0"/>\r
737         <di:waypoint xsi:type="dc:Point" x="1571.0" y="531.0"/>\r
738         <bpmndi:BPMNLabel>\r
739           <dc:Bounds height="6.0" width="6.0" x="1544.0" y="532.0"/>\r
740         </bpmndi:BPMNLabel>\r
741       </bpmndi:BPMNEdge>\r
742       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_55" bpmnElement="SequenceFlow_54" sourceElement="_BPMNShape_ExclusiveGateway_71" targetElement="_BPMNShape_ParallelGateway_6">\r
743         <di:waypoint xsi:type="dc:Point" x="1621.0" y="531.0"/>\r
744         <di:waypoint xsi:type="dc:Point" x="1681.0" y="531.0"/>\r
745         <di:waypoint xsi:type="dc:Point" x="1681.0" y="643.0"/>\r
746         <bpmndi:BPMNLabel>\r
747           <dc:Bounds height="6.0" width="6.0" x="1463.0" y="531.0"/>\r
748         </bpmndi:BPMNLabel>\r
749       </bpmndi:BPMNEdge>\r
750       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_83" bpmnElement="ScriptTask_6">\r
751         <dc:Bounds height="80.0" width="100.0" x="1546.0" y="381.0"/>\r
752       </bpmndi:BPMNShape>\r
753       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_59" bpmnElement="SequenceFlow_58" sourceElement="_BPMNShape_ExclusiveGateway_71" targetElement="_BPMNShape_ScriptTask_83">\r
754         <di:waypoint xsi:type="dc:Point" x="1596.0" y="506.0"/>\r
755         <di:waypoint xsi:type="dc:Point" x="1596.0" y="461.0"/>\r
756         <bpmndi:BPMNLabel>\r
757           <dc:Bounds height="6.0" width="6.0" x="1574.0" y="484.0"/>\r
758         </bpmndi:BPMNLabel>\r
759       </bpmndi:BPMNEdge>\r
760       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_118" bpmnElement="EndEvent_10">\r
761         <dc:Bounds height="36.0" width="36.0" x="1684.0" y="403.0"/>\r
762         <bpmndi:BPMNLabel>\r
763           <dc:Bounds height="0.0" width="0.0" x="1702.0" y="444.0"/>\r
764         </bpmndi:BPMNLabel>\r
765       </bpmndi:BPMNShape>\r
766       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_60" bpmnElement="SequenceFlow_59" sourceElement="_BPMNShape_ScriptTask_83" targetElement="_BPMNShape_EndEvent_118">\r
767         <di:waypoint xsi:type="dc:Point" x="1646.0" y="421.0"/>\r
768         <di:waypoint xsi:type="dc:Point" x="1684.0" y="421.0"/>\r
769         <bpmndi:BPMNLabel>\r
770           <dc:Bounds height="6.0" width="6.0" x="1476.0" y="421.0"/>\r
771         </bpmndi:BPMNLabel>\r
772       </bpmndi:BPMNEdge>\r
773       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_72" bpmnElement="ExclusiveGateway_16" isMarkerVisible="true">\r
774         <dc:Bounds height="50.0" width="50.0" x="967.0" y="591.0"/>\r
775         <bpmndi:BPMNLabel>\r
776           <dc:Bounds height="0.0" width="0.0" x="992.0" y="646.0"/>\r
777         </bpmndi:BPMNLabel>\r
778       </bpmndi:BPMNShape>\r
779       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_61" bpmnElement="SequenceFlow_60" sourceElement="_BPMNShape_ServiceTask_82" targetElement="_BPMNShape_ExclusiveGateway_72">\r
780         <di:waypoint xsi:type="dc:Point" x="920.0" y="617.0"/>\r
781         <di:waypoint xsi:type="dc:Point" x="967.0" y="616.0"/>\r
782         <bpmndi:BPMNLabel>\r
783           <dc:Bounds height="6.0" width="6.0" x="937.0" y="617.0"/>\r
784         </bpmndi:BPMNLabel>\r
785       </bpmndi:BPMNEdge>\r
786       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_84" bpmnElement="ScriptTask_7">\r
787         <dc:Bounds height="80.0" width="100.0" x="943.0" y="681.0"/>\r
788       </bpmndi:BPMNShape>\r
789       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_62" bpmnElement="SequenceFlow_61" sourceElement="_BPMNShape_ExclusiveGateway_72" targetElement="_BPMNShape_ScriptTask_84">\r
790         <di:waypoint xsi:type="dc:Point" x="992.0" y="641.0"/>\r
791         <di:waypoint xsi:type="dc:Point" x="992.0" y="666.0"/>\r
792         <di:waypoint xsi:type="dc:Point" x="993.0" y="666.0"/>\r
793         <di:waypoint xsi:type="dc:Point" x="993.0" y="681.0"/>\r
794         <bpmndi:BPMNLabel>\r
795           <dc:Bounds height="6.0" width="6.0" x="1006.0" y="638.0"/>\r
796         </bpmndi:BPMNLabel>\r
797       </bpmndi:BPMNEdge>\r
798       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_119" bpmnElement="EndEvent_11">\r
799         <dc:Bounds height="36.0" width="36.0" x="1081.0" y="703.0"/>\r
800         <bpmndi:BPMNLabel>\r
801           <dc:Bounds height="0.0" width="0.0" x="1099.0" y="744.0"/>\r
802         </bpmndi:BPMNLabel>\r
803       </bpmndi:BPMNShape>\r
804       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_63" bpmnElement="SequenceFlow_62" sourceElement="_BPMNShape_ScriptTask_84" targetElement="_BPMNShape_EndEvent_119">\r
805         <di:waypoint xsi:type="dc:Point" x="1043.0" y="721.0"/>\r
806         <di:waypoint xsi:type="dc:Point" x="1081.0" y="721.0"/>\r
807         <bpmndi:BPMNLabel>\r
808           <dc:Bounds height="6.0" width="6.0" x="990.0" y="704.0"/>\r
809         </bpmndi:BPMNLabel>\r
810       </bpmndi:BPMNEdge>\r
811       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_64" bpmnElement="SequenceFlow_63" sourceElement="_BPMNShape_ExclusiveGateway_72" targetElement="_BPMNShape_ParallelGateway_11">\r
812         <di:waypoint xsi:type="dc:Point" x="1017.0" y="616.0"/>\r
813         <di:waypoint xsi:type="dc:Point" x="1225.0" y="616.0"/>\r
814         <di:waypoint xsi:type="dc:Point" x="1225.0" y="556.0"/>\r
815         <bpmndi:BPMNLabel>\r
816           <dc:Bounds height="6.0" width="6.0" x="963.0" y="617.0"/>\r
817         </bpmndi:BPMNLabel>\r
818       </bpmndi:BPMNEdge>\r
819       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_66" bpmnElement="SequenceFlow_65" sourceElement="_BPMNShape_ServiceTask_81" targetElement="_BPMNShape_ScriptTask_73">\r
820         <di:waypoint xsi:type="dc:Point" x="920.0" y="293.0"/>\r
821         <di:waypoint xsi:type="dc:Point" x="959.0" y="293.0"/>\r
822         <bpmndi:BPMNLabel>\r
823           <dc:Bounds height="6.0" width="6.0" x="941.0" y="343.0"/>\r
824         </bpmndi:BPMNLabel>\r
825       </bpmndi:BPMNEdge>\r
826       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_74" bpmnElement="SequenceFlow_73" sourceElement="_BPMNShape_ExclusiveGateway_55" targetElement="_BPMNShape_ExclusiveGateway_85">\r
827         <di:waypoint xsi:type="dc:Point" x="687.0" y="506.0"/>\r
828         <di:waypoint xsi:type="dc:Point" x="687.0" y="397.0"/>\r
829         <di:waypoint xsi:type="dc:Point" x="742.0" y="397.0"/>\r
830         <bpmndi:BPMNLabel>\r
831           <dc:Bounds height="6.0" width="6.0" x="765.0" y="515.0"/>\r
832         </bpmndi:BPMNLabel>\r
833       </bpmndi:BPMNEdge>\r
834       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_93" bpmnElement="SequenceFlow_92" sourceElement="_BPMNShape_ScriptTask_73" targetElement="_BPMNShape_ExclusiveGateway_86">\r
835         <di:waypoint xsi:type="dc:Point" x="1059.0" y="293.0"/>\r
836         <di:waypoint xsi:type="dc:Point" x="1132.0" y="293.0"/>\r
837         <di:waypoint xsi:type="dc:Point" x="1132.0" y="372.0"/>\r
838         <bpmndi:BPMNLabel>\r
839           <dc:Bounds height="6.0" width="6.0" x="1137.0" y="346.0"/>\r
840         </bpmndi:BPMNLabel>\r
841       </bpmndi:BPMNEdge>\r
842       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_13" sourceElement="_BPMNShape_ScriptTask_79" targetElement="_BPMNShape_EndEvent_113">\r
843         <di:waypoint xsi:type="dc:Point" x="1208.0" y="896.0"/>\r
844         <di:waypoint xsi:type="dc:Point" x="1269.0" y="896.0"/>\r
845         <bpmndi:BPMNLabel>\r
846           <dc:Bounds height="6.0" width="6.0" x="1225.0" y="896.0"/>\r
847         </bpmndi:BPMNLabel>\r
848       </bpmndi:BPMNEdge>\r
849       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_85" bpmnElement="ExclusiveGateway_11" isMarkerVisible="true">\r
850         <dc:Bounds height="50.0" width="50.0" x="742.0" y="372.0"/>\r
851         <bpmndi:BPMNLabel>\r
852           <dc:Bounds height="22.0" width="86.0" x="789.0" y="394.0"/>\r
853         </bpmndi:BPMNLabel>\r
854       </bpmndi:BPMNShape>\r
855       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_ExclusiveGateway_85" targetElement="_BPMNShape_ServiceTask_81">\r
856         <di:waypoint xsi:type="dc:Point" x="767.0" y="372.0"/>\r
857         <di:waypoint xsi:type="dc:Point" x="768.0" y="293.0"/>\r
858         <di:waypoint xsi:type="dc:Point" x="820.0" y="293.0"/>\r
859         <bpmndi:BPMNLabel>\r
860           <dc:Bounds height="22.0" width="29.0" x="771.0" y="335.0"/>\r
861         </bpmndi:BPMNLabel>\r
862       </bpmndi:BPMNEdge>\r
863       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_86" bpmnElement="ExclusiveGateway_17" isMarkerVisible="true">\r
864         <dc:Bounds height="50.0" width="50.0" x="1107.0" y="372.0"/>\r
865         <bpmndi:BPMNLabel>\r
866           <dc:Bounds height="0.0" width="0.0" x="1132.0" y="427.0"/>\r
867         </bpmndi:BPMNLabel>\r
868       </bpmndi:BPMNShape>\r
869       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_16" bpmnElement="SequenceFlow_15" sourceElement="_BPMNShape_ExclusiveGateway_86" targetElement="_BPMNShape_ParallelGateway_11">\r
870         <di:waypoint xsi:type="dc:Point" x="1157.0" y="397.0"/>\r
871         <di:waypoint xsi:type="dc:Point" x="1225.0" y="397.0"/>\r
872         <di:waypoint xsi:type="dc:Point" x="1225.0" y="506.0"/>\r
873         <bpmndi:BPMNLabel>\r
874           <dc:Bounds height="6.0" width="6.0" x="1210.0" y="475.0"/>\r
875         </bpmndi:BPMNLabel>\r
876       </bpmndi:BPMNEdge>\r
877       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="SequenceFlow_16" sourceElement="_BPMNShape_ExclusiveGateway_85" targetElement="_BPMNShape_ServiceTask_94">\r
878         <di:waypoint xsi:type="dc:Point" x="767.0" y="422.0"/>\r
879         <di:waypoint xsi:type="dc:Point" x="768.0" y="487.0"/>\r
880         <di:waypoint xsi:type="dc:Point" x="820.0" y="487.0"/>\r
881         <bpmndi:BPMNLabel>\r
882           <dc:Bounds height="22.0" width="22.0" x="774.0" y="443.0"/>\r
883         </bpmndi:BPMNLabel>\r
884       </bpmndi:BPMNEdge>\r
885       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_94" bpmnElement="ServiceTask_1">\r
886         <dc:Bounds height="80.0" width="100.0" x="820.0" y="447.0"/>\r
887       </bpmndi:BPMNShape>\r
888       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_20" sourceElement="_BPMNShape_ServiceTask_94" targetElement="_BPMNShape_ScriptTask_86">\r
889         <di:waypoint xsi:type="dc:Point" x="920.0" y="487.0"/>\r
890         <di:waypoint xsi:type="dc:Point" x="959.0" y="487.0"/>\r
891         <bpmndi:BPMNLabel>\r
892           <dc:Bounds height="6.0" width="6.0" x="933.0" y="487.0"/>\r
893         </bpmndi:BPMNLabel>\r
894       </bpmndi:BPMNEdge>\r
895       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_86" bpmnElement="ScriptTask_1">\r
896         <dc:Bounds height="80.0" width="100.0" x="959.0" y="447.0"/>\r
897       </bpmndi:BPMNShape>\r
898       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_30" bpmnElement="SequenceFlow_29" sourceElement="_BPMNShape_ScriptTask_86" targetElement="_BPMNShape_ExclusiveGateway_86">\r
899         <di:waypoint xsi:type="dc:Point" x="1059.0" y="487.0"/>\r
900         <di:waypoint xsi:type="dc:Point" x="1132.0" y="487.0"/>\r
901         <di:waypoint xsi:type="dc:Point" x="1132.0" y="422.0"/>\r
902         <bpmndi:BPMNLabel>\r
903           <dc:Bounds height="6.0" width="6.0" x="1072.0" y="507.0"/>\r
904         </bpmndi:BPMNLabel>\r
905       </bpmndi:BPMNEdge>\r
906       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_128" bpmnElement="EndEvent_1">\r
907         <dc:Bounds height="36.0" width="36.0" x="2077.0" y="827.0"/>\r
908         <bpmndi:BPMNLabel>\r
909           <dc:Bounds height="0.0" width="0.0" x="2095.0" y="868.0"/>\r
910         </bpmndi:BPMNLabel>\r
911       </bpmndi:BPMNShape>\r
912       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_17" sourceElement="_BPMNShape_ScriptTask_77" targetElement="_BPMNShape_EndEvent_128">\r
913         <di:waypoint xsi:type="dc:Point" x="1960.0" y="845.0"/>\r
914         <di:waypoint xsi:type="dc:Point" x="2077.0" y="845.0"/>\r
915         <bpmndi:BPMNLabel>\r
916           <dc:Bounds height="6.0" width="6.0" x="1982.0" y="845.0"/>\r
917         </bpmndi:BPMNLabel>\r
918       </bpmndi:BPMNEdge>\r
919       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_23" bpmnElement="BoundaryEvent_1">\r
920         <dc:Bounds height="36.0" width="36.0" x="1458.0" y="474.0"/>\r
921         <bpmndi:BPMNLabel>\r
922           <dc:Bounds height="6.0" width="6.0" x="1473.0" y="515.0"/>\r
923         </bpmndi:BPMNLabel>\r
924       </bpmndi:BPMNShape>\r
925       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_25" bpmnElement="BoundaryEvent_3">\r
926         <dc:Bounds height="36.0" width="36.0" x="851.0" y="639.0"/>\r
927         <bpmndi:BPMNLabel>\r
928           <dc:Bounds height="6.0" width="6.0" x="866.0" y="680.0"/>\r
929         </bpmndi:BPMNLabel>\r
930       </bpmndi:BPMNShape>\r
931       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_28" bpmnElement="BoundaryEvent_6">\r
932         <dc:Bounds height="36.0" width="36.0" x="1001.0" y="945.0"/>\r
933         <bpmndi:BPMNLabel>\r
934           <dc:Bounds height="6.0" width="6.0" x="1016.0" y="986.0"/>\r
935         </bpmndi:BPMNLabel>\r
936       </bpmndi:BPMNShape>\r
937       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_29" bpmnElement="BoundaryEvent_7">\r
938         <dc:Bounds height="36.0" width="36.0" x="1002.0" y="1206.0"/>\r
939         <bpmndi:BPMNLabel>\r
940           <dc:Bounds height="6.0" width="6.0" x="1292.0" y="1088.0"/>\r
941         </bpmndi:BPMNLabel>\r
942       </bpmndi:BPMNShape>\r
943       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_215" bpmnElement="EndEvent_2">\r
944         <dc:Bounds height="36.0" width="36.0" x="851.0" y="708.0"/>\r
945         <bpmndi:BPMNLabel>\r
946           <dc:Bounds height="0.0" width="0.0" x="869.0" y="749.0"/>\r
947         </bpmndi:BPMNLabel>\r
948       </bpmndi:BPMNShape>\r
949       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_BoundaryEvent_25" targetElement="_BPMNShape_EndEvent_215">\r
950         <di:waypoint xsi:type="dc:Point" x="869.0" y="675.0"/>\r
951         <di:waypoint xsi:type="dc:Point" x="869.0" y="708.0"/>\r
952         <bpmndi:BPMNLabel>\r
953           <dc:Bounds height="6.0" width="6.0" x="866.0" y="684.0"/>\r
954         </bpmndi:BPMNLabel>\r
955       </bpmndi:BPMNEdge>\r
956       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_218" bpmnElement="EndEvent_12">\r
957         <dc:Bounds height="36.0" width="36.0" x="1001.0" y="864.0"/>\r
958         <bpmndi:BPMNLabel>\r
959           <dc:Bounds height="0.0" width="0.0" x="1019.0" y="905.0"/>\r
960         </bpmndi:BPMNLabel>\r
961       </bpmndi:BPMNShape>\r
962       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_BoundaryEvent_28" targetElement="_BPMNShape_EndEvent_218">\r
963         <di:waypoint xsi:type="dc:Point" x="1019.0" y="945.0"/>\r
964         <di:waypoint xsi:type="dc:Point" x="1019.0" y="900.0"/>\r
965         <bpmndi:BPMNLabel>\r
966           <dc:Bounds height="6.0" width="6.0" x="1180.0" y="927.0"/>\r
967         </bpmndi:BPMNLabel>\r
968       </bpmndi:BPMNEdge>\r
969       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_219" bpmnElement="EndEvent_13">\r
970         <dc:Bounds height="36.0" width="36.0" x="1002.0" y="1292.0"/>\r
971         <bpmndi:BPMNLabel>\r
972           <dc:Bounds height="0.0" width="0.0" x="1020.0" y="1333.0"/>\r
973         </bpmndi:BPMNLabel>\r
974       </bpmndi:BPMNShape>\r
975       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_22" bpmnElement="SequenceFlow_21" sourceElement="_BPMNShape_BoundaryEvent_29" targetElement="_BPMNShape_EndEvent_219">\r
976         <di:waypoint xsi:type="dc:Point" x="1020.0" y="1242.0"/>\r
977         <di:waypoint xsi:type="dc:Point" x="1020.0" y="1292.0"/>\r
978         <bpmndi:BPMNLabel>\r
979           <dc:Bounds height="6.0" width="6.0" x="847.0" y="747.0"/>\r
980         </bpmndi:BPMNLabel>\r
981       </bpmndi:BPMNEdge>\r
982       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_220" bpmnElement="EndEvent_14">\r
983         <dc:Bounds height="36.0" width="36.0" x="1458.0" y="395.0"/>\r
984         <bpmndi:BPMNLabel>\r
985           <dc:Bounds height="0.0" width="0.0" x="1476.0" y="436.0"/>\r
986         </bpmndi:BPMNLabel>\r
987       </bpmndi:BPMNShape>\r
988       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_46" bpmnElement="SequenceFlow_44" sourceElement="_BPMNShape_BoundaryEvent_23" targetElement="_BPMNShape_EndEvent_220">\r
989         <di:waypoint xsi:type="dc:Point" x="1476.0" y="474.0"/>\r
990         <di:waypoint xsi:type="dc:Point" x="1476.0" y="431.0"/>\r
991         <bpmndi:BPMNLabel>\r
992           <dc:Bounds height="6.0" width="6.0" x="1369.0" y="474.0"/>\r
993         </bpmndi:BPMNLabel>\r
994       </bpmndi:BPMNEdge>\r
995       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_88" bpmnElement="ScriptTask_3">\r
996         <dc:Bounds height="80.0" width="100.0" x="822.0" y="1144.0"/>\r
997       </bpmndi:BPMNShape>\r
998       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_ScriptTask_88" targetElement="_BPMNShape_ScriptTask_51">\r
999         <di:waypoint xsi:type="dc:Point" x="922.0" y="1184.0"/>\r
1000         <di:waypoint xsi:type="dc:Point" x="973.0" y="1184.0"/>\r
1001         <bpmndi:BPMNLabel>\r
1002           <dc:Bounds height="6.0" width="6.0" x="939.0" y="1208.0"/>\r
1003         </bpmndi:BPMNLabel>\r
1004       </bpmndi:BPMNEdge>\r
1005       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_326" bpmnElement="prepareUpdateFinalAckStatus">\r
1006         <dc:Bounds height="80.0" width="100.0" x="1284.0" y="492.0"/>\r
1007       </bpmndi:BPMNShape>\r
1008       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_326" targetElement="_BPMNShape_ServiceTask_86">\r
1009         <di:waypoint xsi:type="dc:Point" x="1384.0" y="532.0"/>\r
1010         <di:waypoint xsi:type="dc:Point" x="1425.0" y="532.0"/>\r
1011         <bpmndi:BPMNLabel>\r
1012           <dc:Bounds height="6.0" width="6.0" x="1366.0" y="532.0"/>\r
1013         </bpmndi:BPMNLabel>\r
1014       </bpmndi:BPMNEdge>\r
1015       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_21" bpmnElement="SequenceFlow_19" sourceElement="_BPMNShape_StartEvent_51" targetElement="_BPMNShape_EndEvent_110">\r
1016         <di:waypoint xsi:type="dc:Point" x="396.0" y="1473.0"/>\r
1017         <di:waypoint xsi:type="dc:Point" x="564.0" y="1473.0"/>\r
1018         <bpmndi:BPMNLabel>\r
1019           <dc:Bounds height="6.0" width="6.0" x="519.0" y="1473.0"/>\r
1020         </bpmndi:BPMNLabel>\r
1021       </bpmndi:BPMNEdge>\r
1022     </bpmndi:BPMNPlane>\r
1023   </bpmndi:BPMNDiagram>\r
1024 </bpmn2:definitions>