fc9f0a114c61931c31d07442374b553cb838f5ff
[so.git] / bpmn / MSOGammaBPMN / src / main / resources / subprocess / SDNCAdapterV1.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="_l2hJ8CccEeW3d--PaFJMbg" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://activiti.org/bpmn">\r
3   <bpmn2:process id="sdncAdapter" name="SDNC Adapter" isExecutable="true">\r
4     <bpmn2:exclusiveGateway id="isResponseOK" name="is Response Ok?" default="badSynchronousResponse">\r
5       <bpmn2:incoming>SequenceFlow_15</bpmn2:incoming>\r
6       <bpmn2:outgoing>badSynchronousResponse</bpmn2:outgoing>\r
7       <bpmn2:outgoing>goodSynchronousResponse</bpmn2:outgoing>\r
8     </bpmn2:exclusiveGateway>\r
9     <bpmn2:sequenceFlow id="badSynchronousResponse" name="Bad synchronous response" sourceRef="isResponseOK" targetRef="setBadResponse"/>\r
10     <bpmn2:sequenceFlow id="goodSynchronousResponse" name="Good synchronous response" sourceRef="isResponseOK" targetRef="resetCallbackRequest">\r
11       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("SDNCA_ResponseCode")=='200'}]]></bpmn2:conditionExpression>\r
12     </bpmn2:sequenceFlow>\r
13     <bpmn2:scriptTask id="setBadResponse" name="Set Bad Response&#xD;&#xA;Exception" scriptFormat="groovy">\r
14       <bpmn2:incoming>badSynchronousResponse</bpmn2:incoming>\r
15       <bpmn2:outgoing>Exception</bpmn2:outgoing>\r
16       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
17
18 int responseCode = execution.getVariable("SDNCA_ResponseCode")
19 ExceptionUtil exceptionUtil = new ExceptionUtil()
20 exceptionUtil.buildWorkflowException(execution, 7000, "Could not communicate with the SDNC Adapter" )]]></bpmn2:script>\r
21     </bpmn2:scriptTask>\r
22     <bpmn2:sequenceFlow id="Exception" name="Exception" sourceRef="setBadResponse" targetRef="badResponseEndFlow"/>\r
23     <bpmn2:serviceTask id="invokeSDNCAdapter" camunda:class="" name="Invoke SDNC Adapter">\r
24       <bpmn2:extensionElements>\r
25         <camunda:connector>\r
26           <camunda:connectorId>soap-http-connector</camunda:connectorId>\r
27           <camunda:inputOutput>\r
28             <camunda:inputParameter name="url">${URN_mso_adapters_sdnc_endpoint}</camunda:inputParameter>\r
29             <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
30             <camunda:inputParameter name="headers">\r
31               <camunda:map>\r
32                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>\r
33                 <camunda:entry key="Authorization">#{BasicAuthHeaderValue}</camunda:entry>\r
34               </camunda:map>\r
35             </camunda:inputParameter>\r
36             <camunda:inputParameter name="payload">${sdncAdapterRequest}</camunda:inputParameter>\r
37             <camunda:outputParameter name="sdncAdapterWorkflowResponse">${response}</camunda:outputParameter>\r
38             <camunda:outputParameter name="SDNCA_ResponseCode">${statusCode}</camunda:outputParameter>\r
39           </camunda:inputOutput>\r
40         </camunda:connector>\r
41       </bpmn2:extensionElements>\r
42       <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>\r
43       <bpmn2:outgoing>SequenceFlow_15</bpmn2:outgoing>\r
44     </bpmn2:serviceTask>\r
45     <bpmn2:sequenceFlow id="SequenceFlow_15" sourceRef="invokeSDNCAdapter" targetRef="isResponseOK"/>\r
46     <bpmn2:endEvent id="badResponseEndFlow" name="Bad Response End Flow">\r
47       <bpmn2:incoming>Exception</bpmn2:incoming>\r
48       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_77" errorRef="Error_3"/>\r
49     </bpmn2:endEvent>\r
50     <bpmn2:startEvent id="SDNCAdapter_Start" name="Incoming Message">\r
51       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>\r
52       <bpmn2:messageEventDefinition id="_MessageEventDefinition_3" messageRef="Message_1"/>\r
53     </bpmn2:startEvent>\r
54     <bpmn2:sequenceFlow id="SequenceFlow_1" sourceRef="SDNCAdapter_Start" targetRef="processMessage"/>\r
55     <bpmn2:scriptTask id="processMessage" name="Process message" scriptFormat="groovy">\r
56       <bpmn2:extensionElements>\r
57         <camunda:inputOutput>\r
58           <camunda:inputParameter name="ScriptObject">\r
59             <camunda:map>\r
60               <camunda:entry key="MethodName">massageSDNCRequestScript</camunda:entry>\r
61               <camunda:entry key="Params"/>\r
62             </camunda:map>\r
63           </camunda:inputParameter>\r
64         </camunda:inputOutput>\r
65       </bpmn2:extensionElements>\r
66       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>\r
67       <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>\r
68       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
69 def sdnc= new SDNCAdapter()
70 sdnc.preProcessRequest(execution)
71 ]]></bpmn2:script>\r
72     </bpmn2:scriptTask>\r
73     <bpmn2:sequenceFlow id="SequenceFlow_8" sourceRef="processMessage" targetRef="invokeSDNCAdapter"/>\r
74     <bpmn2:exclusiveGateway id="timeOutCheck">\r
75       <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>\r
76       <bpmn2:incoming>timeOut</bpmn2:incoming>\r
77       <bpmn2:outgoing>SequenceFlow_29</bpmn2:outgoing>\r
78     </bpmn2:exclusiveGateway>\r
79     <bpmn2:scriptTask id="returnWorkflowResult" name="Return workflow result" scriptFormat="groovy">\r
80       <bpmn2:incoming>SequenceFlow_29</bpmn2:incoming>\r
81       <bpmn2:outgoing>SequenceFlow_14</bpmn2:outgoing>\r
82       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
83 def sdnc= new SDNCAdapter()
84 sdnc.postProcessResponse(execution)
85 ]]></bpmn2:script>\r
86     </bpmn2:scriptTask>\r
87     <bpmn2:sequenceFlow id="SequenceFlow_14" sourceRef="returnWorkflowResult" targetRef="timeoutError"/>\r
88     <bpmn2:exclusiveGateway id="timeoutError" name="Did Timeout occur?" default="noTimeoutError">\r
89       <bpmn2:incoming>SequenceFlow_14</bpmn2:incoming>\r
90       <bpmn2:outgoing>noTimeoutError</bpmn2:outgoing>\r
91       <bpmn2:outgoing>SequenceFlow_19</bpmn2:outgoing>\r
92     </bpmn2:exclusiveGateway>\r
93     <bpmn2:sequenceFlow id="noTimeoutError" name="No Timeout" sourceRef="timeoutError" targetRef="ExclusiveGateway_1"/>\r
94     <bpmn2:sequenceFlow id="SequenceFlow_19" name="Timeout" sourceRef="timeoutError" targetRef="setTimeoutEx">\r
95       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("asynchronousResponseTimeout")==true}]]></bpmn2:conditionExpression>\r
96     </bpmn2:sequenceFlow>\r
97     <bpmn2:subProcess id="SubProcess" name="Wait for asynchronous message">\r
98       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>\r
99       <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>\r
100       <bpmn2:endEvent id="eEndEventSubprocess" name="End Event Subprocess">\r
101         <bpmn2:incoming>SequenceFlow_16</bpmn2:incoming>\r
102         <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_2"/>\r
103       </bpmn2:endEvent>\r
104       <bpmn2:startEvent id="StartEvent" name="Start Event">\r
105         <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>\r
106       </bpmn2:startEvent>\r
107       <bpmn2:sequenceFlow id="SequenceFlow_18" sourceRef="StartEvent" targetRef="IntermediateCatchEvent"/>\r
108       <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent" name="Catch Event">\r
109         <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>\r
110         <bpmn2:outgoing>SequenceFlow_16</bpmn2:outgoing>\r
111         <bpmn2:messageEventDefinition id="MessageEventDefinition_2" messageRef="Message_2"/>\r
112       </bpmn2:intermediateCatchEvent>\r
113       <bpmn2:sequenceFlow id="SequenceFlow_16" sourceRef="IntermediateCatchEvent" targetRef="eEndEventSubprocess"/>\r
114     </bpmn2:subProcess>\r
115     <bpmn2:sequenceFlow id="SequenceFlow_9" sourceRef="SubProcess" targetRef="timeOutCheck"/>\r
116     <bpmn2:boundaryEvent id="BoundaryEvent_1" name="Boundary Event" attachedToRef="SubProcess">\r
117       <bpmn2:outgoing>timeOut</bpmn2:outgoing>\r
118       <bpmn2:timerEventDefinition id="TimerEventDefinition_1">\r
119         <bpmn2:timeDuration xsi:type="bpmn2:tFormalExpression">${sdncTimeoutValue}</bpmn2:timeDuration>\r
120       </bpmn2:timerEventDefinition>\r
121     </bpmn2:boundaryEvent>\r
122     <bpmn2:sequenceFlow id="timeOut" name="Timed out" sourceRef="BoundaryEvent_1" targetRef="timeOutCheck"/>\r
123     <bpmn2:scriptTask id="setTimeoutEx" name="Set Timeout&#xD;&#xA;Exception" scriptFormat="groovy">\r
124       <bpmn2:incoming>SequenceFlow_19</bpmn2:incoming>\r
125       <bpmn2:outgoing>Error</bpmn2:outgoing>\r
126       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
127 ExceptionUtil exceptionUtil = new ExceptionUtil()
128 exceptionUtil.buildWorkflowException(execution, 500, "SDNC Callback Timeout Error" )
129
130 ]]></bpmn2:script>\r
131     </bpmn2:scriptTask>\r
132     <bpmn2:sequenceFlow id="Error" name="Error" sourceRef="setTimeoutEx" targetRef="endEventException"/>\r
133     <bpmn2:endEvent id="endEventException" name="Timeout Exception">\r
134       <bpmn2:incoming>Error</bpmn2:incoming>\r
135     </bpmn2:endEvent>\r
136     <bpmn2:sequenceFlow id="SequenceFlow_29" name="" sourceRef="timeOutCheck" targetRef="returnWorkflowResult"/>\r
137     <bpmn2:scriptTask id="resetCallbackRequest" name="Reset callback request and set timer value" scriptFormat="groovy">\r
138       <bpmn2:incoming>goodSynchronousResponse</bpmn2:incoming>\r
139       <bpmn2:incoming>SequenceFlow_26</bpmn2:incoming>\r
140       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>\r
141       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
142 def sdnc= new SDNCAdapter()
143 sdnc.resetCallbackRequest(execution)]]></bpmn2:script>\r
144     </bpmn2:scriptTask>\r
145     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="resetCallbackRequest" targetRef="SubProcess"/>\r
146     <bpmn2:exclusiveGateway id="ExclusiveGateway_1" name="Check final indicator" default="Done">\r
147       <bpmn2:incoming>noTimeoutError</bpmn2:incoming>\r
148       <bpmn2:outgoing>Done</bpmn2:outgoing>\r
149       <bpmn2:outgoing>SequenceFlow_30</bpmn2:outgoing>\r
150     </bpmn2:exclusiveGateway>\r
151     <bpmn2:sequenceFlow id="Done" name="Done" sourceRef="ExclusiveGateway_1" targetRef="toggleSuccessIndicator"/>\r
152     <bpmn2:sequenceFlow id="SequenceFlow_30" name="Not Done" sourceRef="ExclusiveGateway_1" targetRef="ParallelGateway_3">\r
153       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("continueListening")==true}]]></bpmn2:conditionExpression>\r
154     </bpmn2:sequenceFlow>\r
155     <bpmn2:scriptTask id="toggleSuccessIndicator" name="Toggle Success Indicator" scriptFormat="groovy">\r
156       <bpmn2:incoming>Done</bpmn2:incoming>\r
157       <bpmn2:outgoing>SequenceFlow_17</bpmn2:outgoing>\r
158       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
159 def sdnc= new SDNCAdapter()
160 sdnc.toggleSuccessIndicator(execution)]]></bpmn2:script>\r
161     </bpmn2:scriptTask>\r
162     <bpmn2:sequenceFlow id="SequenceFlow_17" name="" sourceRef="toggleSuccessIndicator" targetRef="endEventFlow"/>\r
163     <bpmn2:endEvent id="endEventFlow" name="End Event Flow">\r
164       <bpmn2:extensionElements>\r
165         <camunda:connector>\r
166           <camunda:inputOutput>\r
167             <camunda:outputParameter name="sdncAdapterResponse">${sdncAdapterWorkflowResponse}</camunda:outputParameter>\r
168           </camunda:inputOutput>\r
169         </camunda:connector>\r
170       </bpmn2:extensionElements>\r
171       <bpmn2:incoming>SequenceFlow_17</bpmn2:incoming>\r
172       <bpmn2:messageEventDefinition id="_MessageEventDefinition_6"/>\r
173     </bpmn2:endEvent>\r
174     <bpmn2:parallelGateway id="ParallelGateway_3">\r
175       <bpmn2:incoming>SequenceFlow_30</bpmn2:incoming>\r
176       <bpmn2:outgoing>SequenceFlow_21</bpmn2:outgoing>\r
177       <bpmn2:outgoing>SequenceFlow_26</bpmn2:outgoing>\r
178     </bpmn2:parallelGateway>\r
179     <bpmn2:sequenceFlow id="SequenceFlow_21" name="" sourceRef="ParallelGateway_3" targetRef="toggleSuccess"/>\r
180     <bpmn2:sequenceFlow id="SequenceFlow_26" name="Continue listening for asynchronous message" sourceRef="ParallelGateway_3" targetRef="resetCallbackRequest"/>\r
181     <bpmn2:subProcess id="errorHandlingSubProcess" name="Error Handling Sub Process" triggeredByEvent="true">\r
182       <bpmn2:startEvent id="catchErrors" name="Catch">\r
183         <bpmn2:outgoing>SequenceFlow_22</bpmn2:outgoing>\r
184         <bpmn2:errorEventDefinition id="_ErrorEventDefinition_78" errorRef="Error_3"/>\r
185       </bpmn2:startEvent>\r
186       <bpmn2:sequenceFlow id="SequenceFlow_22" name="" sourceRef="catchErrors" targetRef="assignError"/>\r
187       <bpmn2:scriptTask id="assignError" name="Assign Error" scriptFormat="groovy">\r
188         <bpmn2:incoming>SequenceFlow_22</bpmn2:incoming>\r
189         <bpmn2:outgoing>SequenceFlow_27</bpmn2:outgoing>\r
190         <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
191 def sdnc= new SDNCAdapter()
192 sdnc.assignError(execution)]]></bpmn2:script>\r
193       </bpmn2:scriptTask>\r
194       <bpmn2:sequenceFlow id="SequenceFlow_27" name="" sourceRef="assignError" targetRef="EndEvent_5"/>\r
195       <bpmn2:endEvent id="EndEvent_5">\r
196         <bpmn2:incoming>SequenceFlow_27</bpmn2:incoming>\r
197       </bpmn2:endEvent>\r
198     </bpmn2:subProcess>\r
199     <bpmn2:exclusiveGateway id="ExclusiveGateway_3" default="SequenceFlow_5">\r
200       <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>\r
201       <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>\r
202       <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>\r
203     </bpmn2:exclusiveGateway>\r
204     <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="ExclusiveGateway_3" targetRef="ScriptTask_2"/>\r
205     <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="ExclusiveGateway_3" targetRef="ScriptTask_3">\r
206       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression">#{execution.getVariable('source').equals('CCD')}</bpmn2:conditionExpression>\r
207     </bpmn2:sequenceFlow>\r
208     <bpmn2:endEvent id="EndEvent_2">\r
209       <bpmn2:incoming>SequenceFlow_33</bpmn2:incoming>\r
210     </bpmn2:endEvent>\r
211     <bpmn2:scriptTask id="ScriptTask_3" name="Prepare CCD Message" scriptFormat="groovy">\r
212       <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>\r
213       <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>\r
214       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
215 def sdnc= new SDNCAdapter()
216 sdnc.prepareCCDMessage(execution)]]></bpmn2:script>\r
217     </bpmn2:scriptTask>\r
218     <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="ScriptTask_3" targetRef="notifyCCD"/>\r
219     <bpmn2:scriptTask id="ScriptTask_2" name="Prepare CSI Message" scriptFormat="groovy">\r
220       <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>\r
221       <bpmn2:outgoing>SequenceFlow_3</bpmn2:outgoing>\r
222       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
223 def sdnc= new SDNCAdapter()
224 sdnc.prepareCSIMessage(execution)]]></bpmn2:script>\r
225     </bpmn2:scriptTask>\r
226     <bpmn2:sequenceFlow id="SequenceFlow_3" name="" sourceRef="ScriptTask_2" targetRef="notifyCSI"/>\r
227     <bpmn2:scriptTask id="ScriptTask_1" name="Prepare DB Message" scriptFormat="groovy">\r
228       <bpmn2:incoming>SequenceFlow_12</bpmn2:incoming>\r
229       <bpmn2:outgoing>SequenceFlow_20</bpmn2:outgoing>\r
230       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
231 def sdnc= new SDNCAdapter()
232 sdnc.prepareDBMessage(execution)]]></bpmn2:script>\r
233     </bpmn2:scriptTask>\r
234     <bpmn2:sequenceFlow id="SequenceFlow_20" name="" sourceRef="ScriptTask_1" targetRef="notifyDB"/>\r
235     <bpmn2:endEvent id="EndEvent_3">\r
236       <bpmn2:incoming>SequenceFlow_24</bpmn2:incoming>\r
237     </bpmn2:endEvent>\r
238     <bpmn2:endEvent id="EndEvent_4">\r
239       <bpmn2:incoming>SequenceFlow_13</bpmn2:incoming>\r
240     </bpmn2:endEvent>\r
241     <bpmn2:serviceTask id="notifyDB" camunda:class="" name="Notify DB">\r
242       <bpmn2:extensionElements>\r
243         <camunda:connector>\r
244           <camunda:connectorId>soap-http-connector</camunda:connectorId>\r
245           <camunda:inputOutput>\r
246             <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>\r
247             <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
248             <camunda:inputParameter name="headers">\r
249               <camunda:map>\r
250                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>\r
251               </camunda:map>\r
252             </camunda:inputParameter>\r
253             <camunda:inputParameter name="payload">${dbUpdateInterimStageCompletion}</camunda:inputParameter>\r
254             <camunda:outputParameter name="dbUpdateInterimStageCompletionResponse"><![CDATA[${statusCode == null || statusCode == 204 ? "" : response}]]></camunda:outputParameter>\r
255             <camunda:outputParameter name="dbUpdateInterimStageCompletionResponseCode">${statusCode}</camunda:outputParameter>\r
256           </camunda:inputOutput>\r
257         </camunda:connector>\r
258       </bpmn2:extensionElements>\r
259       <bpmn2:incoming>SequenceFlow_20</bpmn2:incoming>\r
260       <bpmn2:outgoing>SequenceFlow_33</bpmn2:outgoing>\r
261     </bpmn2:serviceTask>\r
262     <bpmn2:serviceTask id="notifyCCD" name="Notify CCD">\r
263       <bpmn2:extensionElements>\r
264         <camunda:connector>\r
265           <camunda:connectorId>http-connector</camunda:connectorId>\r
266           <camunda:inputOutput>\r
267             <camunda:inputParameter name="url"><![CDATA[${execution.getVariable("ccd-notification-url")}]]></camunda:inputParameter>\r
268             <camunda:inputParameter name="headers">\r
269               <camunda:map>\r
270                 <camunda:entry key="Content-Type">text/xml</camunda:entry>\r
271                 <camunda:entry key="Authorization"/>\r
272               </camunda:map>\r
273             </camunda:inputParameter>\r
274             <camunda:inputParameter name="payload"><![CDATA[${execution.getVariable("ccd-notification-payload")}]]></camunda:inputParameter>\r
275             <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
276             <camunda:outputParameter name="CCDResponse"><![CDATA[${statusCode == null || statusCode == 204 ? "" : response}]]></camunda:outputParameter>\r
277             <camunda:outputParameter name="CCDResponseCode">${statusCode}</camunda:outputParameter>\r
278           </camunda:inputOutput>\r
279         </camunda:connector>\r
280       </bpmn2:extensionElements>\r
281       <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>\r
282       <bpmn2:outgoing>SequenceFlow_13</bpmn2:outgoing>\r
283     </bpmn2:serviceTask>\r
284     <bpmn2:sequenceFlow id="SequenceFlow_13" name="" sourceRef="notifyCCD" targetRef="EndEvent_4"/>\r
285     <bpmn2:serviceTask id="notifyCSI" camunda:class="" name="Notify CSI">\r
286       <bpmn2:extensionElements>\r
287         <camunda:connector>\r
288           <camunda:connectorId>soap-http-connector</camunda:connectorId>\r
289           <camunda:inputOutput>\r
290             <camunda:inputParameter name="url">${URN_csi_networkstatus_endpoint}</camunda:inputParameter>\r
291             <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
292             <camunda:inputParameter name="headers">\r
293               <camunda:map>\r
294                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>\r
295               </camunda:map>\r
296             </camunda:inputParameter>\r
297             <camunda:inputParameter name="payload">${csiSendManagedNetworkNotificationRequest}</camunda:inputParameter>\r
298             <camunda:outputParameter name="csiSendManagedNetworkStatusNotificationResponse">${response}</camunda:outputParameter>\r
299             <camunda:outputParameter name="csiSendManagedNetworkStatusNotificationResponseCode">${statusCode}</camunda:outputParameter>\r
300           </camunda:inputOutput>\r
301         </camunda:connector>\r
302       </bpmn2:extensionElements>\r
303       <bpmn2:incoming>SequenceFlow_3</bpmn2:incoming>\r
304       <bpmn2:outgoing>SequenceFlow_24</bpmn2:outgoing>\r
305     </bpmn2:serviceTask>\r
306     <bpmn2:sequenceFlow id="SequenceFlow_24" name="" sourceRef="notifyCSI" targetRef="EndEvent_3"/>\r
307     <bpmn2:parallelGateway id="ParallelGateway_1">\r
308       <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>\r
309       <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>\r
310       <bpmn2:outgoing>SequenceFlow_12</bpmn2:outgoing>\r
311     </bpmn2:parallelGateway>\r
312     <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="ParallelGateway_1" targetRef="ExclusiveGateway_3"/>\r
313     <bpmn2:sequenceFlow id="SequenceFlow_12" name="" sourceRef="ParallelGateway_1" targetRef="ScriptTask_1"/>\r
314     <bpmn2:scriptTask id="toggleSuccess" name="Toggle Success Indicator" scriptFormat="groovy">\r
315       <bpmn2:incoming>SequenceFlow_21</bpmn2:incoming>\r
316       <bpmn2:outgoing>SequenceFlow_31</bpmn2:outgoing>\r
317       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
318 def sdnc= new SDNCAdapter()
319 sdnc.toggleSuccessIndicator(execution)]]></bpmn2:script>\r
320     </bpmn2:scriptTask>\r
321     <bpmn2:sequenceFlow id="SequenceFlow_31" name="" sourceRef="toggleSuccess" targetRef="ExclusiveGateway_2"/>\r
322     <bpmn2:exclusiveGateway id="ExclusiveGateway_2" name="Service Config Activate?" default="SequenceFlow_23">\r
323       <bpmn2:incoming>SequenceFlow_31</bpmn2:incoming>\r
324       <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>\r
325       <bpmn2:outgoing>SequenceFlow_23</bpmn2:outgoing>\r
326     </bpmn2:exclusiveGateway>\r
327     <bpmn2:sequenceFlow id="SequenceFlow_4" name="Yes" sourceRef="ExclusiveGateway_2" targetRef="ParallelGateway_1">\r
328       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("serviceConfigActivate")==true}]]></bpmn2:conditionExpression>\r
329     </bpmn2:sequenceFlow>\r
330     <bpmn2:sequenceFlow id="SequenceFlow_23" name="No" sourceRef="ExclusiveGateway_2" targetRef="EndEvent_1"/>\r
331     <bpmn2:endEvent id="EndEvent_1">\r
332       <bpmn2:incoming>SequenceFlow_23</bpmn2:incoming>\r
333     </bpmn2:endEvent>\r
334     <bpmn2:boundaryEvent id="BoundaryEvent_2" name="" attachedToRef="notifyDB">\r
335       <bpmn2:outgoing>SequenceFlow_28</bpmn2:outgoing>\r
336       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_79" errorRef="Error_2"/>\r
337     </bpmn2:boundaryEvent>\r
338     <bpmn2:endEvent id="EndEvent_6">\r
339       <bpmn2:incoming>SequenceFlow_28</bpmn2:incoming>\r
340     </bpmn2:endEvent>\r
341     <bpmn2:sequenceFlow id="SequenceFlow_28" name="" sourceRef="BoundaryEvent_2" targetRef="EndEvent_6"/>\r
342     <bpmn2:sequenceFlow id="SequenceFlow_33" name="" sourceRef="notifyDB" targetRef="EndEvent_2"/>\r
343   </bpmn2:process>\r
344   <bpmn2:message id="Message_1" name="sdncAdapterWorkflowRequest"/>\r
345   <bpmn2:message id="Message_2" name="sdncAdapterCallbackRequest"/>\r
346   <bpmn2:error id="Error_3" errorCode="MSOWorkflowException" name="MSO Workflow Exception"/>\r
347   <bpmn2:signal id="Signal_1" name="InterimStatus"/>\r
348   <bpmn2:error id="Error_2" errorCode="java.lang.Exception" name="Java Lang Exception"/>\r
349   <bpmndi:BPMNDiagram id="BPMNDiagram_1">\r
350     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="sdncAdapter">\r
351       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_33" bpmnElement="SDNCAdapter_Start">\r
352         <dc:Bounds height="36.0" width="36.0" x="111.0" y="161.0"/>\r
353         <bpmndi:BPMNLabel>\r
354           <dc:Bounds height="22.0" width="115.0" x="72.0" y="202.0"/>\r
355         </bpmndi:BPMNLabel>\r
356       </bpmndi:BPMNShape>\r
357       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_62" bpmnElement="invokeSDNCAdapter">\r
358         <dc:Bounds height="80.0" width="100.0" x="342.0" y="139.0"/>\r
359       </bpmndi:BPMNShape>\r
360       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_29" bpmnElement="isResponseOK" isMarkerVisible="true">\r
361         <dc:Bounds height="50.0" width="50.0" x="519.0" y="153.0"/>\r
362         <bpmndi:BPMNLabel>\r
363           <dc:Bounds height="22.0" width="106.0" x="569.0" y="182.0"/>\r
364         </bpmndi:BPMNLabel>\r
365       </bpmndi:BPMNShape>\r
366       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_64" bpmnElement="endEventFlow">\r
367         <dc:Bounds height="36.0" width="36.0" x="1560.0" y="366.0"/>\r
368         <bpmndi:BPMNLabel>\r
369           <dc:Bounds height="22.0" width="96.0" x="1595.0" y="373.0"/>\r
370         </bpmndi:BPMNLabel>\r
371       </bpmndi:BPMNShape>\r
372       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_65" bpmnElement="badResponseEndFlow">\r
373         <dc:Bounds height="36.0" width="36.0" x="762.0" y="104.0"/>\r
374         <bpmndi:BPMNLabel>\r
375           <dc:Bounds height="22.0" width="149.0" x="804.0" y="111.0"/>\r
376         </bpmndi:BPMNLabel>\r
377       </bpmndi:BPMNShape>\r
378       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="badSynchronousResponse" sourceElement="_BPMNShape_ExclusiveGateway_29" targetElement="_BPMNShape_ScriptTask_24">\r
379         <di:waypoint xsi:type="dc:Point" x="544.0" y="153.0"/>\r
380         <di:waypoint xsi:type="dc:Point" x="544.0" y="122.0"/>\r
381         <di:waypoint xsi:type="dc:Point" x="600.0" y="122.0"/>\r
382         <bpmndi:BPMNLabel>\r
383           <dc:Bounds height="22.0" width="164.0" x="441.0" y="99.0"/>\r
384         </bpmndi:BPMNLabel>\r
385       </bpmndi:BPMNEdge>\r
386       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_33" targetElement="_BPMNShape_ScriptTask_3">\r
387         <di:waypoint xsi:type="dc:Point" x="147.0" y="179.0"/>\r
388         <di:waypoint xsi:type="dc:Point" x="194.0" y="179.0"/>\r
389         <bpmndi:BPMNLabel>\r
390           <dc:Bounds height="0.0" width="0.0" x="171.0" y="179.0"/>\r
391         </bpmndi:BPMNLabel>\r
392       </bpmndi:BPMNEdge>\r
393       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="goodSynchronousResponse" sourceElement="_BPMNShape_ExclusiveGateway_29" targetElement="_BPMNShape_ScriptTask_27">\r
394         <di:waypoint xsi:type="dc:Point" x="544.0" y="203.0"/>\r
395         <di:waypoint xsi:type="dc:Point" x="544.0" y="246.0"/>\r
396         <bpmndi:BPMNLabel>\r
397           <dc:Bounds height="22.0" width="172.0" x="459.0" y="208.0"/>\r
398         </bpmndi:BPMNLabel>\r
399       </bpmndi:BPMNEdge>\r
400       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_68" bpmnElement="returnWorkflowResult">\r
401         <dc:Bounds height="80.0" width="100.0" x="1104.0" y="237.0"/>\r
402       </bpmndi:BPMNShape>\r
403       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_3" bpmnElement="processMessage">\r
404         <dc:Bounds height="80.0" width="100.0" x="194.0" y="139.0"/>\r
405       </bpmndi:BPMNShape>\r
406       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_ScriptTask_3" targetElement="_BPMNShape_ServiceTask_62">\r
407         <di:waypoint xsi:type="dc:Point" x="294.0" y="179.0"/>\r
408         <di:waypoint xsi:type="dc:Point" x="342.0" y="179.0"/>\r
409         <bpmndi:BPMNLabel>\r
410           <dc:Bounds height="22.0" width="30.0" x="300.0" y="153.0"/>\r
411         </bpmndi:BPMNLabel>\r
412       </bpmndi:BPMNEdge>\r
413       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_14" bpmnElement="SequenceFlow_14" sourceElement="_BPMNShape_ServiceTask_68" targetElement="_BPMNShape_ExclusiveGateway_53">\r
414         <di:waypoint xsi:type="dc:Point" x="1204.0" y="277.0"/>\r
415         <di:waypoint xsi:type="dc:Point" x="1248.0" y="276.0"/>\r
416         <bpmndi:BPMNLabel>\r
417           <dc:Bounds height="22.0" width="37.0" x="1211.0" y="251.0"/>\r
418         </bpmndi:BPMNLabel>\r
419       </bpmndi:BPMNEdge>\r
420       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_15" bpmnElement="SequenceFlow_15" sourceElement="_BPMNShape_ServiceTask_62" targetElement="_BPMNShape_ExclusiveGateway_29">\r
421         <di:waypoint xsi:type="dc:Point" x="442.0" y="179.0"/>\r
422         <di:waypoint xsi:type="dc:Point" x="480.0" y="179.0"/>\r
423         <di:waypoint xsi:type="dc:Point" x="480.0" y="178.0"/>\r
424         <di:waypoint xsi:type="dc:Point" x="519.0" y="178.0"/>\r
425         <bpmndi:BPMNLabel>\r
426           <dc:Bounds height="22.0" width="37.0" x="468.0" y="153.0"/>\r
427         </bpmndi:BPMNLabel>\r
428       </bpmndi:BPMNEdge>\r
429       <bpmndi:BPMNShape id="_BPMNShape_IntermediateCatchEvent_16" bpmnElement="IntermediateCatchEvent">\r
430         <dc:Bounds height="36.0" width="36.0" x="764.0" y="259.0"/>\r
431         <bpmndi:BPMNLabel>\r
432           <dc:Bounds height="22.0" width="76.0" x="714.0" y="294.0"/>\r
433         </bpmndi:BPMNLabel>\r
434       </bpmndi:BPMNShape>\r
435       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_11" bpmnElement="SubProcess" isExpanded="true">\r
436         <dc:Bounds height="97.0" width="314.0" x="624.0" y="228.0"/>\r
437       </bpmndi:BPMNShape>\r
438       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_38" bpmnElement="StartEvent">\r
439         <dc:Bounds height="36.0" width="36.0" x="660.0" y="259.0"/>\r
440         <bpmndi:BPMNLabel>\r
441           <dc:Bounds height="22.0" width="70.0" x="627.0" y="294.0"/>\r
442         </bpmndi:BPMNLabel>\r
443       </bpmndi:BPMNShape>\r
444       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_90" bpmnElement="eEndEventSubprocess">\r
445         <dc:Bounds height="36.0" width="36.0" x="865.0" y="259.0"/>\r
446         <bpmndi:BPMNLabel>\r
447           <dc:Bounds height="22.0" width="138.0" x="805.0" y="294.0"/>\r
448         </bpmndi:BPMNLabel>\r
449       </bpmndi:BPMNShape>\r
450       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_SubProcess_11" targetElement="_BPMNShape_ExclusiveGateway_51">\r
451         <di:waypoint xsi:type="dc:Point" x="938.0" y="276.0"/>\r
452         <di:waypoint xsi:type="dc:Point" x="996.0" y="276.0"/>\r
453         <bpmndi:BPMNLabel>\r
454           <dc:Bounds height="0.0" width="0.0" x="967.0" y="254.0"/>\r
455         </bpmndi:BPMNLabel>\r
456       </bpmndi:BPMNEdge>\r
457       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_21" bpmnElement="BoundaryEvent_1">\r
458         <dc:Bounds height="36.0" width="36.0" x="781.0" y="307.0"/>\r
459         <bpmndi:BPMNLabel>\r
460           <dc:Bounds height="22.0" width="97.0" x="704.0" y="340.0"/>\r
461         </bpmndi:BPMNLabel>\r
462       </bpmndi:BPMNShape>\r
463       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_91" bpmnElement="endEventException">\r
464         <dc:Bounds height="36.0" width="36.0" x="1488.0" y="74.0"/>\r
465         <bpmndi:BPMNLabel>\r
466           <dc:Bounds height="22.0" width="114.0" x="1523.0" y="81.0"/>\r
467         </bpmndi:BPMNLabel>\r
468       </bpmndi:BPMNShape>\r
469       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="timeOut" sourceElement="_BPMNShape_BoundaryEvent_21" targetElement="_BPMNShape_ExclusiveGateway_51">\r
470         <di:waypoint xsi:type="dc:Point" x="799.0" y="343.0"/>\r
471         <di:waypoint xsi:type="dc:Point" x="799.0" y="365.0"/>\r
472         <di:waypoint xsi:type="dc:Point" x="1021.0" y="365.0"/>\r
473         <di:waypoint xsi:type="dc:Point" x="1021.0" y="301.0"/>\r
474         <bpmndi:BPMNLabel>\r
475           <dc:Bounds height="22.0" width="63.0" x="874.0" y="340.0"/>\r
476         </bpmndi:BPMNLabel>\r
477       </bpmndi:BPMNEdge>\r
478       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_24" bpmnElement="setBadResponse">\r
479         <dc:Bounds height="80.0" width="100.0" x="600.0" y="82.0"/>\r
480       </bpmndi:BPMNShape>\r
481       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_3" bpmnElement="Exception" sourceElement="_BPMNShape_ScriptTask_24" targetElement="_BPMNShape_EndEvent_65">\r
482         <di:waypoint xsi:type="dc:Point" x="700.0" y="122.0"/>\r
483         <di:waypoint xsi:type="dc:Point" x="762.0" y="122.0"/>\r
484         <bpmndi:BPMNLabel>\r
485           <dc:Bounds height="22.0" width="64.0" x="699.0" y="99.0"/>\r
486         </bpmndi:BPMNLabel>\r
487       </bpmndi:BPMNEdge>\r
488       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_25" bpmnElement="setTimeoutEx">\r
489         <dc:Bounds height="80.0" width="100.0" x="1299.0" y="52.0"/>\r
490       </bpmndi:BPMNShape>\r
491       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="Error" sourceElement="_BPMNShape_ScriptTask_25" targetElement="_BPMNShape_EndEvent_91">\r
492         <di:waypoint xsi:type="dc:Point" x="1399.0" y="92.0"/>\r
493         <di:waypoint xsi:type="dc:Point" x="1488.0" y="92.0"/>\r
494         <bpmndi:BPMNLabel>\r
495           <dc:Bounds height="22.0" width="34.0" x="1416.0" y="70.0"/>\r
496         </bpmndi:BPMNLabel>\r
497       </bpmndi:BPMNEdge>\r
498       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_16" bpmnElement="SequenceFlow_16" sourceElement="_BPMNShape_IntermediateCatchEvent_16" targetElement="_BPMNShape_EndEvent_90">\r
499         <di:waypoint xsi:type="dc:Point" x="800.0" y="277.0"/>\r
500         <di:waypoint xsi:type="dc:Point" x="865.0" y="277.0"/>\r
501         <bpmndi:BPMNLabel>\r
502           <dc:Bounds height="0.0" width="0.0" x="822.0" y="259.0"/>\r
503         </bpmndi:BPMNLabel>\r
504       </bpmndi:BPMNEdge>\r
505       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_18" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_StartEvent_38" targetElement="_BPMNShape_IntermediateCatchEvent_16">\r
506         <di:waypoint xsi:type="dc:Point" x="696.0" y="277.0"/>\r
507         <di:waypoint xsi:type="dc:Point" x="764.0" y="277.0"/>\r
508         <bpmndi:BPMNLabel>\r
509           <dc:Bounds height="0.0" width="0.0" x="718.0" y="259.0"/>\r
510         </bpmndi:BPMNLabel>\r
511       </bpmndi:BPMNEdge>\r
512       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_51" bpmnElement="timeOutCheck" isMarkerVisible="true">\r
513         <dc:Bounds height="50.0" width="50.0" x="996.0" y="251.0"/>\r
514         <bpmndi:BPMNLabel>\r
515           <dc:Bounds height="22.0" width="81.0" x="982.0" y="228.0"/>\r
516         </bpmndi:BPMNLabel>\r
517       </bpmndi:BPMNShape>\r
518       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_53" bpmnElement="timeoutError" isMarkerVisible="true">\r
519         <dc:Bounds height="50.0" width="50.0" x="1248.0" y="251.0"/>\r
520         <bpmndi:BPMNLabel>\r
521           <dc:Bounds height="22.0" width="118.0" x="1300.0" y="266.0"/>\r
522         </bpmndi:BPMNLabel>\r
523       </bpmndi:BPMNShape>\r
524       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_17" bpmnElement="noTimeoutError" sourceElement="_BPMNShape_ExclusiveGateway_53" targetElement="_BPMNShape_ExclusiveGateway_54">\r
525         <di:waypoint xsi:type="dc:Point" x="1273.0" y="301.0"/>\r
526         <di:waypoint xsi:type="dc:Point" x="1273.0" y="359.0"/>\r
527         <bpmndi:BPMNLabel>\r
528           <dc:Bounds height="22.0" width="72.0" x="1280.0" y="324.0"/>\r
529         </bpmndi:BPMNLabel>\r
530       </bpmndi:BPMNEdge>\r
531       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_19" bpmnElement="SequenceFlow_19" sourceElement="_BPMNShape_ExclusiveGateway_53" targetElement="_BPMNShape_ScriptTask_25">\r
532         <di:waypoint xsi:type="dc:Point" x="1273.0" y="251.0"/>\r
533         <di:waypoint xsi:type="dc:Point" x="1273.0" y="92.0"/>\r
534         <di:waypoint xsi:type="dc:Point" x="1299.0" y="92.0"/>\r
535         <bpmndi:BPMNLabel>\r
536           <dc:Bounds height="22.0" width="82.0" x="1280.0" y="168.0"/>\r
537         </bpmndi:BPMNLabel>\r
538       </bpmndi:BPMNEdge>\r
539       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_54" bpmnElement="ExclusiveGateway_1" isMarkerVisible="true">\r
540         <dc:Bounds height="50.0" width="50.0" x="1248.0" y="359.0"/>\r
541         <bpmndi:BPMNLabel>\r
542           <dc:Bounds height="22.0" width="123.0" x="1127.0" y="373.0"/>\r
543         </bpmndi:BPMNLabel>\r
544       </bpmndi:BPMNShape>\r
545       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="Done" sourceElement="_BPMNShape_ExclusiveGateway_54" targetElement="_BPMNShape_ScriptTask_247">\r
546         <di:waypoint xsi:type="dc:Point" x="1298.0" y="384.0"/>\r
547         <di:waypoint xsi:type="dc:Point" x="1383.0" y="384.0"/>\r
548         <bpmndi:BPMNLabel>\r
549           <dc:Bounds height="22.0" width="36.0" x="1316.0" y="384.0"/>\r
550         </bpmndi:BPMNLabel>\r
551       </bpmndi:BPMNEdge>\r
552       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_27" bpmnElement="resetCallbackRequest">\r
553         <dc:Bounds height="80.0" width="100.0" x="494.0" y="246.0"/>\r
554       </bpmndi:BPMNShape>\r
555       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_27" targetElement="_BPMNShape_SubProcess_11">\r
556         <di:waypoint xsi:type="dc:Point" x="594.0" y="286.0"/>\r
557         <di:waypoint xsi:type="dc:Point" x="609.0" y="286.0"/>\r
558         <di:waypoint xsi:type="dc:Point" x="624.0" y="285.0"/>\r
559         <bpmndi:BPMNLabel>\r
560           <dc:Bounds height="6.0" width="6.0" x="607.0" y="286.0"/>\r
561         </bpmndi:BPMNLabel>\r
562       </bpmndi:BPMNEdge>\r
563       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_37" bpmnElement="SequenceFlow_29" sourceElement="_BPMNShape_ExclusiveGateway_51" targetElement="_BPMNShape_ServiceTask_68">\r
564         <di:waypoint xsi:type="dc:Point" x="1046.0" y="276.0"/>\r
565         <di:waypoint xsi:type="dc:Point" x="1075.0" y="276.0"/>\r
566         <di:waypoint xsi:type="dc:Point" x="1075.0" y="277.0"/>\r
567         <di:waypoint xsi:type="dc:Point" x="1104.0" y="277.0"/>\r
568       </bpmndi:BPMNEdge>\r
569       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_38" bpmnElement="SequenceFlow_30" sourceElement="_BPMNShape_ExclusiveGateway_54" targetElement="_BPMNShape_ParallelGateway_14">\r
570         <di:waypoint xsi:type="dc:Point" x="1273.0" y="409.0"/>\r
571         <di:waypoint xsi:type="dc:Point" x="1273.0" y="467.0"/>\r
572         <bpmndi:BPMNLabel>\r
573           <dc:Bounds height="22.0" width="60.0" x="1273.0" y="423.0"/>\r
574         </bpmndi:BPMNLabel>\r
575       </bpmndi:BPMNEdge>\r
576       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_55" bpmnElement="ExclusiveGateway_2" isMarkerVisible="true">\r
577         <dc:Bounds height="50.0" width="50.0" x="1248.0" y="663.0"/>\r
578         <bpmndi:BPMNLabel>\r
579           <dc:Bounds height="22.0" width="145.0" x="1105.0" y="678.0"/>\r
580         </bpmndi:BPMNLabel>\r
581       </bpmndi:BPMNShape>\r
582       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_28" bpmnElement="ScriptTask_2">\r
583         <dc:Bounds height="80.0" width="100.0" x="1173.0" y="858.0"/>\r
584       </bpmndi:BPMNShape>\r
585       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ExclusiveGateway_55" targetElement="_BPMNShape_ParallelGateway_12">\r
586         <di:waypoint xsi:type="dc:Point" x="1273.0" y="713.0"/>\r
587         <di:waypoint xsi:type="dc:Point" x="1273.0" y="770.0"/>\r
588         <bpmndi:BPMNLabel>\r
589           <dc:Bounds height="22.0" width="29.0" x="1273.0" y="720.0"/>\r
590         </bpmndi:BPMNLabel>\r
591       </bpmndi:BPMNEdge>\r
592       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_89" bpmnElement="notifyCSI">\r
593         <dc:Bounds height="80.0" width="100.0" x="1173.0" y="984.0"/>\r
594       </bpmndi:BPMNShape>\r
595       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_3" sourceElement="_BPMNShape_ScriptTask_28" targetElement="_BPMNShape_ServiceTask_89">\r
596         <di:waypoint xsi:type="dc:Point" x="1223.0" y="938.0"/>\r
597         <di:waypoint xsi:type="dc:Point" x="1223.0" y="984.0"/>\r
598         <bpmndi:BPMNLabel>\r
599           <dc:Bounds height="6.0" width="6.0" x="1220.0" y="976.0"/>\r
600         </bpmndi:BPMNLabel>\r
601       </bpmndi:BPMNEdge>\r
602       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_75" bpmnElement="ScriptTask_1">\r
603         <dc:Bounds height="80.0" width="100.0" x="1345.0" y="858.0"/>\r
604       </bpmndi:BPMNShape>\r
605       <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_12" bpmnElement="ParallelGateway_1">\r
606         <dc:Bounds height="50.0" width="50.0" x="1248.0" y="770.0"/>\r
607         <bpmndi:BPMNLabel>\r
608           <dc:Bounds height="0.0" width="0.0" x="1273.0" y="825.0"/>\r
609         </bpmndi:BPMNLabel>\r
610       </bpmndi:BPMNShape>\r
611       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_23" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ParallelGateway_12" targetElement="_BPMNShape_ExclusiveGateway_100">\r
612         <di:waypoint xsi:type="dc:Point" x="1248.0" y="795.0"/>\r
613         <di:waypoint xsi:type="dc:Point" x="1105.0" y="795.0"/>\r
614         <di:waypoint xsi:type="dc:Point" x="1105.0" y="872.0"/>\r
615         <bpmndi:BPMNLabel>\r
616           <dc:Bounds height="6.0" width="6.0" x="1136.0" y="807.0"/>\r
617         </bpmndi:BPMNLabel>\r
618       </bpmndi:BPMNEdge>\r
619       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_24" bpmnElement="SequenceFlow_12" sourceElement="_BPMNShape_ParallelGateway_12" targetElement="_BPMNShape_ScriptTask_75">\r
620         <di:waypoint xsi:type="dc:Point" x="1298.0" y="795.0"/>\r
621         <di:waypoint xsi:type="dc:Point" x="1394.0" y="795.0"/>\r
622         <di:waypoint xsi:type="dc:Point" x="1395.0" y="858.0"/>\r
623         <bpmndi:BPMNLabel>\r
624           <dc:Bounds height="6.0" width="6.0" x="1376.0" y="807.0"/>\r
625         </bpmndi:BPMNLabel>\r
626       </bpmndi:BPMNEdge>\r
627       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_90" bpmnElement="notifyDB">\r
628         <dc:Bounds height="80.0" width="100.0" x="1345.0" y="984.0"/>\r
629       </bpmndi:BPMNShape>\r
630       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_27" bpmnElement="SequenceFlow_20" sourceElement="_BPMNShape_ScriptTask_75" targetElement="_BPMNShape_ServiceTask_90">\r
631         <di:waypoint xsi:type="dc:Point" x="1395.0" y="938.0"/>\r
632         <di:waypoint xsi:type="dc:Point" x="1395.0" y="984.0"/>\r
633         <bpmndi:BPMNLabel>\r
634           <dc:Bounds height="6.0" width="6.0" x="1392.0" y="967.0"/>\r
635         </bpmndi:BPMNLabel>\r
636       </bpmndi:BPMNEdge>\r
637       <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_14" bpmnElement="ParallelGateway_3">\r
638         <dc:Bounds height="50.0" width="50.0" x="1248.0" y="467.0"/>\r
639         <bpmndi:BPMNLabel>\r
640           <dc:Bounds height="0.0" width="0.0" x="1273.0" y="522.0"/>\r
641         </bpmndi:BPMNLabel>\r
642       </bpmndi:BPMNShape>\r
643       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_28" bpmnElement="SequenceFlow_21" sourceElement="_BPMNShape_ParallelGateway_14" targetElement="_BPMNShape_ScriptTask_255">\r
644         <di:waypoint xsi:type="dc:Point" x="1273.0" y="517.0"/>\r
645         <di:waypoint xsi:type="dc:Point" x="1274.0" y="552.0"/>\r
646         <bpmndi:BPMNLabel>\r
647           <dc:Bounds height="6.0" width="6.0" x="1270.0" y="533.0"/>\r
648         </bpmndi:BPMNLabel>\r
649       </bpmndi:BPMNEdge>\r
650       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_96" bpmnElement="EndEvent_1">\r
651         <dc:Bounds height="36.0" width="36.0" x="1444.0" y="671.0"/>\r
652         <bpmndi:BPMNLabel>\r
653           <dc:Bounds height="0.0" width="0.0" x="1462.0" y="712.0"/>\r
654         </bpmndi:BPMNLabel>\r
655       </bpmndi:BPMNShape>\r
656       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_30" bpmnElement="SequenceFlow_23" sourceElement="_BPMNShape_ExclusiveGateway_55" targetElement="_BPMNShape_EndEvent_96">\r
657         <di:waypoint xsi:type="dc:Point" x="1298.0" y="688.0"/>\r
658         <di:waypoint xsi:type="dc:Point" x="1444.0" y="689.0"/>\r
659         <bpmndi:BPMNLabel>\r
660           <dc:Bounds height="22.0" width="22.0" x="1320.0" y="688.0"/>\r
661         </bpmndi:BPMNLabel>\r
662       </bpmndi:BPMNEdge>\r
663       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_97" bpmnElement="EndEvent_2">\r
664         <dc:Bounds height="36.0" width="36.0" x="1377.0" y="1117.0"/>\r
665         <bpmndi:BPMNLabel>\r
666           <dc:Bounds height="0.0" width="0.0" x="1395.0" y="1158.0"/>\r
667         </bpmndi:BPMNLabel>\r
668       </bpmndi:BPMNShape>\r
669       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_98" bpmnElement="EndEvent_3">\r
670         <dc:Bounds height="36.0" width="36.0" x="1205.0" y="1117.0"/>\r
671         <bpmndi:BPMNLabel>\r
672           <dc:Bounds height="0.0" width="0.0" x="1223.0" y="1158.0"/>\r
673         </bpmndi:BPMNLabel>\r
674       </bpmndi:BPMNShape>\r
675       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_31" bpmnElement="SequenceFlow_24" sourceElement="_BPMNShape_ServiceTask_89" targetElement="_BPMNShape_EndEvent_98">\r
676         <di:waypoint xsi:type="dc:Point" x="1223.0" y="1064.0"/>\r
677         <di:waypoint xsi:type="dc:Point" x="1223.0" y="1117.0"/>\r
678         <bpmndi:BPMNLabel>\r
679           <dc:Bounds height="6.0" width="6.0" x="1220.0" y="1187.0"/>\r
680         </bpmndi:BPMNLabel>\r
681       </bpmndi:BPMNEdge>\r
682       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_33" bpmnElement="SequenceFlow_26" sourceElement="_BPMNShape_ParallelGateway_14" targetElement="_BPMNShape_ScriptTask_27">\r
683         <di:waypoint xsi:type="dc:Point" x="1248.0" y="492.0"/>\r
684         <di:waypoint xsi:type="dc:Point" x="544.0" y="492.0"/>\r
685         <di:waypoint xsi:type="dc:Point" x="544.0" y="326.0"/>\r
686         <bpmndi:BPMNLabel>\r
687           <dc:Bounds height="22.0" width="269.0" x="684.0" y="467.0"/>\r
688         </bpmndi:BPMNLabel>\r
689       </bpmndi:BPMNEdge>\r
690       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_100" bpmnElement="ExclusiveGateway_3" isMarkerVisible="true">\r
691         <dc:Bounds height="50.0" width="50.0" x="1080.0" y="872.0"/>\r
692         <bpmndi:BPMNLabel>\r
693           <dc:Bounds height="0.0" width="0.0" x="1105.0" y="927.0"/>\r
694         </bpmndi:BPMNLabel>\r
695       </bpmndi:BPMNShape>\r
696       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ExclusiveGateway_100" targetElement="_BPMNShape_ScriptTask_28">\r
697         <di:waypoint xsi:type="dc:Point" x="1130.0" y="897.0"/>\r
698         <di:waypoint xsi:type="dc:Point" x="1173.0" y="898.0"/>\r
699         <bpmndi:BPMNLabel>\r
700           <dc:Bounds height="6.0" width="6.0" x="1148.0" y="897.0"/>\r
701         </bpmndi:BPMNLabel>\r
702       </bpmndi:BPMNEdge>\r
703       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_167" bpmnElement="ScriptTask_3">\r
704         <dc:Bounds height="80.0" width="100.0" x="941.0" y="858.0"/>\r
705       </bpmndi:BPMNShape>\r
706       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_21" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ExclusiveGateway_100" targetElement="_BPMNShape_ScriptTask_167">\r
707         <di:waypoint xsi:type="dc:Point" x="1080.0" y="897.0"/>\r
708         <di:waypoint xsi:type="dc:Point" x="1041.0" y="898.0"/>\r
709         <bpmndi:BPMNLabel>\r
710           <dc:Bounds height="6.0" width="6.0" x="1042.0" y="898.0"/>\r
711         </bpmndi:BPMNLabel>\r
712       </bpmndi:BPMNEdge>\r
713       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_96" bpmnElement="notifyCCD">\r
714         <dc:Bounds height="80.0" width="100.0" x="942.0" y="984.0"/>\r
715       </bpmndi:BPMNShape>\r
716       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_22" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_ScriptTask_167" targetElement="_BPMNShape_ServiceTask_96">\r
717         <di:waypoint xsi:type="dc:Point" x="991.0" y="938.0"/>\r
718         <di:waypoint xsi:type="dc:Point" x="992.0" y="984.0"/>\r
719         <bpmndi:BPMNLabel>\r
720           <dc:Bounds height="6.0" width="6.0" x="987.0" y="974.0"/>\r
721         </bpmndi:BPMNLabel>\r
722       </bpmndi:BPMNEdge>\r
723       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_150" bpmnElement="EndEvent_4">\r
724         <dc:Bounds height="36.0" width="36.0" x="974.0" y="1117.0"/>\r
725         <bpmndi:BPMNLabel>\r
726           <dc:Bounds height="0.0" width="0.0" x="992.0" y="1158.0"/>\r
727         </bpmndi:BPMNLabel>\r
728       </bpmndi:BPMNShape>\r
729       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_25" bpmnElement="SequenceFlow_13" sourceElement="_BPMNShape_ServiceTask_96" targetElement="_BPMNShape_EndEvent_150">\r
730         <di:waypoint xsi:type="dc:Point" x="991.0" y="1064.0"/>\r
731         <di:waypoint xsi:type="dc:Point" x="991.0" y="1090.0"/>\r
732         <di:waypoint xsi:type="dc:Point" x="992.0" y="1117.0"/>\r
733         <bpmndi:BPMNLabel>\r
734           <dc:Bounds height="6.0" width="6.0" x="990.0" y="1103.0"/>\r
735         </bpmndi:BPMNLabel>\r
736       </bpmndi:BPMNEdge>\r
737       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_247" bpmnElement="toggleSuccessIndicator">\r
738         <dc:Bounds height="80.0" width="100.0" x="1383.0" y="344.0"/>\r
739       </bpmndi:BPMNShape>\r
740       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_26" bpmnElement="SequenceFlow_17" sourceElement="_BPMNShape_ScriptTask_247" targetElement="_BPMNShape_EndEvent_64">\r
741         <di:waypoint xsi:type="dc:Point" x="1483.0" y="384.0"/>\r
742         <di:waypoint xsi:type="dc:Point" x="1560.0" y="384.0"/>\r
743         <bpmndi:BPMNLabel>\r
744           <dc:Bounds height="6.0" width="6.0" x="1499.0" y="384.0"/>\r
745         </bpmndi:BPMNLabel>\r
746       </bpmndi:BPMNEdge>\r
747       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_19" bpmnElement="errorHandlingSubProcess" isExpanded="true">\r
748         <dc:Bounds height="193.0" width="353.0" x="248.0" y="866.0"/>\r
749       </bpmndi:BPMNShape>\r
750       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_63" bpmnElement="catchErrors">\r
751         <dc:Bounds height="36.0" width="36.0" x="283.0" y="945.0"/>\r
752         <bpmndi:BPMNLabel>\r
753           <dc:Bounds height="22.0" width="40.0" x="281.0" y="986.0"/>\r
754         </bpmndi:BPMNLabel>\r
755       </bpmndi:BPMNShape>\r
756       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_213" bpmnElement="EndEvent_5">\r
757         <dc:Bounds height="36.0" width="36.0" x="523.0" y="945.0"/>\r
758         <bpmndi:BPMNLabel>\r
759           <dc:Bounds height="0.0" width="0.0" x="541.0" y="986.0"/>\r
760         </bpmndi:BPMNLabel>\r
761       </bpmndi:BPMNShape>\r
762       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_249" bpmnElement="assignError">\r
763         <dc:Bounds height="80.0" width="100.0" x="367.0" y="923.0"/>\r
764       </bpmndi:BPMNShape>\r
765       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_29" bpmnElement="SequenceFlow_22" sourceElement="_BPMNShape_StartEvent_63" targetElement="_BPMNShape_ScriptTask_249">\r
766         <di:waypoint xsi:type="dc:Point" x="319.0" y="963.0"/>\r
767         <di:waypoint xsi:type="dc:Point" x="367.0" y="963.0"/>\r
768         <bpmndi:BPMNLabel>\r
769           <dc:Bounds height="6.0" width="6.0" x="346.0" y="963.0"/>\r
770         </bpmndi:BPMNLabel>\r
771       </bpmndi:BPMNEdge>\r
772       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_34" bpmnElement="SequenceFlow_27" sourceElement="_BPMNShape_ScriptTask_249" targetElement="_BPMNShape_EndEvent_213">\r
773         <di:waypoint xsi:type="dc:Point" x="467.0" y="963.0"/>\r
774         <di:waypoint xsi:type="dc:Point" x="523.0" y="963.0"/>\r
775         <bpmndi:BPMNLabel>\r
776           <dc:Bounds height="6.0" width="6.0" x="492.0" y="963.0"/>\r
777         </bpmndi:BPMNLabel>\r
778       </bpmndi:BPMNEdge>\r
779       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_255" bpmnElement="toggleSuccess">\r
780         <dc:Bounds height="80.0" width="100.0" x="1224.0" y="552.0"/>\r
781       </bpmndi:BPMNShape>\r
782       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_36" bpmnElement="SequenceFlow_31" sourceElement="_BPMNShape_ScriptTask_255" targetElement="_BPMNShape_ExclusiveGateway_55">\r
783         <di:waypoint xsi:type="dc:Point" x="1274.0" y="632.0"/>\r
784         <di:waypoint xsi:type="dc:Point" x="1274.0" y="646.0"/>\r
785         <di:waypoint xsi:type="dc:Point" x="1273.0" y="646.0"/>\r
786         <di:waypoint xsi:type="dc:Point" x="1273.0" y="663.0"/>\r
787         <bpmndi:BPMNLabel>\r
788           <dc:Bounds height="6.0" width="6.0" x="1271.0" y="646.0"/>\r
789         </bpmndi:BPMNLabel>\r
790       </bpmndi:BPMNEdge>\r
791       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_22" bpmnElement="BoundaryEvent_2">\r
792         <dc:Bounds height="36.0" width="36.0" x="1427.0" y="1005.0"/>\r
793       </bpmndi:BPMNShape>\r
794       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_214" bpmnElement="EndEvent_6">\r
795         <dc:Bounds height="36.0" width="36.0" x="1488.0" y="1005.0"/>\r
796         <bpmndi:BPMNLabel>\r
797           <dc:Bounds height="0.0" width="0.0" x="1506.0" y="1046.0"/>\r
798         </bpmndi:BPMNLabel>\r
799       </bpmndi:BPMNShape>\r
800       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_35" bpmnElement="SequenceFlow_28" sourceElement="_BPMNShape_BoundaryEvent_22" targetElement="_BPMNShape_EndEvent_214">\r
801         <di:waypoint xsi:type="dc:Point" x="1463.0" y="1023.0"/>\r
802         <di:waypoint xsi:type="dc:Point" x="1488.0" y="1023.0"/>\r
803       </bpmndi:BPMNEdge>\r
804       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_40" bpmnElement="SequenceFlow_33" sourceElement="_BPMNShape_ServiceTask_90" targetElement="_BPMNShape_EndEvent_97">\r
805         <di:waypoint xsi:type="dc:Point" x="1395.0" y="1064.0"/>\r
806         <di:waypoint xsi:type="dc:Point" x="1395.0" y="1117.0"/>\r
807       </bpmndi:BPMNEdge>\r
808     </bpmndi:BPMNPlane>\r
809   </bpmndi:BPMNDiagram>\r
810 </bpmn2:definitions>