Initial OpenECOMP MSO commit
[so.git] / bpmn / MSOGammaBPMN / src / main / resources / process / Infrastructure / CreateServiceInstanceInfra.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="_MagIIMOUEeW8asg-vCEgWQ" exporter="camunda modeler" exporterVersion="2.7.0" targetNamespace="http://activiti.org/bpmn">\r
3   <bpmn2:process id="CreateServiceInstanceInfra" name="CreateServiceInstanceInfra" isExecutable="true">\r
4     <bpmn2:scriptTask id="callRESTQueryNetworkId_ScriptTask" name="Call REST PUT to create SI in AAI" scriptFormat="groovy">\r
5       <bpmn2:incoming>isReturnCode404_Yes_SequenceFlow</bpmn2:incoming>\r
6       <bpmn2:outgoing>SequenceFlow_46</bpmn2:outgoing>\r
7       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
8 def CreateServiceInstanceInfra = new CreateServiceInstanceInfra()
9 CreateServiceInstanceInfra.callRESTCreateServiceInstanceInAAI(execution)]]></bpmn2:script>\r
10     </bpmn2:scriptTask>\r
11     <bpmn2:sequenceFlow id="SequenceFlow_46" name="" sourceRef="callRESTQueryNetworkId_ScriptTask" targetRef="prepareDBInfraRequest_ScriptTask"/>\r
12     <bpmn2:subProcess id="subProcessException_SubProcess" name="Subprocess For Exception / FalloutHandler " triggeredByEvent="true">\r
13       <bpmn2:scriptTask id="prepareDBInfraErrorRequest_ScriptTask" name="Prepare DB Infra Error" scriptFormat="groovy">\r
14         <bpmn2:incoming>SequenceFlow_47</bpmn2:incoming>\r
15         <bpmn2:outgoing>SequenceFlow_22</bpmn2:outgoing>\r
16         <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
17 def CreateServiceInstanceInfra = new CreateServiceInstanceInfra()
18 CreateServiceInstanceInfra.prepareDBRequestError(execution)]]></bpmn2:script>\r
19       </bpmn2:scriptTask>\r
20       <bpmn2:sequenceFlow id="SequenceFlow_22" name="" sourceRef="prepareDBInfraErrorRequest_ScriptTask" targetRef="callDBInfraErrorUpdate_ServiceTask_1"/>\r
21       <bpmn2:serviceTask id="callDBInfraErrorUpdate_ServiceTask_1" name="Call DB Infra Error Update">\r
22         <bpmn2:extensionElements>\r
23           <camunda:connector>\r
24             <camunda:connectorId>http-connector</camunda:connectorId>\r
25             <camunda:inputOutput>\r
26               <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>\r
27               <camunda:inputParameter name="payload">${CRESI_createDBInfraErrorRequest}</camunda:inputParameter>\r
28               <camunda:inputParameter name="headers">\r
29                 <camunda:map>\r
30                   <camunda:entry key="content-type">application/soap+xml</camunda:entry>\r
31                 </camunda:map>\r
32               </camunda:inputParameter>\r
33               <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
34               <camunda:outputParameter name="CRESI_errorDBInfraErrorResponse">${response}</camunda:outputParameter>\r
35               <camunda:outputParameter name="CRESI_errorDBInfraErrorErrorCode">${statusCode}</camunda:outputParameter>\r
36             </camunda:inputOutput>\r
37           </camunda:connector>\r
38         </bpmn2:extensionElements>\r
39         <bpmn2:incoming>SequenceFlow_22</bpmn2:incoming>\r
40         <bpmn2:outgoing>SequenceFlow_19</bpmn2:outgoing>\r
41       </bpmn2:serviceTask>\r
42       <bpmn2:sequenceFlow id="SequenceFlow_19" name="" sourceRef="callDBInfraErrorUpdate_ServiceTask_1" targetRef="prepareFalloutHandler_ScriptTask"/>\r
43       <bpmn2:scriptTask id="prepareFalloutHandler_ScriptTask" name="Prepare FalloutHandler" scriptFormat="groovy">\r
44         <bpmn2:incoming>SequenceFlow_19</bpmn2:incoming>\r
45         <bpmn2:outgoing>SequenceFlow_25</bpmn2:outgoing>\r
46         <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
47 def CreateServiceInstanceInfra = new CreateServiceInstanceInfra()
48 CreateServiceInstanceInfra.buildErrorResponse(execution)
49 ]]></bpmn2:script>\r
50       </bpmn2:scriptTask>\r
51       <bpmn2:sequenceFlow id="SequenceFlow_25" name="" sourceRef="prepareFalloutHandler_ScriptTask" targetRef="sendSyncError_ScriptTask"/>\r
52       <bpmn2:scriptTask id="sendSyncError_ScriptTask" name="Send Sync Ack Error" scriptFormat="groovy">\r
53         <bpmn2:incoming>SequenceFlow_25</bpmn2:incoming>\r
54         <bpmn2:outgoing>SequenceFlow_33</bpmn2:outgoing>\r
55         <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
56 def CreateServiceInstanceInfra = new CreateServiceInstanceInfra()
57 CreateServiceInstanceInfra.sendSyncError(execution)]]></bpmn2:script>\r
58       </bpmn2:scriptTask>\r
59       <bpmn2:sequenceFlow id="SequenceFlow_33" name="" sourceRef="sendSyncError_ScriptTask" targetRef="faultHandler_CallActivity"/>\r
60       <bpmn2:callActivity id="faultHandler_CallActivity" name="Call FalloutHandlerV1" calledElement="FalloutHandler">\r
61         <bpmn2:extensionElements>\r
62           <camunda:in variables="all"/>\r
63           <camunda:out variables="all"/>\r
64           <camunda:in source="CRESI_FalloutHandlerRequest" target="FalloutHandlerRequest"/>\r
65           <camunda:in source="requestId" target="requestId"/>\r
66           <camunda:in source="serviceInstanceId" target="serviceInstanceId"/>\r
67           <camunda:out source="FH_ResponseCode" target="FH_ResponseCode"/>\r
68           <camunda:out source="FalloutHandlerResponse" target="FalloutHandlerResponse"/>\r
69           <camunda:out source="FH_ErrorResponse" target="FH_ErrorResponse"/>\r
70         </bpmn2:extensionElements>\r
71         <bpmn2:incoming>SequenceFlow_33</bpmn2:incoming>\r
72         <bpmn2:outgoing>SequenceFlow_18</bpmn2:outgoing>\r
73       </bpmn2:callActivity>\r
74       <bpmn2:sequenceFlow id="SequenceFlow_18" name="" sourceRef="faultHandler_CallActivity" targetRef="EndEvent_4"/>\r
75       <bpmn2:endEvent id="EndEvent_4">\r
76         <bpmn2:incoming>SequenceFlow_18</bpmn2:incoming>\r
77       </bpmn2:endEvent>\r
78       <bpmn2:startEvent id="subProcessStart_StartEvent" name="Fault Start">\r
79         <bpmn2:outgoing>SequenceFlow_47</bpmn2:outgoing>\r
80         <bpmn2:errorEventDefinition id="ErrorEventDefinition_1"/>\r
81       </bpmn2:startEvent>\r
82       <bpmn2:sequenceFlow id="SequenceFlow_47" name="" sourceRef="subProcessStart_StartEvent" targetRef="prepareDBInfraErrorRequest_ScriptTask"/>\r
83     </bpmn2:subProcess>\r
84     <bpmn2:scriptTask id="prepareDBInfraRequest_ScriptTask" name="Prepare DB Infra Request" scriptFormat="groovy">\r
85       <bpmn2:incoming>SequenceFlow_46</bpmn2:incoming>\r
86       <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>\r
87       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
88 def CreateServiceInstanceInfra = new CreateServiceInstanceInfra()
89 CreateServiceInstanceInfra.prepareDBRequest(execution)
90
91 ]]></bpmn2:script>\r
92     </bpmn2:scriptTask>\r
93     <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="prepareDBInfraRequest_ScriptTask" targetRef="callDBInfra_ServiceTask"/>\r
94     <bpmn2:serviceTask id="callDBInfra_ServiceTask" name="Call DB Infra Update">\r
95       <bpmn2:extensionElements>\r
96         <camunda:connector>\r
97           <camunda:connectorId>http-connector</camunda:connectorId>\r
98           <camunda:inputOutput>\r
99             <camunda:inputParameter name="url">${URN_mso_adapters_db_endpoint}</camunda:inputParameter>\r
100             <camunda:inputParameter name="payload">${CRESI_createDBRequest}</camunda:inputParameter>\r
101             <camunda:inputParameter name="headers">\r
102               <camunda:map>\r
103                 <camunda:entry key="content-type">application/soap+xml</camunda:entry>\r
104               </camunda:map>\r
105             </camunda:inputParameter>\r
106             <camunda:inputParameter name="method">POST</camunda:inputParameter>\r
107             <camunda:outputParameter name="CRESI_createDBResponse">${response}</camunda:outputParameter>\r
108             <camunda:outputParameter name="CRESI_createDBCode">${statusCode}</camunda:outputParameter>\r
109           </camunda:inputOutput>\r
110         </camunda:connector>\r
111       </bpmn2:extensionElements>\r
112       <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>\r
113       <bpmn2:outgoing>SequenceFlow_27</bpmn2:outgoing>\r
114     </bpmn2:serviceTask>\r
115     <bpmn2:sequenceFlow id="SequenceFlow_27" name="" sourceRef="callDBInfra_ServiceTask" targetRef="postProcessAndCompletionRequest_ScriptTask"/>\r
116     <bpmn2:scriptTask id="postProcessAndCompletionRequest_ScriptTask" name="Post Process &amp; Completion Request" scriptFormat="groovy">\r
117       <bpmn2:incoming>SequenceFlow_27</bpmn2:incoming>\r
118       <bpmn2:outgoing>SequenceFlow_29</bpmn2:outgoing>\r
119       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
120 def CreateServiceInstanceInfra = new CreateServiceInstanceInfra()
121 CreateServiceInstanceInfra.postProcessResponse(execution)]]></bpmn2:script>\r
122     </bpmn2:scriptTask>\r
123     <bpmn2:sequenceFlow id="SequenceFlow_29" name="" sourceRef="postProcessAndCompletionRequest_ScriptTask" targetRef="callCompleteMsoProcess_CallActivity"/>\r
124     <bpmn2:callActivity id="callCompleteMsoProcess_CallActivity" name="Call CompleteMsoProcess" calledElement="CompleteMsoProcess">\r
125       <bpmn2:extensionElements>\r
126         <camunda:in variables="all"/>\r
127         <camunda:out variables="all"/>\r
128         <camunda:in source="CRESI_CompleteMsoProcessRequest" target="CompleteMsoProcessRequest"/>\r
129         <camunda:in source="requestId" target="requestId"/>\r
130         <camunda:in source="serviceInstanceId" target="serviceInstanceId"/>\r
131         <camunda:out source="CMSO_ResponseCode" target="CMSO_ResponseCode"/>\r
132         <camunda:out source="CompleteMsoProcessResponse" target="CompleteMsoProcessResponse"/>\r
133         <camunda:out source="CMSO_ErrorResponse" target="CMSO_ErrorResponse"/>\r
134       </bpmn2:extensionElements>\r
135       <bpmn2:incoming>SequenceFlow_29</bpmn2:incoming>\r
136       <bpmn2:outgoing>SequenceFlow_8</bpmn2:outgoing>\r
137     </bpmn2:callActivity>\r
138     <bpmn2:sequenceFlow id="SequenceFlow_8" name="" sourceRef="callCompleteMsoProcess_CallActivity" targetRef="EndEvent_3"/>\r
139     <bpmn2:endEvent id="EndEvent_3">\r
140       <bpmn2:incoming>SequenceFlow_8</bpmn2:incoming>\r
141     </bpmn2:endEvent>\r
142     <bpmn2:scriptTask id="preProcessRequest_ScriptTask" name="PreProcess Incoming Request" scriptFormat="groovy">\r
143       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>\r
144       <bpmn2:outgoing>SequenceFlow_7</bpmn2:outgoing>\r
145       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
146 def CreateServiceInstanceInfra = new CreateServiceInstanceInfra()
147 CreateServiceInstanceInfra.preProcessRequest(execution)
148 ]]></bpmn2:script>\r
149     </bpmn2:scriptTask>\r
150     <bpmn2:sequenceFlow id="SequenceFlow_7" name="" sourceRef="preProcessRequest_ScriptTask" targetRef="sendSyncAckResponse_ScriptTask"/>\r
151     <bpmn2:exclusiveGateway id="isReturnCode404_ExclusiveGateway" name="Is Code 404?" default="isReturnCode404_No_SequenceFlow">\r
152       <bpmn2:incoming>SequenceFlow_9</bpmn2:incoming>\r
153       <bpmn2:outgoing>isReturnCode404_No_SequenceFlow</bpmn2:outgoing>\r
154       <bpmn2:outgoing>isReturnCode404_Yes_SequenceFlow</bpmn2:outgoing>\r
155     </bpmn2:exclusiveGateway>\r
156     <bpmn2:sequenceFlow id="isReturnCode404_No_SequenceFlow" name="No" sourceRef="isReturnCode404_ExclusiveGateway" targetRef="aai_DuplicateFound_EndEvent"/>\r
157     <bpmn2:sequenceFlow id="isReturnCode404_Yes_SequenceFlow" name="Yes" sourceRef="isReturnCode404_ExclusiveGateway" targetRef="callRESTQueryNetworkId_ScriptTask">\r
158       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CRESI_queryAAISINameCode" ) == "404"}
159
160 ]]></bpmn2:conditionExpression>\r
161     </bpmn2:sequenceFlow>\r
162     <bpmn2:scriptTask id="callRESTQueryCustomerSIName_ScriptTask" name="Call REST Query for SI by Name in AAI" scriptFormat="groovy">\r
163       <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>\r
164       <bpmn2:outgoing>SequenceFlow_9</bpmn2:outgoing>\r
165       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
166 def CreateServiceInstanceInfra = new CreateServiceInstanceInfra()
167 CreateServiceInstanceInfra.callRESTQueryAAISIName(execution)]]></bpmn2:script>\r
168     </bpmn2:scriptTask>\r
169     <bpmn2:sequenceFlow id="SequenceFlow_9" name="" sourceRef="callRESTQueryCustomerSIName_ScriptTask" targetRef="isReturnCode404_ExclusiveGateway"/>\r
170     <bpmn2:scriptTask id="callAAIQuery_scriptTask" name="Call REST Query SubscriberId in AAI" scriptFormat="groovy">\r
171       <bpmn2:incoming>SequenceFlow_24</bpmn2:incoming>\r
172       <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>\r
173       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
174 def CreateServiceInstanceInfra = new CreateServiceInstanceInfra()
175 CreateServiceInstanceInfra.callRESTQueryAAIGlobalSubscriberId(execution)]]></bpmn2:script>\r
176     </bpmn2:scriptTask>\r
177     <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="callAAIQuery_scriptTask" targetRef="callRESTQueryCustomerSIName_ScriptTask"/>\r
178     <bpmn2:endEvent id="aai_DuplicateFound_EndEvent" name="Duplicate Found in AAI">\r
179       <bpmn2:incoming>isReturnCode404_No_SequenceFlow</bpmn2:incoming>\r
180       <bpmn2:errorEventDefinition id="_ErrorEventDefinition_53" errorRef="Error_2"/>\r
181     </bpmn2:endEvent>\r
182     <bpmn2:scriptTask id="sendSyncAckResponse_ScriptTask" name="Send Sync Ack Response" scriptFormat="groovy">\r
183       <bpmn2:incoming>SequenceFlow_7</bpmn2:incoming>\r
184       <bpmn2:outgoing>SequenceFlow_24</bpmn2:outgoing>\r
185       <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
186 def CreateServiceInstanceInfra = new CreateServiceInstanceInfra()
187 CreateServiceInstanceInfra.sendSyncResponse(execution)]]></bpmn2:script>\r
188     </bpmn2:scriptTask>\r
189     <bpmn2:sequenceFlow id="SequenceFlow_24" name="" sourceRef="sendSyncAckResponse_ScriptTask" targetRef="callAAIQuery_scriptTask"/>\r
190     <bpmn2:subProcess id="UnexpectedError_SubProcess_1" name="Sub-process for UnexpectedErrors" triggeredByEvent="true">\r
191       <bpmn2:startEvent id="StartEvent_1">\r
192         <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>\r
193         <bpmn2:errorEventDefinition id="_ErrorEventDefinition_92" errorRef="Error_1"/>\r
194       </bpmn2:startEvent>\r
195       <bpmn2:endEvent id="EndEvent_1">\r
196         <bpmn2:incoming>SequenceFlow_5</bpmn2:incoming>\r
197       </bpmn2:endEvent>\r
198       <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="StartEvent_1" targetRef="ScriptTask_1"/>\r
199       <bpmn2:scriptTask id="ScriptTask_1" name="Log / Print Unexpected Error" scriptFormat="groovy">\r
200         <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>\r
201         <bpmn2:outgoing>SequenceFlow_5</bpmn2:outgoing>\r
202         <bpmn2:script><![CDATA[import com.att.bpm.scripts.*
203 def CreateServiceInstanceInfra = new CreateServiceInstanceInfra()
204 CreateServiceInstanceInfra.processJavaException(execution)]]></bpmn2:script>\r
205       </bpmn2:scriptTask>\r
206       <bpmn2:sequenceFlow id="SequenceFlow_5" name="" sourceRef="ScriptTask_1" targetRef="EndEvent_1"/>\r
207     </bpmn2:subProcess>\r
208     <bpmn2:startEvent id="createNetwork_startEvent" camunda:asyncAfter="true" name="Start Flow">\r
209       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>\r
210     </bpmn2:startEvent>\r
211     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="createNetwork_startEvent" targetRef="preProcessRequest_ScriptTask"/>\r
212   </bpmn2:process>\r
213   <bpmn2:error id="Error_2" errorCode="MSOWorkflowException" name="MSOWorkflowException"/>\r
214   <bpmn2:error id="Error_1" errorCode="java.lang.Exception" name="java.lang.Exception"/>\r
215   <bpmndi:BPMNDiagram id="BPMNDiagram_1">\r
216     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateServiceInstanceInfra">\r
217       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_47" bpmnElement="createNetwork_startEvent">\r
218         <dc:Bounds height="36.0" width="36.0" x="423.0" y="185.0"/>\r
219         <bpmndi:BPMNLabel>\r
220           <dc:Bounds height="22.0" width="65.0" x="409.0" y="226.0"/>\r
221         </bpmndi:BPMNLabel>\r
222       </bpmndi:BPMNShape>\r
223       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_61" bpmnElement="preProcessRequest_ScriptTask">\r
224         <dc:Bounds height="80.0" width="100.0" x="612.0" y="163.0"/>\r
225       </bpmndi:BPMNShape>\r
226       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_47" targetElement="_BPMNShape_ScriptTask_61">\r
227         <di:waypoint xsi:type="dc:Point" x="459.0" y="203.0"/>\r
228         <di:waypoint xsi:type="dc:Point" x="612.0" y="203.0"/>\r
229         <bpmndi:BPMNLabel>\r
230           <dc:Bounds height="6.0" width="6.0" x="498.0" y="203.0"/>\r
231         </bpmndi:BPMNLabel>\r
232       </bpmndi:BPMNEdge>\r
233       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_62" bpmnElement="callAAIQuery_scriptTask">\r
234         <dc:Bounds height="80.0" width="100.0" x="997.0" y="163.0"/>\r
235       </bpmndi:BPMNShape>\r
236       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_62" targetElement="_BPMNShape_ScriptTask_135">\r
237         <di:waypoint xsi:type="dc:Point" x="1097.0" y="203.0"/>\r
238         <di:waypoint xsi:type="dc:Point" x="1176.0" y="203.0"/>\r
239         <bpmndi:BPMNLabel>\r
240           <dc:Bounds height="6.0" width="6.0" x="1122.0" y="203.0"/>\r
241         </bpmndi:BPMNLabel>\r
242       </bpmndi:BPMNEdge>\r
243       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_64" bpmnElement="isReturnCode404_ExclusiveGateway" isMarkerVisible="true">\r
244         <dc:Bounds height="50.0" width="50.0" x="1368.0" y="177.0"/>\r
245         <bpmndi:BPMNLabel>\r
246           <dc:Bounds height="22.0" width="82.0" x="1353.0" y="154.0"/>\r
247         </bpmndi:BPMNLabel>\r
248       </bpmndi:BPMNShape>\r
249       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="isReturnCode404_No_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_64" targetElement="_BPMNShape_EndEvent_118">\r
250         <di:waypoint xsi:type="dc:Point" x="1418.0" y="202.0"/>\r
251         <di:waypoint xsi:type="dc:Point" x="1477.0" y="202.0"/>\r
252         <di:waypoint xsi:type="dc:Point" x="1536.0" y="203.0"/>\r
253         <bpmndi:BPMNLabel>\r
254           <dc:Bounds height="22.0" width="22.0" x="1418.0" y="203.0"/>\r
255         </bpmndi:BPMNLabel>\r
256       </bpmndi:BPMNEdge>\r
257       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_9" bpmnElement="isReturnCode404_Yes_SequenceFlow" sourceElement="_BPMNShape_ExclusiveGateway_64" targetElement="_BPMNShape_ScriptTask_133">\r
258         <di:waypoint xsi:type="dc:Point" x="1393.0" y="227.0"/>\r
259         <di:waypoint xsi:type="dc:Point" x="1392.0" y="264.0"/>\r
260         <di:waypoint xsi:type="dc:Point" x="1393.0" y="312.0"/>\r
261         <bpmndi:BPMNLabel>\r
262           <dc:Bounds height="22.0" width="29.0" x="1395.0" y="226.0"/>\r
263         </bpmndi:BPMNLabel>\r
264       </bpmndi:BPMNEdge>\r
265       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_3" bpmnElement="faultHandler_CallActivity">\r
266         <dc:Bounds height="80.0" width="100.0" x="810.0" y="611.0"/>\r
267       </bpmndi:BPMNShape>\r
268       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_118" bpmnElement="aai_DuplicateFound_EndEvent">\r
269         <dc:Bounds height="36.0" width="36.0" x="1536.0" y="185.0"/>\r
270         <bpmndi:BPMNLabel>\r
271           <dc:Bounds height="22.0" width="125.0" x="1500.0" y="226.0"/>\r
272         </bpmndi:BPMNLabel>\r
273       </bpmndi:BPMNShape>\r
274       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_4" bpmnElement="callCompleteMsoProcess_CallActivity">\r
275         <dc:Bounds height="80.0" width="100.0" x="1167.0" y="775.0"/>\r
276       </bpmndi:BPMNShape>\r
277       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_16" bpmnElement="subProcessException_SubProcess" isExpanded="true">\r
278         <dc:Bounds height="301.0" width="751.0" x="346.0" y="427.0"/>\r
279       </bpmndi:BPMNShape>\r
280       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_50" bpmnElement="subProcessStart_StartEvent">\r
281         <dc:Bounds height="36.0" width="36.0" x="408.0" y="633.0"/>\r
282         <bpmndi:BPMNLabel>\r
283           <dc:Bounds height="22.0" width="67.0" x="393.0" y="674.0"/>\r
284         </bpmndi:BPMNLabel>\r
285       </bpmndi:BPMNShape>\r
286       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_79" bpmnElement="prepareFalloutHandler_ScriptTask">\r
287         <dc:Bounds height="80.0" width="100.0" x="678.0" y="477.0"/>\r
288       </bpmndi:BPMNShape>\r
289       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_80" bpmnElement="postProcessAndCompletionRequest_ScriptTask">\r
290         <dc:Bounds height="80.0" width="100.0" x="1344.0" y="775.0"/>\r
291       </bpmndi:BPMNShape>\r
292       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_83" bpmnElement="prepareDBInfraRequest_ScriptTask">\r
293         <dc:Bounds height="80.0" width="100.0" x="1344.0" y="456.0"/>\r
294       </bpmndi:BPMNShape>\r
295       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_86" bpmnElement="callDBInfra_ServiceTask">\r
296         <dc:Bounds height="80.0" width="100.0" x="1344.0" y="614.0"/>\r
297       </bpmndi:BPMNShape>\r
298       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_12" bpmnElement="SequenceFlow_7" sourceElement="_BPMNShape_ScriptTask_61" targetElement="_BPMNShape_ScriptTask_127">\r
299         <di:waypoint xsi:type="dc:Point" x="712.0" y="203.0"/>\r
300         <di:waypoint xsi:type="dc:Point" x="803.0" y="203.0"/>\r
301         <bpmndi:BPMNLabel>\r
302           <dc:Bounds height="6.0" width="6.0" x="743.0" y="203.0"/>\r
303         </bpmndi:BPMNLabel>\r
304       </bpmndi:BPMNEdge>\r
305       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_127" bpmnElement="sendSyncAckResponse_ScriptTask">\r
306         <dc:Bounds height="80.0" width="100.0" x="803.0" y="163.0"/>\r
307       </bpmndi:BPMNShape>\r
308       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_38" bpmnElement="SequenceFlow_25" sourceElement="_BPMNShape_ScriptTask_79" targetElement="_BPMNShape_ScriptTask_158">\r
309         <di:waypoint xsi:type="dc:Point" x="778.0" y="517.0"/>\r
310         <di:waypoint xsi:type="dc:Point" x="810.0" y="517.0"/>\r
311         <bpmndi:BPMNLabel>\r
312           <dc:Bounds height="6.0" width="6.0" x="803.0" y="517.0"/>\r
313         </bpmndi:BPMNLabel>\r
314       </bpmndi:BPMNEdge>\r
315       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_40" bpmnElement="SequenceFlow_27" sourceElement="_BPMNShape_ServiceTask_86" targetElement="_BPMNShape_ScriptTask_80">\r
316         <di:waypoint xsi:type="dc:Point" x="1394.0" y="694.0"/>\r
317         <di:waypoint xsi:type="dc:Point" x="1394.0" y="775.0"/>\r
318         <bpmndi:BPMNLabel>\r
319           <dc:Bounds height="6.0" width="6.0" x="1391.0" y="727.0"/>\r
320         </bpmndi:BPMNLabel>\r
321       </bpmndi:BPMNEdge>\r
322       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_42" bpmnElement="SequenceFlow_29" sourceElement="_BPMNShape_ScriptTask_80" targetElement="_BPMNShape_CallActivity_4">\r
323         <di:waypoint xsi:type="dc:Point" x="1344.0" y="815.0"/>\r
324         <di:waypoint xsi:type="dc:Point" x="1306.0" y="815.0"/>\r
325         <di:waypoint xsi:type="dc:Point" x="1306.0" y="815.0"/>\r
326         <di:waypoint xsi:type="dc:Point" x="1267.0" y="815.0"/>\r
327         <bpmndi:BPMNLabel>\r
328           <dc:Bounds height="6.0" width="6.0" x="1298.0" y="815.0"/>\r
329         </bpmndi:BPMNLabel>\r
330       </bpmndi:BPMNEdge>\r
331       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_133" bpmnElement="callRESTQueryNetworkId_ScriptTask">\r
332         <dc:Bounds height="80.0" width="100.0" x="1344.0" y="312.0"/>\r
333       </bpmndi:BPMNShape>\r
334       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_135" bpmnElement="callRESTQueryCustomerSIName_ScriptTask">\r
335         <dc:Bounds height="80.0" width="100.0" x="1176.0" y="163.0"/>\r
336       </bpmndi:BPMNShape>\r
337       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_65" bpmnElement="SequenceFlow_46" sourceElement="_BPMNShape_ScriptTask_133" targetElement="_BPMNShape_ScriptTask_83">\r
338         <di:waypoint xsi:type="dc:Point" x="1394.0" y="392.0"/>\r
339         <di:waypoint xsi:type="dc:Point" x="1394.0" y="456.0"/>\r
340         <bpmndi:BPMNLabel>\r
341           <dc:Bounds height="6.0" width="6.0" x="1391.0" y="427.0"/>\r
342         </bpmndi:BPMNLabel>\r
343       </bpmndi:BPMNEdge>\r
344       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_158" bpmnElement="sendSyncError_ScriptTask">\r
345         <dc:Bounds height="80.0" width="100.0" x="810.0" y="477.0"/>\r
346       </bpmndi:BPMNShape>\r
347       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_57" bpmnElement="SequenceFlow_33" sourceElement="_BPMNShape_ScriptTask_158" targetElement="_BPMNShape_CallActivity_3">\r
348         <di:waypoint xsi:type="dc:Point" x="860.0" y="557.0"/>\r
349         <di:waypoint xsi:type="dc:Point" x="860.0" y="611.0"/>\r
350         <bpmndi:BPMNLabel>\r
351           <dc:Bounds height="6.0" width="6.0" x="857.0" y="573.0"/>\r
352         </bpmndi:BPMNLabel>\r
353       </bpmndi:BPMNEdge>\r
354       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_177" bpmnElement="EndEvent_3">\r
355         <dc:Bounds height="36.0" width="36.0" x="1083.0" y="797.0"/>\r
356         <bpmndi:BPMNLabel>\r
357           <dc:Bounds height="0.0" width="0.0" x="1101.0" y="838.0"/>\r
358         </bpmndi:BPMNLabel>\r
359       </bpmndi:BPMNShape>\r
360       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_178" bpmnElement="EndEvent_4">\r
361         <dc:Bounds height="36.0" width="36.0" x="984.0" y="633.0"/>\r
362         <bpmndi:BPMNLabel>\r
363           <dc:Bounds height="0.0" width="0.0" x="1002.0" y="674.0"/>\r
364         </bpmndi:BPMNLabel>\r
365       </bpmndi:BPMNShape>\r
366       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_32" bpmnElement="SequenceFlow_18" sourceElement="_BPMNShape_CallActivity_3" targetElement="_BPMNShape_EndEvent_178">\r
367         <di:waypoint xsi:type="dc:Point" x="910.0" y="651.0"/>\r
368         <di:waypoint xsi:type="dc:Point" x="984.0" y="651.0"/>\r
369         <bpmndi:BPMNLabel>\r
370           <dc:Bounds height="6.0" width="6.0" x="909.0" y="651.0"/>\r
371         </bpmndi:BPMNLabel>\r
372       </bpmndi:BPMNEdge>\r
373       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_36" bpmnElement="SequenceFlow_19" sourceElement="_BPMNShape_ServiceTask_97" targetElement="_BPMNShape_ScriptTask_79">\r
374         <di:waypoint xsi:type="dc:Point" x="634.0" y="517.0"/>\r
375         <di:waypoint xsi:type="dc:Point" x="678.0" y="517.0"/>\r
376         <bpmndi:BPMNLabel>\r
377           <dc:Bounds height="6.0" width="6.0" x="644.0" y="517.0"/>\r
378         </bpmndi:BPMNLabel>\r
379       </bpmndi:BPMNEdge>\r
380       <bpmndi:BPMNShape id="_BPMNShape_ServiceTask_97" bpmnElement="callDBInfraErrorUpdate_ServiceTask_1">\r
381         <dc:Bounds height="80.0" width="100.0" x="534.0" y="477.0"/>\r
382       </bpmndi:BPMNShape>\r
383       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_218" bpmnElement="prepareDBInfraErrorRequest_ScriptTask">\r
384         <dc:Bounds height="80.0" width="100.0" x="534.0" y="611.0"/>\r
385       </bpmndi:BPMNShape>\r
386       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_37" bpmnElement="SequenceFlow_22" sourceElement="_BPMNShape_ScriptTask_218" targetElement="_BPMNShape_ServiceTask_97">\r
387         <di:waypoint xsi:type="dc:Point" x="584.0" y="611.0"/>\r
388         <di:waypoint xsi:type="dc:Point" x="584.0" y="557.0"/>\r
389         <bpmndi:BPMNLabel>\r
390           <dc:Bounds height="6.0" width="6.0" x="581.0" y="598.0"/>\r
391         </bpmndi:BPMNLabel>\r
392       </bpmndi:BPMNEdge>\r
393       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_43" bpmnElement="SequenceFlow_24" sourceElement="_BPMNShape_ScriptTask_127" targetElement="_BPMNShape_ScriptTask_62">\r
394         <di:waypoint xsi:type="dc:Point" x="903.0" y="203.0"/>\r
395         <di:waypoint xsi:type="dc:Point" x="997.0" y="203.0"/>\r
396         <bpmndi:BPMNLabel>\r
397           <dc:Bounds height="6.0" width="6.0" x="911.0" y="203.0"/>\r
398         </bpmndi:BPMNLabel>\r
399       </bpmndi:BPMNEdge>\r
400       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_76" bpmnElement="SequenceFlow_47" sourceElement="_BPMNShape_StartEvent_50" targetElement="_BPMNShape_ScriptTask_218">\r
401         <di:waypoint xsi:type="dc:Point" x="444.0" y="651.0"/>\r
402         <di:waypoint xsi:type="dc:Point" x="534.0" y="651.0"/>\r
403         <bpmndi:BPMNLabel>\r
404           <dc:Bounds height="6.0" width="6.0" x="451.0" y="651.0"/>\r
405         </bpmndi:BPMNLabel>\r
406       </bpmndi:BPMNEdge>\r
407       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_ScriptTask_83" targetElement="_BPMNShape_ServiceTask_86">\r
408         <di:waypoint xsi:type="dc:Point" x="1394.0" y="536.0"/>\r
409         <di:waypoint xsi:type="dc:Point" x="1394.0" y="614.0"/>\r
410         <bpmndi:BPMNLabel>\r
411           <dc:Bounds height="6.0" width="6.0" x="1391.0" y="575.0"/>\r
412         </bpmndi:BPMNLabel>\r
413       </bpmndi:BPMNEdge>\r
414       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_8" bpmnElement="SequenceFlow_8" sourceElement="_BPMNShape_CallActivity_4" targetElement="_BPMNShape_EndEvent_177">\r
415         <di:waypoint xsi:type="dc:Point" x="1167.0" y="815.0"/>\r
416         <di:waypoint xsi:type="dc:Point" x="1119.0" y="815.0"/>\r
417         <bpmndi:BPMNLabel>\r
418           <dc:Bounds height="6.0" width="6.0" x="1140.0" y="815.0"/>\r
419         </bpmndi:BPMNLabel>\r
420       </bpmndi:BPMNEdge>\r
421       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_10" bpmnElement="SequenceFlow_9" sourceElement="_BPMNShape_ScriptTask_135" targetElement="_BPMNShape_ExclusiveGateway_64">\r
422         <di:waypoint xsi:type="dc:Point" x="1276.0" y="203.0"/>\r
423         <di:waypoint xsi:type="dc:Point" x="1317.0" y="203.0"/>\r
424         <di:waypoint xsi:type="dc:Point" x="1317.0" y="202.0"/>\r
425         <di:waypoint xsi:type="dc:Point" x="1368.0" y="202.0"/>\r
426         <bpmndi:BPMNLabel>\r
427           <dc:Bounds height="6.0" width="6.0" x="1324.0" y="202.0"/>\r
428         </bpmndi:BPMNLabel>\r
429       </bpmndi:BPMNEdge>\r
430       <bpmndi:BPMNShape id="_BPMNShape_SubProcess_27" bpmnElement="UnexpectedError_SubProcess_1" isExpanded="true">\r
431         <dc:Bounds height="232.0" width="409.0" x="349.0" y="837.0"/>\r
432       </bpmndi:BPMNShape>\r
433       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_70" bpmnElement="StartEvent_1">\r
434         <dc:Bounds height="36.0" width="36.0" x="417.0" y="942.0"/>\r
435         <bpmndi:BPMNLabel>\r
436           <dc:Bounds height="0.0" width="0.0" x="435.0" y="983.0"/>\r
437         </bpmndi:BPMNLabel>\r
438       </bpmndi:BPMNShape>\r
439       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_269" bpmnElement="ScriptTask_1">\r
440         <dc:Bounds height="80.0" width="100.0" x="492.0" y="920.0"/>\r
441       </bpmndi:BPMNShape>\r
442       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_219" bpmnElement="EndEvent_1">\r
443         <dc:Bounds height="36.0" width="36.0" x="647.0" y="939.0"/>\r
444         <bpmndi:BPMNLabel>\r
445           <dc:Bounds height="0.0" width="0.0" x="665.0" y="980.0"/>\r
446         </bpmndi:BPMNLabel>\r
447       </bpmndi:BPMNShape>\r
448       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_StartEvent_70" targetElement="_BPMNShape_ScriptTask_269">\r
449         <di:waypoint xsi:type="dc:Point" x="453.0" y="960.0"/>\r
450         <di:waypoint xsi:type="dc:Point" x="492.0" y="960.0"/>\r
451         <bpmndi:BPMNLabel>\r
452           <dc:Bounds height="6.0" width="6.0" x="478.0" y="960.0"/>\r
453         </bpmndi:BPMNLabel>\r
454       </bpmndi:BPMNEdge>\r
455       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="SequenceFlow_5" sourceElement="_BPMNShape_ScriptTask_269" targetElement="_BPMNShape_EndEvent_219">\r
456         <di:waypoint xsi:type="dc:Point" x="592.0" y="960.0"/>\r
457         <di:waypoint xsi:type="dc:Point" x="625.0" y="960.0"/>\r
458         <di:waypoint xsi:type="dc:Point" x="625.0" y="957.0"/>\r
459         <di:waypoint xsi:type="dc:Point" x="647.0" y="957.0"/>\r
460         <bpmndi:BPMNLabel>\r
461           <dc:Bounds height="6.0" width="6.0" x="614.0" y="960.0"/>\r
462         </bpmndi:BPMNLabel>\r
463       </bpmndi:BPMNEdge>\r
464     </bpmndi:BPMNPlane>\r
465   </bpmndi:BPMNDiagram>\r
466 </bpmn2:definitions>