Flows fail to update status in requests DB
[so.git] / bpmn / MSOCommonBPMN / src / main / resources / subprocess / CompleteMsoProcess.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn2:definitions xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:bpmn2="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="_EsMs0HcuEeW2U_kkOHX1ZQ" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.4.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3   <bpmn2:process id="CompleteMsoProcess" name="CompleteMsoProcess" isExecutable="true">
4     <bpmn2:scriptTask id="preProcessRequest" name="Pre-Process Request" scriptFormat="groovy">
5       <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>
6       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
7       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
8 def preProcessRequestData = new CompleteMsoProcess()
9 preProcessRequestData.preProcessRequest(execution)
10
11 ]]></bpmn2:script>
12     </bpmn2:scriptTask>
13     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="preProcessRequest" targetRef="ExclusiveGateway_1r258d4" />
14     <bpmn2:startEvent id="StartEvent_1" name="Start With Message ">
15       <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>
16       <bpmn2:messageEventDefinition id="MessageEventDefinition_1" messageRef="Message_2" />
17     </bpmn2:startEvent>
18     <bpmn2:sequenceFlow id="SequenceFlow_18" name="" sourceRef="StartEvent_1" targetRef="preProcessRequest" />
19     <bpmn2:subProcess id="subProcessExceptionCompleteMSO" name="Sub Process Exception Complete MSO" triggeredByEvent="true">
20       <bpmn2:endEvent id="endEventExceptionCompleteMSO">
21         <bpmn2:extensionElements>
22           <camunda:connector>
23             <camunda:inputOutput>
24               <camunda:outputParameter name="DB_ADAPTER_ERROR">${CMSO_updateRequestResponse}</camunda:outputParameter>
25             </camunda:inputOutput>
26           </camunda:connector>
27         </bpmn2:extensionElements>
28         <bpmn2:incoming>SequenceFlow_1i1h3il</bpmn2:incoming>
29         <bpmn2:terminateEventDefinition id="MessageEventDefinition_3" />
30       </bpmn2:endEvent>
31       <bpmn2:startEvent id="startEventExceptionCompleteMSO">
32         <bpmn2:outgoing>SequenceFlow_1i1h3il</bpmn2:outgoing>
33         <bpmn2:errorEventDefinition id="ErrorEventDefinition_4" />
34       </bpmn2:startEvent>
35       <bpmn2:sequenceFlow id="SequenceFlow_1i1h3il" sourceRef="startEventExceptionCompleteMSO" targetRef="endEventExceptionCompleteMSO" />
36     </bpmn2:subProcess>
37     <bpmn2:endEvent id="EndEvent_4">
38       <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>
39       <bpmn2:errorEventDefinition id="ErrorEventDefinition_5" errorRef="Error_3" />
40     </bpmn2:endEvent>
41     <bpmn2:scriptTask id="ScriptTask_3" name="Prepare Infra&#10;&#10;Update DB Request" scriptFormat="groovy">
42       <bpmn2:incoming>SequenceFlow_127i45q</bpmn2:incoming>
43       <bpmn2:outgoing>SequenceFlow_10</bpmn2:outgoing>
44       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
45 def completeMsoProcess = new CompleteMsoProcess()
46 completeMsoProcess.setUpdateDBstatustoSuccessPayload(execution)]]></bpmn2:script>
47     </bpmn2:scriptTask>
48     <bpmn2:sequenceFlow id="SequenceFlow_10" name="" sourceRef="ScriptTask_3" targetRef="updateInfraRequest" />
49     <bpmn2:serviceTask id="updateInfraRequest" name="Update Infra DB status to SUCCESS">
50       <bpmn2:extensionElements>
51         <camunda:connector>
52           <camunda:inputOutput>
53             <camunda:inputParameter name="url">${URN_mso_adapters_openecomp_db_endpoint}</camunda:inputParameter>
54             <camunda:inputParameter name="payload"><![CDATA[${execution.getVariable("CMSO_setUpdateDBstatustoSuccessPayload")}]]></camunda:inputParameter>
55             <camunda:inputParameter name="headers">
56               <camunda:map>
57                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>
58                 <camunda:entry key="Authorization">#{BasicAuthHeaderValueDB}</camunda:entry>
59               </camunda:map>
60             </camunda:inputParameter>
61             <camunda:inputParameter name="method">POST</camunda:inputParameter>
62             <camunda:outputParameter name="CMSO_updateRequestResponse"><![CDATA[${statusCode == null || statusCode == 204 ? "" : response}]]></camunda:outputParameter>
63             <camunda:outputParameter name="CMSO_updateRequestResponseCode">${statusCode}</camunda:outputParameter>
64           </camunda:inputOutput>
65           <camunda:connectorId>soap-http-connector</camunda:connectorId>
66         </camunda:connector>
67       </bpmn2:extensionElements>
68       <bpmn2:incoming>SequenceFlow_10</bpmn2:incoming>
69       <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
70     </bpmn2:serviceTask>
71     <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="updateInfraRequest" targetRef="ExclusiveGateway_7" />
72     <bpmn2:scriptTask id="BuildErrorMessage" name="Build Error Message" scriptFormat="groovy">
73       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
74       <bpmn2:incoming>SequenceFlow_0mipf25</bpmn2:incoming>
75       <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>
76       <bpmn2:script><![CDATA[//println "INSIDE --> Build Error Message @@@@"
77 //println "CMSO_updateRequestResponse IS --> " + execution.getVariable("CMSO_updateRequestResponse")
78 import org.openecomp.mso.bpmn.common.scripts.*
79 def buildDataErrorMessage = new CompleteMsoProcess()
80 buildDataErrorMessage.buildDataError(execution, "Complete MSO  -- Update DB status to SUCCESS -- Failed")]]></bpmn2:script>
81     </bpmn2:scriptTask>
82     <bpmn2:sequenceFlow id="SequenceFlow_9" name="" sourceRef="BuildErrorMessage" targetRef="EndEvent_4" />
83     <bpmn2:exclusiveGateway id="ExclusiveGateway_7" default="SequenceFlow_1">
84       <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
85       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
86       <bpmn2:outgoing>SequenceFlow_03z8rch</bpmn2:outgoing>
87     </bpmn2:exclusiveGateway>
88     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="ExclusiveGateway_7" targetRef="BuildErrorMessage" />
89     <bpmn2:boundaryEvent id="BoundaryEvent_7" name="" attachedToRef="updateInfraRequest">
90       <bpmn2:outgoing>SequenceFlow_0mipf25</bpmn2:outgoing>
91       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_84" errorRef="Error_1" />
92     </bpmn2:boundaryEvent>
93     <bpmn2:endEvent id="EndEvent_1">
94       <bpmn2:incoming>SequenceFlow_1pzb94j</bpmn2:incoming>
95       <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_2" />
96     </bpmn2:endEvent>
97     <bpmn2:sequenceFlow id="SequenceFlow_0mipf25" name="Connect Fault" sourceRef="BoundaryEvent_7" targetRef="BuildErrorMessage" />
98     <bpmn2:callActivity id="CallActivity_101qf6x" name="Call Notification Service" calledElement="${URN_mso_workflow_notification_name}">
99       <bpmn2:extensionElements>
100         <camunda:in source="mso-request-id" target="mso-request-id" />
101         <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
102         <camunda:in variables="all" />
103         <camunda:out variables="all" />
104       </bpmn2:extensionElements>
105       <bpmn2:incoming>SequenceFlow_81</bpmn2:incoming>
106       <bpmn2:outgoing>SequenceFlow_13qdn1s</bpmn2:outgoing>
107     </bpmn2:callActivity>
108     <bpmn2:sequenceFlow id="SequenceFlow_13qdn1s" sourceRef="CallActivity_101qf6x" targetRef="ParallelGateway_7" />
109     <bpmn2:exclusiveGateway id="ExclusiveGateway_3" name="Active Request?" default="SequenceFlow_1dptl35">
110       <bpmn2:incoming>SequenceFlow_067veaf</bpmn2:incoming>
111       <bpmn2:outgoing>SequenceFlow_81</bpmn2:outgoing>
112       <bpmn2:outgoing>SequenceFlow_1dptl35</bpmn2:outgoing>
113     </bpmn2:exclusiveGateway>
114     <bpmn2:exclusiveGateway id="ParallelGateway_7">
115       <bpmn2:incoming>SequenceFlow_1dptl35</bpmn2:incoming>
116       <bpmn2:incoming>SequenceFlow_13qdn1s</bpmn2:incoming>
117       <bpmn2:outgoing>SequenceFlow_1hpvwyt</bpmn2:outgoing>
118     </bpmn2:exclusiveGateway>
119     <bpmn2:sequenceFlow id="SequenceFlow_81" name="Yes" sourceRef="ExclusiveGateway_3" targetRef="CallActivity_101qf6x">
120       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CMSO_notification-url-Ok") ==true || execution.getVariable("CMSO_request_id-Ok") ==true}]]></bpmn2:conditionExpression>
121     </bpmn2:sequenceFlow>
122     <bpmn2:sequenceFlow id="SequenceFlow_1dptl35" sourceRef="ExclusiveGateway_3" targetRef="ParallelGateway_7" />
123     <bpmn2:parallelGateway id="ExclusiveGateway_1r258d4">
124       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
125       <bpmn2:outgoing>SequenceFlow_067veaf</bpmn2:outgoing>
126       <bpmn2:outgoing>SequenceFlow_0xe5zck</bpmn2:outgoing>
127     </bpmn2:parallelGateway>
128     <bpmn2:parallelGateway id="ExclusiveGateway_019d74x">
129       <bpmn2:incoming>SequenceFlow_12he9a1</bpmn2:incoming>
130       <bpmn2:incoming>SequenceFlow_1hpvwyt</bpmn2:incoming>
131       <bpmn2:outgoing>SequenceFlow_1g8ig3h</bpmn2:outgoing>
132     </bpmn2:parallelGateway>
133     <bpmn2:sequenceFlow id="SequenceFlow_1g8ig3h" sourceRef="ExclusiveGateway_019d74x" targetRef="ScriptTask_0vyk0lo" />
134     <bpmn2:sequenceFlow id="SequenceFlow_067veaf" sourceRef="ExclusiveGateway_1r258d4" targetRef="ExclusiveGateway_3" />
135     <bpmn2:exclusiveGateway id="ExclusiveGateway_08yqzk9" name="Infra Check" default="SequenceFlow_1ffkc0n">
136       <bpmn2:incoming>SequenceFlow_0xe5zck</bpmn2:incoming>
137       <bpmn2:outgoing>SequenceFlow_127i45q</bpmn2:outgoing>
138       <bpmn2:outgoing>SequenceFlow_1ffkc0n</bpmn2:outgoing>
139     </bpmn2:exclusiveGateway>
140     <bpmn2:sequenceFlow id="SequenceFlow_0xe5zck" sourceRef="ExclusiveGateway_1r258d4" targetRef="ExclusiveGateway_08yqzk9" />
141     <bpmn2:sequenceFlow id="SequenceFlow_127i45q" sourceRef="ExclusiveGateway_08yqzk9" targetRef="ScriptTask_3">
142       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CMSO_request_id-Ok") ==false}]]></bpmn2:conditionExpression>
143     </bpmn2:sequenceFlow>
144     <bpmn2:exclusiveGateway id="ExclusiveGateway_1utv1g8">
145       <bpmn2:incoming>SequenceFlow_03z8rch</bpmn2:incoming>
146       <bpmn2:incoming>SequenceFlow_1ffkc0n</bpmn2:incoming>
147       <bpmn2:outgoing>SequenceFlow_12he9a1</bpmn2:outgoing>
148     </bpmn2:exclusiveGateway>
149     <bpmn2:sequenceFlow id="SequenceFlow_03z8rch" sourceRef="ExclusiveGateway_7" targetRef="ExclusiveGateway_1utv1g8">
150       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CMSO_updateRequestResponseCode")==200}]]></bpmn2:conditionExpression>
151     </bpmn2:sequenceFlow>
152     <bpmn2:sequenceFlow id="SequenceFlow_1ffkc0n" sourceRef="ExclusiveGateway_08yqzk9" targetRef="ExclusiveGateway_1utv1g8" />
153     <bpmn2:sequenceFlow id="SequenceFlow_12he9a1" sourceRef="ExclusiveGateway_1utv1g8" targetRef="ExclusiveGateway_019d74x" />
154     <bpmn2:sequenceFlow id="SequenceFlow_1hpvwyt" sourceRef="ParallelGateway_7" targetRef="ExclusiveGateway_019d74x" />
155     <bpmn2:scriptTask id="ScriptTask_0vyk0lo" name="Prepare Response" scriptFormat="groovy">
156       <bpmn2:incoming>SequenceFlow_1g8ig3h</bpmn2:incoming>
157       <bpmn2:outgoing>SequenceFlow_1pzb94j</bpmn2:outgoing>
158       <bpmn2:script><![CDATA[println "INSIDE --> Complete MSO Process Done SUCCESSFULLY"
159 import org.openecomp.mso.bpmn.common.scripts.*
160 def postProcessResponseData = new CompleteMsoProcess()
161 postProcessResponseData.postProcessResponse(execution)
162 println "CompleteMsoProcess Response -->" + "\n" + execution.getVariable("CompletionHandlerResponse")]]></bpmn2:script>
163     </bpmn2:scriptTask>
164     <bpmn2:sequenceFlow id="SequenceFlow_1pzb94j" sourceRef="ScriptTask_0vyk0lo" targetRef="EndEvent_1" />
165   </bpmn2:process>
166   <bpmn2:message id="Message_2" name="CompleteMsoProcessRequest" />
167   <bpmn2:error id="Error_3" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
168   <bpmn2:error id="Error_1" name="Java Lang Exception" errorCode="java.lang.Exception" />
169   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
170     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CompleteMsoProcess">
171       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_41" bpmnElement="StartEvent_1">
172         <dc:Bounds x="67" y="297" width="36" height="36" />
173         <bpmndi:BPMNLabel>
174           <dc:Bounds x="93" y="338" width="50" height="24" />
175         </bpmndi:BPMNLabel>
176       </bpmndi:BPMNShape>
177       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_34" bpmnElement="preProcessRequest">
178         <dc:Bounds x="167" y="275" width="100" height="80" />
179       </bpmndi:BPMNShape>
180       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_34" targetElement="ParallelGateway_1domt5l_di">
181         <di:waypoint xsi:type="dc:Point" x="267" y="316" />
182         <di:waypoint xsi:type="dc:Point" x="322" y="316" />
183         <bpmndi:BPMNLabel>
184           <dc:Bounds x="295" y="301" width="0" height="0" />
185         </bpmndi:BPMNLabel>
186       </bpmndi:BPMNEdge>
187       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_20" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_StartEvent_41" targetElement="_BPMNShape_ScriptTask_34">
188         <di:waypoint xsi:type="dc:Point" x="103" y="315" />
189         <di:waypoint xsi:type="dc:Point" x="167" y="315" />
190         <bpmndi:BPMNLabel>
191           <dc:Bounds x="135" y="300" width="0" height="0" />
192         </bpmndi:BPMNLabel>
193       </bpmndi:BPMNEdge>
194       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_51" bpmnElement="updateInfraRequest">
195         <dc:Bounds x="657" y="451" width="100" height="80" />
196       </bpmndi:BPMNShape>
197       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_13" bpmnElement="subProcessExceptionCompleteMSO" isExpanded="true">
198         <dc:Bounds x="171" y="709" width="427" height="169" />
199       </bpmndi:BPMNShape>
200       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_110" bpmnElement="endEventExceptionCompleteMSO">
201         <dc:Bounds x="471" y="776" width="36" height="36" />
202         <bpmndi:BPMNLabel>
203           <dc:Bounds x="489" y="817" width="0" height="0" />
204         </bpmndi:BPMNLabel>
205       </bpmndi:BPMNShape>
206       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_51" bpmnElement="startEventExceptionCompleteMSO">
207         <dc:Bounds x="219" y="776" width="36" height="36" />
208         <bpmndi:BPMNLabel>
209           <dc:Bounds x="237" y="817" width="0" height="0" />
210         </bpmndi:BPMNLabel>
211       </bpmndi:BPMNShape>
212       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_63" bpmnElement="ExclusiveGateway_7" isMarkerVisible="true">
213         <dc:Bounds x="816" y="465" width="50" height="50" />
214         <bpmndi:BPMNLabel>
215           <dc:Bounds x="841" y="520" width="0" height="0" />
216         </bpmndi:BPMNLabel>
217       </bpmndi:BPMNShape>
218       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_51" targetElement="_BPMNShape_ExclusiveGateway_63">
219         <di:waypoint xsi:type="dc:Point" x="757" y="491" />
220         <di:waypoint xsi:type="dc:Point" x="816" y="490" />
221         <bpmndi:BPMNLabel>
222           <dc:Bounds x="942" y="534" width="0" height="0" />
223         </bpmndi:BPMNLabel>
224       </bpmndi:BPMNEdge>
225       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_111" bpmnElement="EndEvent_4">
226         <dc:Bounds x="953" y="578" width="36" height="36" />
227         <bpmndi:BPMNLabel>
228           <dc:Bounds x="971" y="619" width="0" height="0" />
229         </bpmndi:BPMNLabel>
230       </bpmndi:BPMNShape>
231       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_76" bpmnElement="BuildErrorMessage">
232         <dc:Bounds x="792" y="556" width="100" height="80" />
233       </bpmndi:BPMNShape>
234       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_ExclusiveGateway_63" targetElement="_BPMNShape_ScriptTask_76">
235         <di:waypoint xsi:type="dc:Point" x="841" y="515" />
236         <di:waypoint xsi:type="dc:Point" x="842" y="556" />
237         <bpmndi:BPMNLabel>
238           <dc:Bounds x="886" y="342" width="0" height="0" />
239         </bpmndi:BPMNLabel>
240       </bpmndi:BPMNEdge>
241       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_ScriptTask_76" targetElement="_BPMNShape_EndEvent_111">
242         <di:waypoint xsi:type="dc:Point" x="892" y="596" />
243         <di:waypoint xsi:type="dc:Point" x="953" y="596" />
244         <bpmndi:BPMNLabel>
245           <dc:Bounds x="923" y="596" width="0" height="0" />
246         </bpmndi:BPMNLabel>
247       </bpmndi:BPMNEdge>
248       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_128" bpmnElement="EndEvent_1">
249         <dc:Bounds x="1270" y="297" width="36" height="36" />
250         <bpmndi:BPMNLabel>
251           <dc:Bounds x="1288" y="338" width="0" height="0" />
252         </bpmndi:BPMNLabel>
253       </bpmndi:BPMNShape>
254       <bpmndi:BPMNShape id="_BPMNShape_BoundaryEvent_29" bpmnElement="BoundaryEvent_7">
255         <dc:Bounds x="686" y="513" width="36" height="36" />
256         <bpmndi:BPMNLabel>
257           <dc:Bounds x="979" y="395" width="0" height="0" />
258         </bpmndi:BPMNLabel>
259       </bpmndi:BPMNShape>
260       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_88" bpmnElement="ScriptTask_3">
261         <dc:Bounds x="506" y="451" width="100" height="80" />
262       </bpmndi:BPMNShape>
263       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_11" bpmnElement="SequenceFlow_10" sourceElement="_BPMNShape_ScriptTask_88" targetElement="_BPMNShape_ScriptTask_51">
264         <di:waypoint xsi:type="dc:Point" x="606" y="491" />
265         <di:waypoint xsi:type="dc:Point" x="657" y="491" />
266         <bpmndi:BPMNLabel>
267           <dc:Bounds x="626" y="515" width="0" height="0" />
268         </bpmndi:BPMNLabel>
269       </bpmndi:BPMNEdge>
270       <bpmndi:BPMNEdge id="SequenceFlow_0mipf25_di" bpmnElement="SequenceFlow_0mipf25">
271         <di:waypoint xsi:type="dc:Point" x="704" y="549" />
272         <di:waypoint xsi:type="dc:Point" x="704" y="596" />
273         <di:waypoint xsi:type="dc:Point" x="792" y="596" />
274         <bpmndi:BPMNLabel>
275           <dc:Bounds x="623" y="563" width="68" height="12" />
276         </bpmndi:BPMNLabel>
277       </bpmndi:BPMNEdge>
278       <bpmndi:BPMNShape id="CallActivity_101qf6x_di" bpmnElement="CallActivity_101qf6x">
279         <dc:Bounds x="633" y="186" width="100" height="80" />
280       </bpmndi:BPMNShape>
281       <bpmndi:BPMNEdge id="SequenceFlow_13qdn1s_di" bpmnElement="SequenceFlow_13qdn1s">
282         <di:waypoint xsi:type="dc:Point" x="733" y="226" />
283         <di:waypoint xsi:type="dc:Point" x="888" y="226" />
284         <bpmndi:BPMNLabel>
285           <dc:Bounds x="811" y="211" width="0" height="0" />
286         </bpmndi:BPMNLabel>
287       </bpmndi:BPMNEdge>
288       <bpmndi:BPMNEdge id="SequenceFlow_1i1h3il_di" bpmnElement="SequenceFlow_1i1h3il">
289         <di:waypoint xsi:type="dc:Point" x="255" y="794" />
290         <di:waypoint xsi:type="dc:Point" x="471" y="794" />
291         <bpmndi:BPMNLabel>
292           <dc:Bounds x="363" y="779" width="0" height="0" />
293         </bpmndi:BPMNLabel>
294       </bpmndi:BPMNEdge>
295       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_60" bpmnElement="ExclusiveGateway_3" isMarkerVisible="true">
296         <dc:Bounds x="394" y="201" width="50" height="50" />
297         <bpmndi:BPMNLabel>
298           <dc:Bounds x="326" y="196" width="80" height="12" />
299         </bpmndi:BPMNLabel>
300       </bpmndi:BPMNShape>
301       <bpmndi:BPMNShape id="_BPMNShape_ParallelGateway_9" bpmnElement="ParallelGateway_7" isMarkerVisible="true">
302         <dc:Bounds x="888" y="201" width="50" height="50" />
303         <bpmndi:BPMNLabel>
304           <dc:Bounds x="913" y="256" width="0" height="0" />
305         </bpmndi:BPMNLabel>
306       </bpmndi:BPMNShape>
307       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_82" bpmnElement="SequenceFlow_81">
308         <di:waypoint xsi:type="dc:Point" x="444" y="226" />
309         <di:waypoint xsi:type="dc:Point" x="633" y="226" />
310         <bpmndi:BPMNLabel>
311           <dc:Bounds x="552" y="234" width="18" height="12" />
312         </bpmndi:BPMNLabel>
313       </bpmndi:BPMNEdge>
314       <bpmndi:BPMNEdge id="SequenceFlow_1dptl35_di" bpmnElement="SequenceFlow_1dptl35">
315         <di:waypoint xsi:type="dc:Point" x="419" y="251" />
316         <di:waypoint xsi:type="dc:Point" x="419" y="333" />
317         <di:waypoint xsi:type="dc:Point" x="913" y="333" />
318         <di:waypoint xsi:type="dc:Point" x="913" y="251" />
319         <bpmndi:BPMNLabel>
320           <dc:Bounds x="448" y="273" width="0" height="0" />
321         </bpmndi:BPMNLabel>
322       </bpmndi:BPMNEdge>
323       <bpmndi:BPMNShape id="ParallelGateway_1domt5l_di" bpmnElement="ExclusiveGateway_1r258d4">
324         <dc:Bounds x="322" y="291" width="50" height="50" />
325         <bpmndi:BPMNLabel>
326           <dc:Bounds x="347" y="341" width="0" height="0" />
327         </bpmndi:BPMNLabel>
328       </bpmndi:BPMNShape>
329       <bpmndi:BPMNShape id="ParallelGateway_04tefv6_di" bpmnElement="ExclusiveGateway_019d74x">
330         <dc:Bounds x="999" y="290" width="50" height="50" />
331         <bpmndi:BPMNLabel>
332           <dc:Bounds x="1024" y="340" width="0" height="0" />
333         </bpmndi:BPMNLabel>
334       </bpmndi:BPMNShape>
335       <bpmndi:BPMNEdge id="SequenceFlow_1g8ig3h_di" bpmnElement="SequenceFlow_1g8ig3h">
336         <di:waypoint xsi:type="dc:Point" x="1049" y="315" />
337         <di:waypoint xsi:type="dc:Point" x="1104" y="315" />
338         <bpmndi:BPMNLabel>
339           <dc:Bounds x="1077" y="300" width="0" height="0" />
340         </bpmndi:BPMNLabel>
341       </bpmndi:BPMNEdge>
342       <bpmndi:BPMNEdge id="SequenceFlow_067veaf_di" bpmnElement="SequenceFlow_067veaf">
343         <di:waypoint xsi:type="dc:Point" x="347" y="291" />
344         <di:waypoint xsi:type="dc:Point" x="347" y="226" />
345         <di:waypoint xsi:type="dc:Point" x="394" y="226" />
346         <bpmndi:BPMNLabel>
347           <dc:Bounds x="362" y="258.5" width="0" height="0" />
348         </bpmndi:BPMNLabel>
349       </bpmndi:BPMNEdge>
350       <bpmndi:BPMNShape id="ExclusiveGateway_08yqzk9_di" bpmnElement="ExclusiveGateway_08yqzk9" isMarkerVisible="true">
351         <dc:Bounds x="394" y="466" width="50" height="50" />
352         <bpmndi:BPMNLabel>
353           <dc:Bounds x="390" y="516" width="57" height="12" />
354         </bpmndi:BPMNLabel>
355       </bpmndi:BPMNShape>
356       <bpmndi:BPMNEdge id="SequenceFlow_0xe5zck_di" bpmnElement="SequenceFlow_0xe5zck">
357         <di:waypoint xsi:type="dc:Point" x="347" y="341" />
358         <di:waypoint xsi:type="dc:Point" x="347" y="491" />
359         <di:waypoint xsi:type="dc:Point" x="394" y="491" />
360         <bpmndi:BPMNLabel>
361           <dc:Bounds x="362" y="416" width="0" height="0" />
362         </bpmndi:BPMNLabel>
363       </bpmndi:BPMNEdge>
364       <bpmndi:BPMNEdge id="SequenceFlow_127i45q_di" bpmnElement="SequenceFlow_127i45q">
365         <di:waypoint xsi:type="dc:Point" x="444" y="491" />
366         <di:waypoint xsi:type="dc:Point" x="473" y="491" />
367         <di:waypoint xsi:type="dc:Point" x="473" y="491" />
368         <di:waypoint xsi:type="dc:Point" x="506" y="491" />
369         <bpmndi:BPMNLabel>
370           <dc:Bounds x="488" y="491" width="0" height="0" />
371         </bpmndi:BPMNLabel>
372       </bpmndi:BPMNEdge>
373       <bpmndi:BPMNShape id="ExclusiveGateway_1utv1g8_di" bpmnElement="ExclusiveGateway_1utv1g8" isMarkerVisible="true">
374         <dc:Bounds x="999" y="391" width="50" height="50" />
375         <bpmndi:BPMNLabel>
376           <dc:Bounds x="1024" y="441" width="0" height="0" />
377         </bpmndi:BPMNLabel>
378       </bpmndi:BPMNShape>
379       <bpmndi:BPMNEdge id="SequenceFlow_03z8rch_di" bpmnElement="SequenceFlow_03z8rch">
380         <di:waypoint xsi:type="dc:Point" x="866" y="490" />
381         <di:waypoint xsi:type="dc:Point" x="1024" y="490" />
382         <di:waypoint xsi:type="dc:Point" x="1024" y="441" />
383         <bpmndi:BPMNLabel>
384           <dc:Bounds x="945" y="475" width="0" height="0" />
385         </bpmndi:BPMNLabel>
386       </bpmndi:BPMNEdge>
387       <bpmndi:BPMNEdge id="SequenceFlow_1ffkc0n_di" bpmnElement="SequenceFlow_1ffkc0n">
388         <di:waypoint xsi:type="dc:Point" x="419" y="466" />
389         <di:waypoint xsi:type="dc:Point" x="419" y="416" />
390         <di:waypoint xsi:type="dc:Point" x="999" y="416" />
391         <bpmndi:BPMNLabel>
392           <dc:Bounds x="434" y="441" width="0" height="0" />
393         </bpmndi:BPMNLabel>
394       </bpmndi:BPMNEdge>
395       <bpmndi:BPMNEdge id="SequenceFlow_12he9a1_di" bpmnElement="SequenceFlow_12he9a1">
396         <di:waypoint xsi:type="dc:Point" x="1024" y="391" />
397         <di:waypoint xsi:type="dc:Point" x="1024" y="367" />
398         <di:waypoint xsi:type="dc:Point" x="1024" y="367" />
399         <di:waypoint xsi:type="dc:Point" x="1024" y="340" />
400         <bpmndi:BPMNLabel>
401           <dc:Bounds x="1039" y="367" width="0" height="0" />
402         </bpmndi:BPMNLabel>
403       </bpmndi:BPMNEdge>
404       <bpmndi:BPMNEdge id="SequenceFlow_1hpvwyt_di" bpmnElement="SequenceFlow_1hpvwyt">
405         <di:waypoint xsi:type="dc:Point" x="938" y="226" />
406         <di:waypoint xsi:type="dc:Point" x="1024" y="226" />
407         <di:waypoint xsi:type="dc:Point" x="1024" y="290" />
408         <bpmndi:BPMNLabel>
409           <dc:Bounds x="981" y="211" width="0" height="0" />
410         </bpmndi:BPMNLabel>
411       </bpmndi:BPMNEdge>
412       <bpmndi:BPMNShape id="ScriptTask_0vyk0lo_di" bpmnElement="ScriptTask_0vyk0lo">
413         <dc:Bounds x="1104" y="275" width="100" height="80" />
414       </bpmndi:BPMNShape>
415       <bpmndi:BPMNEdge id="SequenceFlow_1pzb94j_di" bpmnElement="SequenceFlow_1pzb94j">
416         <di:waypoint xsi:type="dc:Point" x="1204" y="315" />
417         <di:waypoint xsi:type="dc:Point" x="1270" y="315" />
418         <bpmndi:BPMNLabel>
419           <dc:Bounds x="1237" y="290" width="0" height="0" />
420         </bpmndi:BPMNLabel>
421       </bpmndi:BPMNEdge>
422     </bpmndi:BPMNPlane>
423   </bpmndi:BPMNDiagram>
424 </bpmn2:definitions>