Merge "Reorder modifiers"
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / subprocess / DoCreateAllottedResourceTXC.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="_DkzPAHB4EeaJwpcpVN5gXw" targetNamespace="http://camunda.org/schema/1.0/bpmn" exporter="Camunda Modeler" exporterVersion="1.9.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3   <bpmn2:process id="DoCreateAllottedResourceTXC" name="DoCreateAllottedResourceTXC" isExecutable="true">
4     <bpmn2:startEvent id="StartEvent_1">
5       <bpmn2:outgoing>SequenceFlow_1</bpmn2:outgoing>
6     </bpmn2:startEvent>
7     <bpmn2:sequenceFlow id="SequenceFlow_1" name="" sourceRef="StartEvent_1" targetRef="initialization" />
8     <bpmn2:scriptTask id="initialization" name="Initialization" scriptFormat="groovy">
9       <bpmn2:incoming>SequenceFlow_1</bpmn2:incoming>
10       <bpmn2:outgoing>SequenceFlow_2</bpmn2:outgoing>
11       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
12 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
13 dcar.preProcessRequest(execution)]]></bpmn2:script>
14     </bpmn2:scriptTask>
15     <bpmn2:sequenceFlow id="SequenceFlow_2" name="" sourceRef="initialization" targetRef="GetAAIServiceInstance" />
16     <bpmn2:scriptTask id="buildWorkflowException" name="Create Workflow Exception" scriptFormat="groovy">
17       <bpmn2:incoming>notFound</bpmn2:incoming>
18       <bpmn2:outgoing>SequenceFlow_6</bpmn2:outgoing>
19       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
20 ExceptionUtil exceptionUtil = new ExceptionUtil()
21 exceptionUtil.buildWorkflowException(execution, 404, "Input Service Instance Id Not Found in AAI")]]></bpmn2:script>
22     </bpmn2:scriptTask>
23     <bpmn2:sequenceFlow id="SequenceFlow_6" name="" sourceRef="buildWorkflowException" targetRef="EndEvent_1" />
24     <bpmn2:callActivity id="GetAAIServiceInstance" name="Get AAI Service Instance" calledElement="GenericGetService">
25       <bpmn2:extensionElements>
26         <camunda:in source="serviceInstanceId" target="GENGS_serviceInstanceId" />
27         <camunda:out source="GENGS_FoundIndicator" target="CSI_FoundIndicator" />
28         <camunda:out source="GENGS_SuccessIndicator" target="CSI_SuccessIndicator" />
29         <camunda:out source="GENGS_serviceInstance" target="CSI_serviceInstance" />
30         <camunda:out source="WorkflowException" target="WorkflowException" />
31         <camunda:out source="GENGS_resourceLink" target="CSI_resourceLink" />
32         <camunda:in sourceExpression="service-instance" target="GENGS_type" />
33         <camunda:out source="GENGS_service" target="CSI_service" />
34       </bpmn2:extensionElements>
35       <bpmn2:incoming>SequenceFlow_2</bpmn2:incoming>
36       <bpmn2:outgoing>SequenceFlow_4</bpmn2:outgoing>
37     </bpmn2:callActivity>
38     <bpmn2:sequenceFlow id="SequenceFlow_4" name="" sourceRef="GetAAIServiceInstance" targetRef="ServiceInstanceExists" />
39     <bpmn2:exclusiveGateway id="ServiceInstanceExists" name="Service Instance Exists in AAI?" default="notFound">
40       <bpmn2:incoming>SequenceFlow_4</bpmn2:incoming>
41       <bpmn2:outgoing>notFound</bpmn2:outgoing>
42       <bpmn2:outgoing>found</bpmn2:outgoing>
43     </bpmn2:exclusiveGateway>
44     <bpmn2:sequenceFlow id="notFound" name="No" sourceRef="ServiceInstanceExists" targetRef="buildWorkflowException" />
45     <bpmn2:scriptTask id="GetAAIAR" name="Get AAI AR" scriptFormat="groovy">
46       <bpmn2:incoming>found</bpmn2:incoming>
47       <bpmn2:outgoing>SequenceFlow_0gbsa12</bpmn2:outgoing>
48       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
49 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
50 dcar.getAaiAR(execution)
51 ]]></bpmn2:script>
52     </bpmn2:scriptTask>
53     <bpmn2:endEvent id="EndEvent_1">
54       <bpmn2:incoming>SequenceFlow_6</bpmn2:incoming>
55       <bpmn2:errorEventDefinition id="ErrorEventDefinition_1" errorRef="Error_2" />
56     </bpmn2:endEvent>
57     <bpmn2:scriptTask id="CreateAAIAR" name="Create AAI  AR&#10;" scriptFormat="groovy">
58       <bpmn2:incoming>SequenceFlow_17p4ohs</bpmn2:incoming>
59       <bpmn2:outgoing>SequenceFlow_11</bpmn2:outgoing>
60       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
61 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
62 dcar.createAaiAR(execution)]]></bpmn2:script>
63     </bpmn2:scriptTask>
64     <bpmn2:sequenceFlow id="SequenceFlow_11" name="" sourceRef="CreateAAIAR" targetRef="IntermediateThrowEvent_1lqaeh8" />
65     <bpmn2:endEvent id="EndEvent_3">
66       <bpmn2:incoming>SequenceFlow_09xwplc</bpmn2:incoming>
67       <bpmn2:terminateEventDefinition id="_TerminateEventDefinition_35" />
68     </bpmn2:endEvent>
69     <bpmn2:sequenceFlow id="SequenceFlow_1q6udwm" sourceRef="PreProcessSDNCAssign" targetRef="SDNCAssign" />
70     <bpmn2:sequenceFlow id="SequenceFlow_15knw0q" sourceRef="SDNCAssign" targetRef="PostProcessSDNCAssign" />
71     <bpmn2:sequenceFlow id="SequenceFlow_0c5h00o" sourceRef="PostProcessSDNCAssign" targetRef="PreProcessSDNCCreate" />
72     <bpmn2:sequenceFlow id="SequenceFlow_1lalmvp" sourceRef="PreProcessSDNCCreate" targetRef="SDNCCreate" />
73     <bpmn2:sequenceFlow id="SequenceFlow_0eb41vb" sourceRef="SDNCCreate" targetRef="postProcessSDNCCreate" />
74     <bpmn2:sequenceFlow id="SequenceFlow_15z3gpq" sourceRef="postProcessSDNCCreate" targetRef="UpdateAAIARCreated" />
75     <bpmn2:scriptTask id="PreProcessSDNCAssign" name="PreProcess SDNC Assign" scriptFormat="groovy">
76       <bpmn2:incoming>SequenceFlow_0gd64w9</bpmn2:incoming>
77       <bpmn2:outgoing>SequenceFlow_1q6udwm</bpmn2:outgoing>
78       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
79
80 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
81 dcar.preProcessSDNCAssign(execution)]]></bpmn2:script>
82     </bpmn2:scriptTask>
83     <bpmn2:callActivity id="SDNCAssign" name="SDNC Assign" calledElement="sdncAdapter">
84       <bpmn2:extensionElements>
85         <camunda:in source="sdncAssignRequest" target="sdncAdapterWorkflowRequest" />
86         <camunda:in source="msoRequestId" target="mso-request-id" />
87         <camunda:in source="serviceInstanceId" target="mso-service-instance-id" />
88         <camunda:out source="WorkflowException" target="WorkflowException" />
89         <camunda:out source="sdncAdapterResponse" target="sdncAssignResponse" />
90         <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
91       </bpmn2:extensionElements>
92       <bpmn2:incoming>SequenceFlow_1q6udwm</bpmn2:incoming>
93       <bpmn2:outgoing>SequenceFlow_15knw0q</bpmn2:outgoing>
94     </bpmn2:callActivity>
95     <bpmn2:scriptTask id="PostProcessSDNCAssign" name="PostProcess SDNC Assign" scriptFormat="groovy">
96       <bpmn2:incoming>SequenceFlow_15knw0q</bpmn2:incoming>
97       <bpmn2:outgoing>SequenceFlow_0c5h00o</bpmn2:outgoing>
98       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
99
100 String response = execution.getVariable("sdncAssignResponse")
101
102 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
103 dcar.validateSDNCResp(execution, response, "assign" )]]></bpmn2:script>
104     </bpmn2:scriptTask>
105     <bpmn2:scriptTask id="PreProcessSDNCCreate" name="PreProcess SDNC Create" scriptFormat="groovy">
106       <bpmn2:incoming>SequenceFlow_0c5h00o</bpmn2:incoming>
107       <bpmn2:outgoing>SequenceFlow_1lalmvp</bpmn2:outgoing>
108       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
109
110 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
111 dcar.preProcessSDNCCreate(execution)]]></bpmn2:script>
112     </bpmn2:scriptTask>
113     <bpmn2:callActivity id="SDNCCreate" name="SDNC Create" calledElement="sdncAdapter">
114       <bpmn2:extensionElements>
115         <camunda:in source="sdncCreateRequest" target="sdncAdapterWorkflowRequest" />
116         <camunda:in source="msoRequestId" target="mso-request-id" />
117         <camunda:in source="serviceInstanceId" target="mso-service-instance-id" />
118         <camunda:out source="WorkflowException" target="WorkflowException" />
119         <camunda:out source="sdncAdapterResponse" target="sdncCreateResponse" />
120         <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
121       </bpmn2:extensionElements>
122       <bpmn2:incoming>SequenceFlow_1lalmvp</bpmn2:incoming>
123       <bpmn2:outgoing>SequenceFlow_0eb41vb</bpmn2:outgoing>
124     </bpmn2:callActivity>
125     <bpmn2:scriptTask id="postProcessSDNCCreate" name="PostProcess SDNC Create " scriptFormat="groovy">
126       <bpmn2:incoming>SequenceFlow_0eb41vb</bpmn2:incoming>
127       <bpmn2:outgoing>SequenceFlow_15z3gpq</bpmn2:outgoing>
128       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
129
130 String response = execution.getVariable("sdncCreateResponse")
131
132 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
133 dcar.validateSDNCResp(execution, response, "create" )]]></bpmn2:script>
134     </bpmn2:scriptTask>
135     <bpmn2:scriptTask id="PreProcessSDNCActivate" name="PreProcess SDNC Activate" scriptFormat="groovy">
136       <bpmn2:incoming>SequenceFlow_04t1zc2</bpmn2:incoming>
137       <bpmn2:outgoing>SequenceFlow_06w33tk</bpmn2:outgoing>
138       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
139
140 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
141 dcar.preProcessSDNCActivate(execution)]]></bpmn2:script>
142     </bpmn2:scriptTask>
143     <bpmn2:callActivity id="SDNCActivate" name="SDNC Activate" calledElement="sdncAdapter">
144       <bpmn2:extensionElements>
145         <camunda:in source="sdncActivateRequest" target="sdncAdapterWorkflowRequest" />
146         <camunda:out source="WorkflowException" target="WorkflowException" />
147         <camunda:out source="sdncAdapterResponse" target="sdncActivateResponse" />
148         <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
149         <camunda:in source="msoRequestId" target="mso-request-id" />
150         <camunda:in source="serviceInstanceId" target="mso-service-instance-id" />
151       </bpmn2:extensionElements>
152       <bpmn2:incoming>SequenceFlow_06w33tk</bpmn2:incoming>
153       <bpmn2:outgoing>SequenceFlow_1s7yieq</bpmn2:outgoing>
154     </bpmn2:callActivity>
155     <bpmn2:scriptTask id="PostProcessSDNCActivate" name="PostProcess SDNC Activate" scriptFormat="groovy">
156       <bpmn2:incoming>SequenceFlow_1s7yieq</bpmn2:incoming>
157       <bpmn2:outgoing>SequenceFlow_00i7x43</bpmn2:outgoing>
158       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
159
160 String response = execution.getVariable("sdncActivateResponse")
161
162 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
163 dcar.validateSDNCResp(execution, response, "activate" )]]></bpmn2:script>
164     </bpmn2:scriptTask>
165     <bpmn2:sequenceFlow id="SequenceFlow_06w33tk" sourceRef="PreProcessSDNCActivate" targetRef="SDNCActivate" />
166     <bpmn2:sequenceFlow id="SequenceFlow_1s7yieq" sourceRef="SDNCActivate" targetRef="PostProcessSDNCActivate" />
167     <bpmn2:sequenceFlow id="SequenceFlow_00i7x43" sourceRef="PostProcessSDNCActivate" targetRef="UpdateAAIARActive" />
168     <bpmn2:sequenceFlow id="SequenceFlow_04t1zc2" sourceRef="UpdateAAIARCreated" targetRef="PreProcessSDNCActivate" />
169     <bpmn2:callActivity id="SDNCGet" name="SDNC Get" calledElement="sdncAdapter">
170       <bpmn2:extensionElements>
171         <camunda:in source="sdncGetRequest" target="sdncAdapterWorkflowRequest" />
172         <camunda:in source="msoRequestId" target="mso-request-id" />
173         <camunda:in source="serviceInstanceId" target="mso-service-instance-id" />
174         <camunda:out source="WorkflowException" target="WorkflowException" />
175         <camunda:out source="sdncAdapterResponse" target="sdncGetResponse" />
176         <camunda:out source="SDNCA_SuccessIndicator" target="SDNCA_SuccessIndicator" />
177         <camunda:out source="enhancedCallbackRequestData" target="enhancedCallbackRequestData" />
178       </bpmn2:extensionElements>
179       <bpmn2:incoming>SequenceFlow_030mhcm</bpmn2:incoming>
180       <bpmn2:outgoing>SequenceFlow_0q1hz2p</bpmn2:outgoing>
181     </bpmn2:callActivity>
182     <bpmn2:sequenceFlow id="SequenceFlow_1iy3cqb" sourceRef="postProcessSDNCGetResponse" targetRef="generateOutputs" />
183     <bpmn2:callActivity id="GetAAIParentSI" name="Get AAI  Parent ServiceInstance&#10;" calledElement="GenericGetService">
184       <bpmn2:extensionElements>
185         <camunda:in source="parentServiceInstanceId" target="GENGS_serviceInstanceId" />
186         <camunda:in sourceExpression="service-instance" target="GENGS_type" />
187         <camunda:out source="GENGS_SuccessIndicator" target="PSI_SuccessIndicator" />
188         <camunda:out source="GENGS_FoundIndicator" target="PSI_FoundIndicator" />
189         <camunda:out source="GENGS_serviceInstance" target="PSI_serviceInstance" />
190         <camunda:out source="WorkflowException" target="WorkflowException" />
191         <camunda:out source="GENGS_resourceLink" target="PSI_resourceLink" />
192         <camunda:out source="GENGS_service" target="PSI_service" />
193       </bpmn2:extensionElements>
194       <bpmn2:incoming>SequenceFlow_1m8u8dl</bpmn2:incoming>
195       <bpmn2:outgoing>SequenceFlow_1vg5rfa</bpmn2:outgoing>
196     </bpmn2:callActivity>
197     <bpmn2:sequenceFlow id="SequenceFlow_1vg5rfa" sourceRef="GetAAIParentSI" targetRef="ParentSIExists" />
198     <bpmn2:exclusiveGateway id="ParentSIExists" name="Parent Service Instance Exists in AAI?" default="SequenceFlow_0f7u5pu">
199       <bpmn2:incoming>SequenceFlow_1vg5rfa</bpmn2:incoming>
200       <bpmn2:outgoing>SequenceFlow_17p4ohs</bpmn2:outgoing>
201       <bpmn2:outgoing>SequenceFlow_0f7u5pu</bpmn2:outgoing>
202     </bpmn2:exclusiveGateway>
203     <bpmn2:sequenceFlow id="SequenceFlow_17p4ohs" name="Yes" sourceRef="ParentSIExists" targetRef="CreateAAIAR">
204       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("PSI_FoundIndicator" ) == true && execution.getVariable("PSI_SuccessIndicator" ) == true}]]></bpmn2:conditionExpression>
205     </bpmn2:sequenceFlow>
206     <bpmn2:scriptTask id="ScriptTask_1hzsbck" name="Create Workflow Exception" scriptFormat="groovy">
207       <bpmn2:incoming>SequenceFlow_0f7u5pu</bpmn2:incoming>
208       <bpmn2:outgoing>SequenceFlow_16o7col</bpmn2:outgoing>
209       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.*
210
211 ExceptionUtil exceptionUtil = new ExceptionUtil()
212 exceptionUtil.buildWorkflowException(execution, 404, "TunnelXConn alloted resource Parent ServiceInstance:"  +  
213 execution.getVariable("parentServiceInstanceId") +
214  " was not found in AAI")]]></bpmn2:script>
215     </bpmn2:scriptTask>
216     <bpmn2:endEvent id="EndEvent_0x4moh8">
217       <bpmn2:incoming>SequenceFlow_16o7col</bpmn2:incoming>
218       <bpmn2:errorEventDefinition errorRef="Error_2" />
219     </bpmn2:endEvent>
220     <bpmn2:sequenceFlow id="SequenceFlow_0f7u5pu" name="No" sourceRef="ParentSIExists" targetRef="ScriptTask_1hzsbck" />
221     <bpmn2:sequenceFlow id="SequenceFlow_16o7col" sourceRef="ScriptTask_1hzsbck" targetRef="EndEvent_0x4moh8" />
222     <bpmn2:subProcess id="SubProcess_161pl4g" name="Sub-process for Application Errors" triggeredByEvent="true">
223       <bpmn2:startEvent id="StartEvent_1ibe7qx">
224         <bpmn2:outgoing>SequenceFlow_1h61pqs</bpmn2:outgoing>
225         <bpmn2:errorEventDefinition />
226       </bpmn2:startEvent>
227       <bpmn2:endEvent id="EndEvent_1fgqhmi">
228         <bpmn2:incoming>SequenceFlow_0t4ut76</bpmn2:incoming>
229       </bpmn2:endEvent>
230       <bpmn2:scriptTask id="ScriptTask_0ji3121" name="Pre Process Rollback" scriptFormat="groovy">
231         <bpmn2:incoming>SequenceFlow_1h61pqs</bpmn2:incoming>
232         <bpmn2:outgoing>SequenceFlow_1kbzr5v</bpmn2:outgoing>
233         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
234
235 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
236 dcar.preProcessRollback(execution)]]></bpmn2:script>
237       </bpmn2:scriptTask>
238       <bpmn2:scriptTask id="ScriptTask_1kgumd4" name="Post Process Rollback" scriptFormat="groovy">
239         <bpmn2:incoming>SequenceFlow_1cxj4yz</bpmn2:incoming>
240         <bpmn2:outgoing>SequenceFlow_0t4ut76</bpmn2:outgoing>
241         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
242
243 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
244 dcar.postProcessRollback(execution)]]></bpmn2:script>
245       </bpmn2:scriptTask>
246       <bpmn2:sequenceFlow id="SequenceFlow_1h61pqs" sourceRef="StartEvent_1ibe7qx" targetRef="ScriptTask_0ji3121" />
247       <bpmn2:sequenceFlow id="SequenceFlow_0t4ut76" sourceRef="ScriptTask_1kgumd4" targetRef="EndEvent_1fgqhmi" />
248       <bpmn2:sequenceFlow id="SequenceFlow_1kbzr5v" sourceRef="ScriptTask_0ji3121" targetRef="CallActivity_0s6hs9u" />
249       <bpmn2:callActivity id="CallActivity_0s6hs9u" name="Rollback Create" calledElement="DoCreateAllottedResourceTXCRollback">
250         <bpmn2:extensionElements>
251           <camunda:in source="msoRequestId" target="msoRequestId" />
252           <camunda:in source="rollbackData" target="rollbackData" />
253           <camunda:in source="disableRollback" target="disableRollback" />
254           <camunda:out source="rolledBack" target="rolledBack" />
255           <camunda:out source="rollbackError" target="rollbackError" />
256         </bpmn2:extensionElements>
257         <bpmn2:incoming>SequenceFlow_1kbzr5v</bpmn2:incoming>
258         <bpmn2:outgoing>SequenceFlow_1cxj4yz</bpmn2:outgoing>
259       </bpmn2:callActivity>
260       <bpmn2:sequenceFlow id="SequenceFlow_1cxj4yz" sourceRef="CallActivity_0s6hs9u" targetRef="ScriptTask_1kgumd4" />
261     </bpmn2:subProcess>
262     <bpmn2:scriptTask id="UpdateAAIARActive" name="Update AAI AR Active" scriptFormat="groovy">
263       <bpmn2:incoming>SequenceFlow_00i7x43</bpmn2:incoming>
264       <bpmn2:outgoing>SequenceFlow_07kxd8t</bpmn2:outgoing>
265       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
266
267 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
268 dcar.updateAaiAROrchStatus(execution, "Active")]]></bpmn2:script>
269     </bpmn2:scriptTask>
270     <bpmn2:scriptTask id="UpdateAAIARCreated" name="Update AAI AR Created" scriptFormat="groovy">
271       <bpmn2:incoming>SequenceFlow_15z3gpq</bpmn2:incoming>
272       <bpmn2:outgoing>SequenceFlow_04t1zc2</bpmn2:outgoing>
273       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
274
275 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
276 dcar.updateAaiAROrchStatus(execution, "Created")]]></bpmn2:script>
277     </bpmn2:scriptTask>
278     <bpmn2:scriptTask id="PreProcessSDNCGet" name="PreProcess SDNC Get" scriptFormat="groovy">
279       <bpmn2:incoming>SequenceFlow_0z8luou</bpmn2:incoming>
280       <bpmn2:incoming>SequenceFlow_08hhqb2</bpmn2:incoming>
281       <bpmn2:outgoing>SequenceFlow_030mhcm</bpmn2:outgoing>
282       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
283 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
284 dcar.preProcessSDNCGet(execution)]]></bpmn2:script>
285     </bpmn2:scriptTask>
286     <bpmn2:scriptTask id="postProcessSDNCGetResponse" name="PostProcess SDNC Get" scriptFormat="groovy">
287       <bpmn2:incoming>SequenceFlow_0q1hz2p</bpmn2:incoming>
288       <bpmn2:outgoing>SequenceFlow_1iy3cqb</bpmn2:outgoing>
289       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
290
291 String response = execution.getVariable("sdncGetResponse")
292
293 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
294 dcar.validateSDNCResp(execution, response, "get" )]]></bpmn2:script>
295     </bpmn2:scriptTask>
296     <bpmn2:sequenceFlow id="SequenceFlow_030mhcm" sourceRef="PreProcessSDNCGet" targetRef="SDNCGet" />
297     <bpmn2:sequenceFlow id="SequenceFlow_0q1hz2p" sourceRef="SDNCGet" targetRef="postProcessSDNCGetResponse" />
298     <bpmn2:exclusiveGateway id="ActiveARinAAI" name="Active AR Exists in AAI?" default="SequenceFlow_1m8u8dl">
299       <bpmn2:incoming>SequenceFlow_0gbsa12</bpmn2:incoming>
300       <bpmn2:outgoing>SequenceFlow_1m8u8dl</bpmn2:outgoing>
301       <bpmn2:outgoing>SequenceFlow_0z8luou</bpmn2:outgoing>
302     </bpmn2:exclusiveGateway>
303     <bpmn2:sequenceFlow id="SequenceFlow_1m8u8dl" name="No" sourceRef="ActiveARinAAI" targetRef="GetAAIParentSI" />
304     <bpmn2:sequenceFlow id="SequenceFlow_0z8luou" name="yes" sourceRef="ActiveARinAAI" targetRef="PreProcessSDNCGet">
305       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("foundActiveAR" ) == true}]]></bpmn2:conditionExpression>
306     </bpmn2:sequenceFlow>
307     <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1lqaeh8" name="SDNCTasks">
308       <bpmn2:outgoing>SequenceFlow_0gd64w9</bpmn2:outgoing>
309       <bpmn2:linkEventDefinition name="SDNCTasks" />
310     </bpmn2:intermediateCatchEvent>
311     <bpmn2:sequenceFlow id="SequenceFlow_0gd64w9" sourceRef="IntermediateCatchEvent_1lqaeh8" targetRef="PreProcessSDNCAssign" />
312     <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_1lqaeh8" name="To SDNCTasks">
313       <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
314       <bpmn2:linkEventDefinition name="SDNCTasks" />
315     </bpmn2:intermediateThrowEvent>
316     <bpmn2:sequenceFlow id="found" name="Yes" sourceRef="ServiceInstanceExists" targetRef="GetAAIAR">
317       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CSI_FoundIndicator" ) == true && execution.getVariable("CSI_SuccessIndicator" ) == true}]]></bpmn2:conditionExpression>
318     </bpmn2:sequenceFlow>
319     <bpmn2:sequenceFlow id="SequenceFlow_0gbsa12" sourceRef="GetAAIAR" targetRef="ActiveARinAAI" />
320     <bpmn2:scriptTask id="generateOutputs" name="Generate Outputs" scriptFormat="groovy">
321       <bpmn2:incoming>SequenceFlow_1iy3cqb</bpmn2:incoming>
322       <bpmn2:outgoing>SequenceFlow_09xwplc</bpmn2:outgoing>
323       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
324 DoCreateAllottedResourceTXC dcar = new DoCreateAllottedResourceTXC()
325 dcar.generateOutputs(execution)]]></bpmn2:script>
326     </bpmn2:scriptTask>
327     <bpmn2:sequenceFlow id="SequenceFlow_09xwplc" sourceRef="generateOutputs" targetRef="EndEvent_3" />
328     <bpmn2:sequenceFlow id="SequenceFlow_07kxd8t" sourceRef="UpdateAAIARActive" targetRef="IntermediateThrowEvent_0ti2fv8" />
329     <bpmn2:intermediateCatchEvent id="IntermediateThrowEvent_0ti2fv8" name="Await SDNC Replication&#10;&#10;">
330       <bpmn2:incoming>SequenceFlow_07kxd8t</bpmn2:incoming>
331       <bpmn2:outgoing>SequenceFlow_08hhqb2</bpmn2:outgoing>
332       <bpmn2:timerEventDefinition>
333         <bpmn2:timeDuration xsi:type="bpmn2:tFormalExpression">${sdncReplDelay}</bpmn2:timeDuration>
334       </bpmn2:timerEventDefinition>
335     </bpmn2:intermediateCatchEvent>
336     <bpmn2:sequenceFlow id="SequenceFlow_08hhqb2" sourceRef="IntermediateThrowEvent_0ti2fv8" targetRef="PreProcessSDNCGet" />
337   </bpmn2:process>
338   <bpmn2:error id="Error_1" name="Java Lang Exception" errorCode="java.lang.Exception" />
339   <bpmn2:error id="Error_2" name="MSO Workflow Exception" errorCode="MSOWorkflowException" />
340   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
341     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateAllottedResourceTXC">
342       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_68" bpmnElement="StartEvent_1">
343         <dc:Bounds x="-91" y="222" width="36" height="36" />
344         <bpmndi:BPMNLabel>
345           <dc:Bounds x="-73" y="263" width="0" height="0" />
346         </bpmndi:BPMNLabel>
347       </bpmndi:BPMNShape>
348       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_285" bpmnElement="initialization">
349         <dc:Bounds x="19" y="199" width="100" height="80" />
350       </bpmndi:BPMNShape>
351       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_68" targetElement="_BPMNShape_ScriptTask_285">
352         <di:waypoint xsi:type="dc:Point" x="-55" y="240" />
353         <di:waypoint xsi:type="dc:Point" x="19" y="240" />
354         <bpmndi:BPMNLabel>
355           <dc:Bounds x="-18" y="225" width="0" height="0" />
356         </bpmndi:BPMNLabel>
357       </bpmndi:BPMNEdge>
358       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_285">
359         <di:waypoint xsi:type="dc:Point" x="119" y="239" />
360         <di:waypoint xsi:type="dc:Point" x="195" y="239" />
361         <bpmndi:BPMNLabel>
362           <dc:Bounds x="157" y="224" width="0" height="0" />
363         </bpmndi:BPMNLabel>
364       </bpmndi:BPMNEdge>
365       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_59" bpmnElement="GetAAIServiceInstance">
366         <dc:Bounds x="195" y="199" width="100" height="80" />
367       </bpmndi:BPMNShape>
368       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_229" bpmnElement="ServiceInstanceExists" isMarkerVisible="true">
369         <dc:Bounds x="367" y="217" width="50" height="50" />
370         <bpmndi:BPMNLabel>
371           <dc:Bounds x="349" y="270" width="83" height="25" />
372         </bpmndi:BPMNLabel>
373       </bpmndi:BPMNShape>
374       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_CallActivity_59" targetElement="_BPMNShape_ExclusiveGateway_229">
375         <di:waypoint xsi:type="dc:Point" x="295" y="239" />
376         <di:waypoint xsi:type="dc:Point" x="369" y="240" />
377         <bpmndi:BPMNLabel>
378           <dc:Bounds x="332" y="224.5" width="0" height="0" />
379         </bpmndi:BPMNLabel>
380       </bpmndi:BPMNEdge>
381       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_293" bpmnElement="buildWorkflowException">
382         <dc:Bounds x="342" y="85" width="100" height="80" />
383       </bpmndi:BPMNShape>
384       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="notFound" sourceElement="_BPMNShape_ExclusiveGateway_229" targetElement="_BPMNShape_ScriptTask_293">
385         <di:waypoint xsi:type="dc:Point" x="392" y="217" />
386         <di:waypoint xsi:type="dc:Point" x="392" y="165" />
387         <bpmndi:BPMNLabel>
388           <dc:Bounds x="371" y="192.6917250252067" width="14" height="13" />
389         </bpmndi:BPMNLabel>
390       </bpmndi:BPMNEdge>
391       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_225" bpmnElement="EndEvent_1">
392         <dc:Bounds x="374" y="-11" width="36" height="36" />
393         <bpmndi:BPMNLabel>
394           <dc:Bounds x="392" y="30" width="0" height="0" />
395         </bpmndi:BPMNLabel>
396       </bpmndi:BPMNShape>
397       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_293" targetElement="_BPMNShape_EndEvent_225">
398         <di:waypoint xsi:type="dc:Point" x="392" y="85" />
399         <di:waypoint xsi:type="dc:Point" x="392" y="58" />
400         <di:waypoint xsi:type="dc:Point" x="392" y="58" />
401         <di:waypoint xsi:type="dc:Point" x="392" y="25" />
402         <bpmndi:BPMNLabel>
403           <dc:Bounds x="407" y="58" width="0" height="0" />
404         </bpmndi:BPMNLabel>
405       </bpmndi:BPMNEdge>
406       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_299" bpmnElement="GetAAIAR">
407         <dc:Bounds x="506" y="200" width="100" height="80" />
408       </bpmndi:BPMNShape>
409       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_300" bpmnElement="CreateAAIAR">
410         <dc:Bounds x="1206" y="200" width="100" height="80" />
411       </bpmndi:BPMNShape>
412       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_228" bpmnElement="EndEvent_3">
413         <dc:Bounds x="1527" y="776" width="36" height="36" />
414         <bpmndi:BPMNLabel>
415           <dc:Bounds x="1545" y="817" width="0" height="0" />
416         </bpmndi:BPMNLabel>
417       </bpmndi:BPMNShape>
418       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_300">
419         <di:waypoint xsi:type="dc:Point" x="1306" y="240" />
420         <di:waypoint xsi:type="dc:Point" x="1338" y="240" />
421         <di:waypoint xsi:type="dc:Point" x="1408" y="240" />
422         <bpmndi:BPMNLabel>
423           <dc:Bounds x="1322" y="225" width="0" height="0" />
424         </bpmndi:BPMNLabel>
425       </bpmndi:BPMNEdge>
426       <bpmndi:BPMNEdge id="SequenceFlow_1q6udwm_di" bpmnElement="SequenceFlow_1q6udwm">
427         <di:waypoint xsi:type="dc:Point" x="92" y="595" />
428         <di:waypoint xsi:type="dc:Point" x="92" y="624" />
429         <bpmndi:BPMNLabel>
430           <dc:Bounds x="107" y="609.5" width="0" height="0" />
431         </bpmndi:BPMNLabel>
432       </bpmndi:BPMNEdge>
433       <bpmndi:BPMNEdge id="SequenceFlow_15knw0q_di" bpmnElement="SequenceFlow_15knw0q">
434         <di:waypoint xsi:type="dc:Point" x="92" y="710" />
435         <di:waypoint xsi:type="dc:Point" x="92" y="745" />
436         <bpmndi:BPMNLabel>
437           <dc:Bounds x="107" y="727.5" width="0" height="0" />
438         </bpmndi:BPMNLabel>
439       </bpmndi:BPMNEdge>
440       <bpmndi:BPMNEdge id="SequenceFlow_0c5h00o_di" bpmnElement="SequenceFlow_0c5h00o">
441         <di:waypoint xsi:type="dc:Point" x="142" y="785" />
442         <di:waypoint xsi:type="dc:Point" x="205" y="785" />
443         <di:waypoint xsi:type="dc:Point" x="205" y="545" />
444         <di:waypoint xsi:type="dc:Point" x="309" y="545" />
445         <bpmndi:BPMNLabel>
446           <dc:Bounds x="220" y="665" width="0" height="0" />
447         </bpmndi:BPMNLabel>
448       </bpmndi:BPMNEdge>
449       <bpmndi:BPMNEdge id="SequenceFlow_1lalmvp_di" bpmnElement="SequenceFlow_1lalmvp">
450         <di:waypoint xsi:type="dc:Point" x="359" y="585" />
451         <di:waypoint xsi:type="dc:Point" x="359" y="624" />
452         <bpmndi:BPMNLabel>
453           <dc:Bounds x="374" y="604.5" width="0" height="0" />
454         </bpmndi:BPMNLabel>
455       </bpmndi:BPMNEdge>
456       <bpmndi:BPMNEdge id="SequenceFlow_0eb41vb_di" bpmnElement="SequenceFlow_0eb41vb">
457         <di:waypoint xsi:type="dc:Point" x="359" y="707" />
458         <di:waypoint xsi:type="dc:Point" x="359" y="725" />
459         <di:waypoint xsi:type="dc:Point" x="359" y="725" />
460         <di:waypoint xsi:type="dc:Point" x="359" y="745" />
461         <bpmndi:BPMNLabel>
462           <dc:Bounds x="374" y="725" width="0" height="0" />
463         </bpmndi:BPMNLabel>
464       </bpmndi:BPMNEdge>
465       <bpmndi:BPMNEdge id="SequenceFlow_15z3gpq_di" bpmnElement="SequenceFlow_15z3gpq">
466         <di:waypoint xsi:type="dc:Point" x="409" y="785" />
467         <di:waypoint xsi:type="dc:Point" x="560" y="785" />
468         <di:waypoint xsi:type="dc:Point" x="560" y="709" />
469         <bpmndi:BPMNLabel>
470           <dc:Bounds x="485" y="770" width="0" height="0" />
471         </bpmndi:BPMNLabel>
472       </bpmndi:BPMNEdge>
473       <bpmndi:BPMNShape id="ScriptTask_01h1rx2_di" bpmnElement="PreProcessSDNCAssign">
474         <dc:Bounds x="42" y="515" width="100" height="80" />
475       </bpmndi:BPMNShape>
476       <bpmndi:BPMNShape id="CallActivity_0p5ncd0_di" bpmnElement="SDNCAssign">
477         <dc:Bounds x="42" y="624" width="100" height="80" />
478       </bpmndi:BPMNShape>
479       <bpmndi:BPMNShape id="ScriptTask_1qa39wn_di" bpmnElement="PostProcessSDNCAssign">
480         <dc:Bounds x="42" y="745" width="100" height="80" />
481       </bpmndi:BPMNShape>
482       <bpmndi:BPMNShape id="ScriptTask_1rr2xrc_di" bpmnElement="PreProcessSDNCCreate">
483         <dc:Bounds x="309" y="505" width="100" height="80" />
484       </bpmndi:BPMNShape>
485       <bpmndi:BPMNShape id="CallActivity_1ieo30p_di" bpmnElement="SDNCCreate">
486         <dc:Bounds x="309" y="624" width="100" height="80" />
487       </bpmndi:BPMNShape>
488       <bpmndi:BPMNShape id="ScriptTask_04votlb_di" bpmnElement="postProcessSDNCCreate">
489         <dc:Bounds x="309" y="745" width="100" height="80" />
490       </bpmndi:BPMNShape>
491       <bpmndi:BPMNShape id="ScriptTask_0zm728u_di" bpmnElement="PreProcessSDNCActivate">
492         <dc:Bounds x="702" y="515" width="100" height="80" />
493       </bpmndi:BPMNShape>
494       <bpmndi:BPMNShape id="CallActivity_1uhgd2e_di" bpmnElement="SDNCActivate">
495         <dc:Bounds x="702" y="624" width="100" height="80" />
496       </bpmndi:BPMNShape>
497       <bpmndi:BPMNShape id="ScriptTask_0rrv9dw_di" bpmnElement="PostProcessSDNCActivate">
498         <dc:Bounds x="702" y="745" width="100" height="80" />
499       </bpmndi:BPMNShape>
500       <bpmndi:BPMNEdge id="SequenceFlow_06w33tk_di" bpmnElement="SequenceFlow_06w33tk">
501         <di:waypoint xsi:type="dc:Point" x="752" y="595" />
502         <di:waypoint xsi:type="dc:Point" x="752" y="624" />
503         <bpmndi:BPMNLabel>
504           <dc:Bounds x="767" y="609.5" width="0" height="0" />
505         </bpmndi:BPMNLabel>
506       </bpmndi:BPMNEdge>
507       <bpmndi:BPMNEdge id="SequenceFlow_1s7yieq_di" bpmnElement="SequenceFlow_1s7yieq">
508         <di:waypoint xsi:type="dc:Point" x="752" y="705" />
509         <di:waypoint xsi:type="dc:Point" x="752" y="725" />
510         <di:waypoint xsi:type="dc:Point" x="752" y="742" />
511         <bpmndi:BPMNLabel>
512           <dc:Bounds x="767" y="715" width="0" height="0" />
513         </bpmndi:BPMNLabel>
514       </bpmndi:BPMNEdge>
515       <bpmndi:BPMNEdge id="SequenceFlow_00i7x43_di" bpmnElement="SequenceFlow_00i7x43">
516         <di:waypoint xsi:type="dc:Point" x="802" y="785" />
517         <di:waypoint xsi:type="dc:Point" x="963" y="785" />
518         <di:waypoint xsi:type="dc:Point" x="963" y="704" />
519         <bpmndi:BPMNLabel>
520           <dc:Bounds x="883" y="770" width="0" height="0" />
521         </bpmndi:BPMNLabel>
522       </bpmndi:BPMNEdge>
523       <bpmndi:BPMNEdge id="SequenceFlow_04t1zc2_di" bpmnElement="SequenceFlow_04t1zc2">
524         <di:waypoint xsi:type="dc:Point" x="560" y="621" />
525         <di:waypoint xsi:type="dc:Point" x="560" y="555" />
526         <di:waypoint xsi:type="dc:Point" x="702" y="555" />
527         <bpmndi:BPMNLabel>
528           <dc:Bounds x="575" y="588" width="0" height="0" />
529         </bpmndi:BPMNLabel>
530       </bpmndi:BPMNEdge>
531       <bpmndi:BPMNShape id="CallActivity_1pfpn41_di" bpmnElement="SDNCGet">
532         <dc:Bounds x="1143" y="624" width="100" height="80" />
533       </bpmndi:BPMNShape>
534       <bpmndi:BPMNEdge id="SequenceFlow_1iy3cqb_di" bpmnElement="SequenceFlow_1iy3cqb">
535         <di:waypoint xsi:type="dc:Point" x="1240" y="794" />
536         <di:waypoint xsi:type="dc:Point" x="1313" y="794" />
537         <bpmndi:BPMNLabel>
538           <dc:Bounds x="1277" y="779" width="0" height="0" />
539         </bpmndi:BPMNLabel>
540       </bpmndi:BPMNEdge>
541       <bpmndi:BPMNShape id="CallActivity_0e73um9_di" bpmnElement="GetAAIParentSI">
542         <dc:Bounds x="843" y="199" width="100" height="80" />
543       </bpmndi:BPMNShape>
544       <bpmndi:BPMNEdge id="SequenceFlow_1vg5rfa_di" bpmnElement="SequenceFlow_1vg5rfa">
545         <di:waypoint xsi:type="dc:Point" x="943" y="239" />
546         <di:waypoint xsi:type="dc:Point" x="1033" y="240" />
547         <bpmndi:BPMNLabel>
548           <dc:Bounds x="988" y="224.5" width="0" height="0" />
549         </bpmndi:BPMNLabel>
550       </bpmndi:BPMNEdge>
551       <bpmndi:BPMNShape id="ExclusiveGateway_1q51t9m_di" bpmnElement="ParentSIExists" isMarkerVisible="true">
552         <dc:Bounds x="1033" y="215" width="50" height="50" />
553         <bpmndi:BPMNLabel>
554           <dc:Bounds x="1012" y="265" width="92" height="36" />
555         </bpmndi:BPMNLabel>
556       </bpmndi:BPMNShape>
557       <bpmndi:BPMNEdge id="SequenceFlow_17p4ohs_di" bpmnElement="SequenceFlow_17p4ohs">
558         <di:waypoint xsi:type="dc:Point" x="1083" y="240" />
559         <di:waypoint xsi:type="dc:Point" x="1206" y="241" />
560         <bpmndi:BPMNLabel>
561           <dc:Bounds x="1127" y="222" width="19" height="14" />
562         </bpmndi:BPMNLabel>
563       </bpmndi:BPMNEdge>
564       <bpmndi:BPMNShape id="ScriptTask_1hzsbck_di" bpmnElement="ScriptTask_1hzsbck">
565         <dc:Bounds x="1008" y="77" width="100" height="80" />
566       </bpmndi:BPMNShape>
567       <bpmndi:BPMNShape id="EndEvent_0x4moh8_di" bpmnElement="EndEvent_0x4moh8">
568         <dc:Bounds x="1040" y="6" width="36" height="36" />
569         <bpmndi:BPMNLabel>
570           <dc:Bounds x="1058" y="47" width="0" height="0" />
571         </bpmndi:BPMNLabel>
572       </bpmndi:BPMNShape>
573       <bpmndi:BPMNEdge id="SequenceFlow_0f7u5pu_di" bpmnElement="SequenceFlow_0f7u5pu">
574         <di:waypoint xsi:type="dc:Point" x="1058" y="215" />
575         <di:waypoint xsi:type="dc:Point" x="1058" y="186" />
576         <di:waypoint xsi:type="dc:Point" x="1058" y="157" />
577         <bpmndi:BPMNLabel>
578           <dc:Bounds x="1034" y="173.413457125764" width="14" height="12" />
579         </bpmndi:BPMNLabel>
580       </bpmndi:BPMNEdge>
581       <bpmndi:BPMNEdge id="SequenceFlow_16o7col_di" bpmnElement="SequenceFlow_16o7col">
582         <di:waypoint xsi:type="dc:Point" x="1059" y="77" />
583         <di:waypoint xsi:type="dc:Point" x="1059" y="42" />
584         <bpmndi:BPMNLabel>
585           <dc:Bounds x="1074" y="59.5" width="0" height="0" />
586         </bpmndi:BPMNLabel>
587       </bpmndi:BPMNEdge>
588       <bpmndi:BPMNShape id="SubProcess_161pl4g_di" bpmnElement="SubProcess_161pl4g" isExpanded="true">
589         <dc:Bounds x="53" y="910" width="783" height="195" />
590       </bpmndi:BPMNShape>
591       <bpmndi:BPMNShape id="StartEvent_1ibe7qx_di" bpmnElement="StartEvent_1ibe7qx">
592         <dc:Bounds x="150" y="987" width="36" height="36" />
593         <bpmndi:BPMNLabel>
594           <dc:Bounds x="168" y="1028" width="0" height="0" />
595         </bpmndi:BPMNLabel>
596       </bpmndi:BPMNShape>
597       <bpmndi:BPMNShape id="EndEvent_1fgqhmi_di" bpmnElement="EndEvent_1fgqhmi">
598         <dc:Bounds x="783" y="987" width="36" height="36" />
599         <bpmndi:BPMNLabel>
600           <dc:Bounds x="801" y="1028" width="0" height="0" />
601         </bpmndi:BPMNLabel>
602       </bpmndi:BPMNShape>
603       <bpmndi:BPMNShape id="ScriptTask_0ji3121_di" bpmnElement="ScriptTask_0ji3121">
604         <dc:Bounds x="245" y="965" width="100" height="80" />
605       </bpmndi:BPMNShape>
606       <bpmndi:BPMNShape id="ScriptTask_1kgumd4_di" bpmnElement="ScriptTask_1kgumd4">
607         <dc:Bounds x="616" y="965" width="100" height="80" />
608       </bpmndi:BPMNShape>
609       <bpmndi:BPMNEdge id="SequenceFlow_1h61pqs_di" bpmnElement="SequenceFlow_1h61pqs">
610         <di:waypoint xsi:type="dc:Point" x="186" y="1005" />
611         <di:waypoint xsi:type="dc:Point" x="245" y="1005" />
612         <bpmndi:BPMNLabel>
613           <dc:Bounds x="216" y="990" width="0" height="0" />
614         </bpmndi:BPMNLabel>
615       </bpmndi:BPMNEdge>
616       <bpmndi:BPMNEdge id="SequenceFlow_0t4ut76_di" bpmnElement="SequenceFlow_0t4ut76">
617         <di:waypoint xsi:type="dc:Point" x="716" y="1005" />
618         <di:waypoint xsi:type="dc:Point" x="748" y="1005" />
619         <di:waypoint xsi:type="dc:Point" x="748" y="1005" />
620         <di:waypoint xsi:type="dc:Point" x="783" y="1005" />
621         <bpmndi:BPMNLabel>
622           <dc:Bounds x="763" y="1005" width="0" height="0" />
623         </bpmndi:BPMNLabel>
624       </bpmndi:BPMNEdge>
625       <bpmndi:BPMNEdge id="SequenceFlow_1kbzr5v_di" bpmnElement="SequenceFlow_1kbzr5v">
626         <di:waypoint xsi:type="dc:Point" x="345" y="1005" />
627         <di:waypoint xsi:type="dc:Point" x="434" y="1005" />
628         <bpmndi:BPMNLabel>
629           <dc:Bounds x="390" y="990" width="0" height="0" />
630         </bpmndi:BPMNLabel>
631       </bpmndi:BPMNEdge>
632       <bpmndi:BPMNShape id="ScriptTask_16x97wp_di" bpmnElement="UpdateAAIARActive">
633         <dc:Bounds x="914" y="624" width="100" height="80" />
634       </bpmndi:BPMNShape>
635       <bpmndi:BPMNShape id="ScriptTask_0rfj6et_di" bpmnElement="UpdateAAIARCreated">
636         <dc:Bounds x="516" y="624" width="100" height="80" />
637       </bpmndi:BPMNShape>
638       <bpmndi:BPMNShape id="ScriptTask_0c8nrax_di" bpmnElement="PreProcessSDNCGet">
639         <dc:Bounds x="1140" y="505" width="100" height="80" />
640       </bpmndi:BPMNShape>
641       <bpmndi:BPMNShape id="ScriptTask_1xa2jlo_di" bpmnElement="postProcessSDNCGetResponse">
642         <dc:Bounds x="1140" y="754" width="100" height="80" />
643       </bpmndi:BPMNShape>
644       <bpmndi:BPMNEdge id="SequenceFlow_030mhcm_di" bpmnElement="SequenceFlow_030mhcm">
645         <di:waypoint xsi:type="dc:Point" x="1190" y="585" />
646         <di:waypoint xsi:type="dc:Point" x="1190" y="621" />
647         <bpmndi:BPMNLabel>
648           <dc:Bounds x="1205" y="603" width="0" height="0" />
649         </bpmndi:BPMNLabel>
650       </bpmndi:BPMNEdge>
651       <bpmndi:BPMNEdge id="SequenceFlow_0q1hz2p_di" bpmnElement="SequenceFlow_0q1hz2p">
652         <di:waypoint xsi:type="dc:Point" x="1193" y="704" />
653         <di:waypoint xsi:type="dc:Point" x="1193" y="753" />
654         <bpmndi:BPMNLabel>
655           <dc:Bounds x="1208" y="728.5" width="0" height="0" />
656         </bpmndi:BPMNLabel>
657       </bpmndi:BPMNEdge>
658       <bpmndi:BPMNShape id="ExclusiveGateway_0hxis7t_di" bpmnElement="ActiveARinAAI" isMarkerVisible="true">
659         <dc:Bounds x="700" y="215" width="50" height="50" />
660         <bpmndi:BPMNLabel>
661           <dc:Bounds x="695" y="184" width="75" height="24" />
662         </bpmndi:BPMNLabel>
663       </bpmndi:BPMNShape>
664       <bpmndi:BPMNEdge id="SequenceFlow_1m8u8dl_di" bpmnElement="SequenceFlow_1m8u8dl">
665         <di:waypoint xsi:type="dc:Point" x="750" y="240" />
666         <di:waypoint xsi:type="dc:Point" x="843" y="239" />
667         <bpmndi:BPMNLabel>
668           <dc:Bounds x="777" y="224" width="14" height="14" />
669         </bpmndi:BPMNLabel>
670       </bpmndi:BPMNEdge>
671       <bpmndi:BPMNEdge id="SequenceFlow_0z8luou_di" bpmnElement="SequenceFlow_0z8luou">
672         <di:waypoint xsi:type="dc:Point" x="725" y="265" />
673         <di:waypoint xsi:type="dc:Point" x="725" y="378" />
674         <di:waypoint xsi:type="dc:Point" x="1190" y="378" />
675         <di:waypoint xsi:type="dc:Point" x="1190" y="505" />
676         <bpmndi:BPMNLabel>
677           <dc:Bounds x="737" y="270.89473684210526" width="16" height="12" />
678         </bpmndi:BPMNLabel>
679       </bpmndi:BPMNEdge>
680       <bpmndi:BPMNShape id="IntermediateCatchEvent_1lqaeh8_di" bpmnElement="IntermediateCatchEvent_1lqaeh8">
681         <dc:Bounds x="-70" y="527" width="36" height="36" />
682         <bpmndi:BPMNLabel>
683           <dc:Bounds x="-79" y="568" width="60" height="12" />
684         </bpmndi:BPMNLabel>
685       </bpmndi:BPMNShape>
686       <bpmndi:BPMNEdge id="SequenceFlow_0gd64w9_di" bpmnElement="SequenceFlow_0gd64w9">
687         <di:waypoint xsi:type="dc:Point" x="-34" y="545" />
688         <di:waypoint xsi:type="dc:Point" x="42" y="545" />
689         <bpmndi:BPMNLabel>
690           <dc:Bounds x="4" y="530" width="0" height="0" />
691         </bpmndi:BPMNLabel>
692       </bpmndi:BPMNEdge>
693       <bpmndi:BPMNShape id="IntermediateThrowEvent_0sb45m9_di" bpmnElement="IntermediateThrowEvent_1lqaeh8">
694         <dc:Bounds x="1408" y="222" width="36" height="36" />
695         <bpmndi:BPMNLabel>
696           <dc:Bounds x="1456" y="234" width="76" height="12" />
697         </bpmndi:BPMNLabel>
698       </bpmndi:BPMNShape>
699       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_7" bpmnElement="found" sourceElement="_BPMNShape_ExclusiveGateway_229">
700         <di:waypoint xsi:type="dc:Point" x="416" y="241" />
701         <di:waypoint xsi:type="dc:Point" x="506" y="242" />
702         <bpmndi:BPMNLabel>
703           <dc:Bounds x="432" y="220.27119611047112" width="17" height="12" />
704         </bpmndi:BPMNLabel>
705       </bpmndi:BPMNEdge>
706       <bpmndi:BPMNEdge id="SequenceFlow_0gbsa12_di" bpmnElement="SequenceFlow_0gbsa12">
707         <di:waypoint xsi:type="dc:Point" x="606" y="240" />
708         <di:waypoint xsi:type="dc:Point" x="700" y="240" />
709         <bpmndi:BPMNLabel>
710           <dc:Bounds x="653" y="225" width="0" height="0" />
711         </bpmndi:BPMNLabel>
712       </bpmndi:BPMNEdge>
713       <bpmndi:BPMNShape id="ScriptTask_0pjzuns_di" bpmnElement="generateOutputs">
714         <dc:Bounds x="1314" y="754" width="100" height="80" />
715       </bpmndi:BPMNShape>
716       <bpmndi:BPMNEdge id="SequenceFlow_09xwplc_di" bpmnElement="SequenceFlow_09xwplc">
717         <di:waypoint xsi:type="dc:Point" x="1414" y="794" />
718         <di:waypoint xsi:type="dc:Point" x="1527" y="794" />
719         <bpmndi:BPMNLabel>
720           <dc:Bounds x="1471" y="779" width="0" height="0" />
721         </bpmndi:BPMNLabel>
722       </bpmndi:BPMNEdge>
723       <bpmndi:BPMNShape id="CallActivity_0s6hs9u_di" bpmnElement="CallActivity_0s6hs9u">
724         <dc:Bounds x="434" y="965" width="100" height="80" />
725       </bpmndi:BPMNShape>
726       <bpmndi:BPMNEdge id="SequenceFlow_1cxj4yz_di" bpmnElement="SequenceFlow_1cxj4yz">
727         <di:waypoint xsi:type="dc:Point" x="534" y="1005" />
728         <di:waypoint xsi:type="dc:Point" x="616" y="1005" />
729         <bpmndi:BPMNLabel>
730           <dc:Bounds x="575" y="980" width="0" height="0" />
731         </bpmndi:BPMNLabel>
732       </bpmndi:BPMNEdge>
733       <bpmndi:BPMNEdge id="SequenceFlow_07kxd8t_di" bpmnElement="SequenceFlow_07kxd8t">
734         <di:waypoint xsi:type="dc:Point" x="964" y="624" />
735         <di:waypoint xsi:type="dc:Point" x="964" y="563" />
736         <bpmndi:BPMNLabel>
737           <dc:Bounds x="979" y="587.5" width="0" height="12" />
738         </bpmndi:BPMNLabel>
739       </bpmndi:BPMNEdge>
740       <bpmndi:BPMNShape id="IntermediateCatchEvent_038xgwf_di" bpmnElement="IntermediateThrowEvent_0ti2fv8">
741         <dc:Bounds x="946" y="527" width="36" height="36" />
742         <bpmndi:BPMNLabel>
743           <dc:Bounds x="933" y="492" width="61" height="48" />
744         </bpmndi:BPMNLabel>
745       </bpmndi:BPMNShape>
746       <bpmndi:BPMNEdge id="SequenceFlow_08hhqb2_di" bpmnElement="SequenceFlow_08hhqb2">
747         <di:waypoint xsi:type="dc:Point" x="982" y="545" />
748         <di:waypoint xsi:type="dc:Point" x="1140" y="545" />
749         <bpmndi:BPMNLabel>
750           <dc:Bounds x="1061" y="524" width="0" height="12" />
751         </bpmndi:BPMNLabel>
752       </bpmndi:BPMNEdge>
753     </bpmndi:BPMNPlane>
754   </bpmndi:BPMNDiagram>
755 </bpmn2:definitions>