Merge "Added support for userdata and metadata"
[so.git] / bpmn / MSOInfrastructureBPMN / src / main / resources / subprocess / DoCreateAllottedResourceBRG.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.4.0" xsi:schemaLocation="http://www.omg.org/spec/BPMN/20100524/MODEL BPMN20.xsd">
3   <bpmn2:process id="DoCreateAllottedResourceBRG" name="DoCreateAllottedResourceBRG" 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 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
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.utils.*
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 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
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 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
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 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
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 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
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 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
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 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
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 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
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 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
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:sequenceFlow id="SequenceFlow_1dgzhsm" sourceRef="UpdateAAIARActive" targetRef="PreProcessSDNCGet" />
184     <bpmn2:callActivity id="GetAAIParentSI" name="Get AAI  Parent ServiceInstance&#10;" calledElement="GenericGetService">
185       <bpmn2:extensionElements>
186         <camunda:in source="parentServiceInstanceId" target="GENGS_serviceInstanceId" />
187         <camunda:in sourceExpression="service-instance" target="GENGS_type" />
188         <camunda:out source="GENGS_SuccessIndicator" target="PSI_SuccessIndicator" />
189         <camunda:out source="GENGS_FoundIndicator" target="PSI_FoundIndicator" />
190         <camunda:out source="GENGS_serviceInstance" target="PSI_serviceInstance" />
191         <camunda:out source="WorkflowException" target="WorkflowException" />
192         <camunda:out source="GENGS_resourceLink" target="PSI_resourceLink" />
193         <camunda:out source="GENGS_service" target="PSI_service" />
194       </bpmn2:extensionElements>
195       <bpmn2:incoming>SequenceFlow_1m8u8dl</bpmn2:incoming>
196       <bpmn2:outgoing>SequenceFlow_1vg5rfa</bpmn2:outgoing>
197     </bpmn2:callActivity>
198     <bpmn2:sequenceFlow id="SequenceFlow_1vg5rfa" sourceRef="GetAAIParentSI" targetRef="ParentSIExists" />
199     <bpmn2:exclusiveGateway id="ParentSIExists" name="Parent Service Instance Exists in AAI?" default="SequenceFlow_0f7u5pu">
200       <bpmn2:incoming>SequenceFlow_1vg5rfa</bpmn2:incoming>
201       <bpmn2:outgoing>SequenceFlow_17p4ohs</bpmn2:outgoing>
202       <bpmn2:outgoing>SequenceFlow_0f7u5pu</bpmn2:outgoing>
203     </bpmn2:exclusiveGateway>
204     <bpmn2:sequenceFlow id="SequenceFlow_17p4ohs" name="Yes" sourceRef="ParentSIExists" targetRef="CreateAAIAR">
205       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("PSI_FoundIndicator" ) == true && execution.getVariable("PSI_SuccessIndicator" ) == true}]]></bpmn2:conditionExpression>
206     </bpmn2:sequenceFlow>
207     <bpmn2:scriptTask id="ScriptTask_1hzsbck" name="Create Workflow Exception" scriptFormat="groovy">
208       <bpmn2:incoming>SequenceFlow_0f7u5pu</bpmn2:incoming>
209       <bpmn2:outgoing>SequenceFlow_16o7col</bpmn2:outgoing>
210       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.common.scripts.utils.*
211
212 ExceptionUtil exceptionUtil = new ExceptionUtil()
213 exceptionUtil.buildWorkflowException(execution, 404, "BRG alloted resource Parent ServiceInstance:"  +  
214 execution.getVariable("parentServiceInstanceId") +
215  " was not found in AAI")]]></bpmn2:script>
216     </bpmn2:scriptTask>
217     <bpmn2:endEvent id="EndEvent_0x4moh8">
218       <bpmn2:incoming>SequenceFlow_16o7col</bpmn2:incoming>
219       <bpmn2:errorEventDefinition errorRef="Error_2" />
220     </bpmn2:endEvent>
221     <bpmn2:sequenceFlow id="SequenceFlow_0f7u5pu" name="No" sourceRef="ParentSIExists" targetRef="ScriptTask_1hzsbck" />
222     <bpmn2:sequenceFlow id="SequenceFlow_16o7col" sourceRef="ScriptTask_1hzsbck" targetRef="EndEvent_0x4moh8" />
223     <bpmn2:subProcess id="SubProcess_161pl4g" name="Sub-process for Application Errors" triggeredByEvent="true">
224       <bpmn2:startEvent id="StartEvent_1ibe7qx">
225         <bpmn2:outgoing>SequenceFlow_1h61pqs</bpmn2:outgoing>
226         <bpmn2:errorEventDefinition />
227       </bpmn2:startEvent>
228       <bpmn2:endEvent id="EndEvent_1fgqhmi">
229         <bpmn2:incoming>SequenceFlow_0t4ut76</bpmn2:incoming>
230       </bpmn2:endEvent>
231       <bpmn2:scriptTask id="ScriptTask_0ji3121" name="Pre Process Rollback" scriptFormat="groovy">
232         <bpmn2:incoming>SequenceFlow_1h61pqs</bpmn2:incoming>
233         <bpmn2:outgoing>SequenceFlow_1kbzr5v</bpmn2:outgoing>
234         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
235
236 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
237 dcar.preProcessRollback(execution)]]></bpmn2:script>
238       </bpmn2:scriptTask>
239       <bpmn2:scriptTask id="ScriptTask_1kgumd4" name="Post Process Rollback" scriptFormat="groovy">
240         <bpmn2:incoming>SequenceFlow_1cxj4yz</bpmn2:incoming>
241         <bpmn2:outgoing>SequenceFlow_0t4ut76</bpmn2:outgoing>
242         <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
243
244 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
245 dcar.postProcessRollback(execution)]]></bpmn2:script>
246       </bpmn2:scriptTask>
247       <bpmn2:sequenceFlow id="SequenceFlow_1h61pqs" sourceRef="StartEvent_1ibe7qx" targetRef="ScriptTask_0ji3121" />
248       <bpmn2:sequenceFlow id="SequenceFlow_0t4ut76" sourceRef="ScriptTask_1kgumd4" targetRef="EndEvent_1fgqhmi" />
249       <bpmn2:sequenceFlow id="SequenceFlow_1kbzr5v" sourceRef="ScriptTask_0ji3121" targetRef="CallActivity_0s6hs9u" />
250       <bpmn2:callActivity id="CallActivity_0s6hs9u" name="Rollback Create" calledElement="DoCreateAllottedResourceBRGRollback">
251         <bpmn2:extensionElements>
252           <camunda:in source="msoRequestId" target="msoRequestId" />
253           <camunda:in source="rollbackData" target="rollbackData" />
254           <camunda:in source="disableRollback" target="disableRollback" />
255           <camunda:out source="rolledBack" target="rolledBack" />
256           <camunda:out source="rollbackError" target="rollbackError" />
257         </bpmn2:extensionElements>
258         <bpmn2:incoming>SequenceFlow_1kbzr5v</bpmn2:incoming>
259         <bpmn2:outgoing>SequenceFlow_1cxj4yz</bpmn2:outgoing>
260       </bpmn2:callActivity>
261       <bpmn2:sequenceFlow id="SequenceFlow_1cxj4yz" sourceRef="CallActivity_0s6hs9u" targetRef="ScriptTask_1kgumd4" />
262     </bpmn2:subProcess>
263     <bpmn2:scriptTask id="UpdateAAIARActive" name="Update AAI AR Active" scriptFormat="groovy">
264       <bpmn2:incoming>SequenceFlow_00i7x43</bpmn2:incoming>
265       <bpmn2:outgoing>SequenceFlow_1dgzhsm</bpmn2:outgoing>
266       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
267
268 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
269 dcar.updateAaiAROrchStatus(execution, "Active")]]></bpmn2:script>
270     </bpmn2:scriptTask>
271     <bpmn2:scriptTask id="UpdateAAIARCreated" name="Update AAI AR Created" scriptFormat="groovy">
272       <bpmn2:incoming>SequenceFlow_15z3gpq</bpmn2:incoming>
273       <bpmn2:outgoing>SequenceFlow_04t1zc2</bpmn2:outgoing>
274       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
275
276 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
277 dcar.updateAaiAROrchStatus(execution, "Created")]]></bpmn2:script>
278     </bpmn2:scriptTask>
279     <bpmn2:scriptTask id="PreProcessSDNCGet" name="PreProcess SDNC Get" scriptFormat="groovy">
280       <bpmn2:incoming>SequenceFlow_1dgzhsm</bpmn2:incoming>
281       <bpmn2:incoming>SequenceFlow_0z8luou</bpmn2:incoming>
282       <bpmn2:outgoing>SequenceFlow_030mhcm</bpmn2:outgoing>
283       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
284 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
285 dcar.preProcessSDNCGet(execution)]]></bpmn2:script>
286     </bpmn2:scriptTask>
287     <bpmn2:scriptTask id="postProcessSDNCGetResponse" name="PostProcess SDNC Get" scriptFormat="groovy">
288       <bpmn2:incoming>SequenceFlow_0q1hz2p</bpmn2:incoming>
289       <bpmn2:outgoing>SequenceFlow_1iy3cqb</bpmn2:outgoing>
290       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
291
292 String response = execution.getVariable("sdncGetResponse")
293
294 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
295 dcar.validateSDNCResp(execution, response, "get" )]]></bpmn2:script>
296     </bpmn2:scriptTask>
297     <bpmn2:sequenceFlow id="SequenceFlow_030mhcm" sourceRef="PreProcessSDNCGet" targetRef="SDNCGet" />
298     <bpmn2:sequenceFlow id="SequenceFlow_0q1hz2p" sourceRef="SDNCGet" targetRef="postProcessSDNCGetResponse" />
299     <bpmn2:exclusiveGateway id="ActiveARinAAI" name="Active AR Exists in AAI?" default="SequenceFlow_1m8u8dl">
300       <bpmn2:incoming>SequenceFlow_0gbsa12</bpmn2:incoming>
301       <bpmn2:outgoing>SequenceFlow_1m8u8dl</bpmn2:outgoing>
302       <bpmn2:outgoing>SequenceFlow_0z8luou</bpmn2:outgoing>
303     </bpmn2:exclusiveGateway>
304     <bpmn2:sequenceFlow id="SequenceFlow_1m8u8dl" name="No" sourceRef="ActiveARinAAI" targetRef="GetAAIParentSI" />
305     <bpmn2:sequenceFlow id="SequenceFlow_0z8luou" name="yes" sourceRef="ActiveARinAAI" targetRef="PreProcessSDNCGet">
306       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("foundActiveAR" ) == true}]]></bpmn2:conditionExpression>
307     </bpmn2:sequenceFlow>
308     <bpmn2:intermediateCatchEvent id="IntermediateCatchEvent_1lqaeh8" name="SDNCTasks">
309       <bpmn2:outgoing>SequenceFlow_0gd64w9</bpmn2:outgoing>
310       <bpmn2:linkEventDefinition name="SDNCTasks" />
311     </bpmn2:intermediateCatchEvent>
312     <bpmn2:sequenceFlow id="SequenceFlow_0gd64w9" sourceRef="IntermediateCatchEvent_1lqaeh8" targetRef="PreProcessSDNCAssign" />
313     <bpmn2:intermediateThrowEvent id="IntermediateThrowEvent_1lqaeh8" name="To SDNCTasks">
314       <bpmn2:incoming>SequenceFlow_11</bpmn2:incoming>
315       <bpmn2:linkEventDefinition name="SDNCTasks" />
316     </bpmn2:intermediateThrowEvent>
317     <bpmn2:sequenceFlow id="found" name="Yes" sourceRef="ServiceInstanceExists" targetRef="GetAAIAR">
318       <bpmn2:conditionExpression xsi:type="bpmn2:tFormalExpression"><![CDATA[#{execution.getVariable("CSI_FoundIndicator" ) == true && execution.getVariable("CSI_SuccessIndicator" ) == true}]]></bpmn2:conditionExpression>
319     </bpmn2:sequenceFlow>
320     <bpmn2:sequenceFlow id="SequenceFlow_0gbsa12" sourceRef="GetAAIAR" targetRef="ActiveARinAAI" />
321     <bpmn2:scriptTask id="generateOutputs" name="Generate Outputs" scriptFormat="groovy">
322       <bpmn2:incoming>SequenceFlow_1iy3cqb</bpmn2:incoming>
323       <bpmn2:outgoing>SequenceFlow_09xwplc</bpmn2:outgoing>
324       <bpmn2:script><![CDATA[import org.openecomp.mso.bpmn.vcpe.scripts.*
325 DoCreateAllottedResourceBRG dcar = new DoCreateAllottedResourceBRG()
326 dcar.generateOutputs(execution)]]></bpmn2:script>
327     </bpmn2:scriptTask>
328     <bpmn2:sequenceFlow id="SequenceFlow_09xwplc" sourceRef="generateOutputs" targetRef="EndEvent_3" />
329   </bpmn2:process>
330   <bpmn2:error id="Error_1" name="Java Lang Exception" errorCode="java.lang.Exception" />
331   <bpmn2:error id="Error_2" name="MSO Workflow Exception" errorCode="MSOWorkflowException" />
332   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
333     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoCreateAllottedResourceBRG">
334       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_68" bpmnElement="StartEvent_1">
335         <dc:Bounds x="-91" y="222" width="36" height="36" />
336         <bpmndi:BPMNLabel>
337           <dc:Bounds x="-73" y="263" width="0" height="0" />
338         </bpmndi:BPMNLabel>
339       </bpmndi:BPMNShape>
340       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_285" bpmnElement="initialization">
341         <dc:Bounds x="19" y="199" width="100" height="80" />
342       </bpmndi:BPMNShape>
343       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_1" bpmnElement="SequenceFlow_1" sourceElement="_BPMNShape_StartEvent_68" targetElement="_BPMNShape_ScriptTask_285">
344         <di:waypoint xsi:type="dc:Point" x="-55" y="240" />
345         <di:waypoint xsi:type="dc:Point" x="19" y="240" />
346         <bpmndi:BPMNLabel>
347           <dc:Bounds x="-18" y="225" width="0" height="0" />
348         </bpmndi:BPMNLabel>
349       </bpmndi:BPMNEdge>
350       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_2" bpmnElement="SequenceFlow_2" sourceElement="_BPMNShape_ScriptTask_285">
351         <di:waypoint xsi:type="dc:Point" x="119" y="239" />
352         <di:waypoint xsi:type="dc:Point" x="195" y="239" />
353         <bpmndi:BPMNLabel>
354           <dc:Bounds x="157" y="224" width="0" height="0" />
355         </bpmndi:BPMNLabel>
356       </bpmndi:BPMNEdge>
357       <bpmndi:BPMNShape id="_BPMNShape_CallActivity_59" bpmnElement="GetAAIServiceInstance">
358         <dc:Bounds x="195" y="199" width="100" height="80" />
359       </bpmndi:BPMNShape>
360       <bpmndi:BPMNShape id="_BPMNShape_ExclusiveGateway_229" bpmnElement="ServiceInstanceExists" isMarkerVisible="true">
361         <dc:Bounds x="367" y="217" width="50" height="50" />
362         <bpmndi:BPMNLabel>
363           <dc:Bounds x="349" y="270" width="83" height="25" />
364         </bpmndi:BPMNLabel>
365       </bpmndi:BPMNShape>
366       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_4" bpmnElement="SequenceFlow_4" sourceElement="_BPMNShape_CallActivity_59" targetElement="_BPMNShape_ExclusiveGateway_229">
367         <di:waypoint xsi:type="dc:Point" x="295" y="239" />
368         <di:waypoint xsi:type="dc:Point" x="369" y="240" />
369         <bpmndi:BPMNLabel>
370           <dc:Bounds x="332" y="224.5" width="0" height="0" />
371         </bpmndi:BPMNLabel>
372       </bpmndi:BPMNEdge>
373       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_293" bpmnElement="buildWorkflowException">
374         <dc:Bounds x="342" y="85" width="100" height="80" />
375       </bpmndi:BPMNShape>
376       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_5" bpmnElement="notFound" sourceElement="_BPMNShape_ExclusiveGateway_229" targetElement="_BPMNShape_ScriptTask_293">
377         <di:waypoint xsi:type="dc:Point" x="392" y="217" />
378         <di:waypoint xsi:type="dc:Point" x="392" y="165" />
379         <bpmndi:BPMNLabel>
380           <dc:Bounds x="371" y="192.6917250252067" width="14" height="13" />
381         </bpmndi:BPMNLabel>
382       </bpmndi:BPMNEdge>
383       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_225" bpmnElement="EndEvent_1">
384         <dc:Bounds x="374" y="-11" width="36" height="36" />
385         <bpmndi:BPMNLabel>
386           <dc:Bounds x="392" y="30" width="0" height="0" />
387         </bpmndi:BPMNLabel>
388       </bpmndi:BPMNShape>
389       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_6" bpmnElement="SequenceFlow_6" sourceElement="_BPMNShape_ScriptTask_293" targetElement="_BPMNShape_EndEvent_225">
390         <di:waypoint xsi:type="dc:Point" x="392" y="85" />
391         <di:waypoint xsi:type="dc:Point" x="392" y="58" />
392         <di:waypoint xsi:type="dc:Point" x="392" y="58" />
393         <di:waypoint xsi:type="dc:Point" x="392" y="25" />
394         <bpmndi:BPMNLabel>
395           <dc:Bounds x="407" y="58" width="0" height="0" />
396         </bpmndi:BPMNLabel>
397       </bpmndi:BPMNEdge>
398       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_299" bpmnElement="GetAAIAR">
399         <dc:Bounds x="506" y="200" width="100" height="80" />
400       </bpmndi:BPMNShape>
401       <bpmndi:BPMNShape id="_BPMNShape_ScriptTask_300" bpmnElement="CreateAAIAR">
402         <dc:Bounds x="1206" y="200" width="100" height="80" />
403       </bpmndi:BPMNShape>
404       <bpmndi:BPMNShape id="_BPMNShape_EndEvent_228" bpmnElement="EndEvent_3">
405         <dc:Bounds x="1527" y="776" width="36" height="36" />
406         <bpmndi:BPMNLabel>
407           <dc:Bounds x="1545" y="817" width="0" height="0" />
408         </bpmndi:BPMNLabel>
409       </bpmndi:BPMNShape>
410       <bpmndi:BPMNEdge id="BPMNEdge_SequenceFlow_13" bpmnElement="SequenceFlow_11" sourceElement="_BPMNShape_ScriptTask_300">
411         <di:waypoint xsi:type="dc:Point" x="1306" y="240" />
412         <di:waypoint xsi:type="dc:Point" x="1338" y="240" />
413         <di:waypoint xsi:type="dc:Point" x="1408" y="240" />
414         <bpmndi:BPMNLabel>
415           <dc:Bounds x="1322" y="225" width="0" height="0" />
416         </bpmndi:BPMNLabel>
417       </bpmndi:BPMNEdge>
418       <bpmndi:BPMNEdge id="SequenceFlow_1q6udwm_di" bpmnElement="SequenceFlow_1q6udwm">
419         <di:waypoint xsi:type="dc:Point" x="92" y="595" />
420         <di:waypoint xsi:type="dc:Point" x="92" y="624" />
421         <bpmndi:BPMNLabel>
422           <dc:Bounds x="107" y="609.5" width="0" height="0" />
423         </bpmndi:BPMNLabel>
424       </bpmndi:BPMNEdge>
425       <bpmndi:BPMNEdge id="SequenceFlow_15knw0q_di" bpmnElement="SequenceFlow_15knw0q">
426         <di:waypoint xsi:type="dc:Point" x="92" y="710" />
427         <di:waypoint xsi:type="dc:Point" x="92" y="745" />
428         <bpmndi:BPMNLabel>
429           <dc:Bounds x="107" y="727.5" width="0" height="0" />
430         </bpmndi:BPMNLabel>
431       </bpmndi:BPMNEdge>
432       <bpmndi:BPMNEdge id="SequenceFlow_0c5h00o_di" bpmnElement="SequenceFlow_0c5h00o">
433         <di:waypoint xsi:type="dc:Point" x="142" y="785" />
434         <di:waypoint xsi:type="dc:Point" x="205" y="785" />
435         <di:waypoint xsi:type="dc:Point" x="205" y="545" />
436         <di:waypoint xsi:type="dc:Point" x="309" y="545" />
437         <bpmndi:BPMNLabel>
438           <dc:Bounds x="220" y="665" width="0" height="0" />
439         </bpmndi:BPMNLabel>
440       </bpmndi:BPMNEdge>
441       <bpmndi:BPMNEdge id="SequenceFlow_1lalmvp_di" bpmnElement="SequenceFlow_1lalmvp">
442         <di:waypoint xsi:type="dc:Point" x="359" y="585" />
443         <di:waypoint xsi:type="dc:Point" x="359" y="624" />
444         <bpmndi:BPMNLabel>
445           <dc:Bounds x="374" y="604.5" width="0" height="0" />
446         </bpmndi:BPMNLabel>
447       </bpmndi:BPMNEdge>
448       <bpmndi:BPMNEdge id="SequenceFlow_0eb41vb_di" bpmnElement="SequenceFlow_0eb41vb">
449         <di:waypoint xsi:type="dc:Point" x="359" y="707" />
450         <di:waypoint xsi:type="dc:Point" x="359" y="725" />
451         <di:waypoint xsi:type="dc:Point" x="359" y="725" />
452         <di:waypoint xsi:type="dc:Point" x="359" y="745" />
453         <bpmndi:BPMNLabel>
454           <dc:Bounds x="374" y="725" width="0" height="0" />
455         </bpmndi:BPMNLabel>
456       </bpmndi:BPMNEdge>
457       <bpmndi:BPMNEdge id="SequenceFlow_15z3gpq_di" bpmnElement="SequenceFlow_15z3gpq">
458         <di:waypoint xsi:type="dc:Point" x="409" y="785" />
459         <di:waypoint xsi:type="dc:Point" x="560" y="785" />
460         <di:waypoint xsi:type="dc:Point" x="560" y="709" />
461         <bpmndi:BPMNLabel>
462           <dc:Bounds x="485" y="770" width="0" height="0" />
463         </bpmndi:BPMNLabel>
464       </bpmndi:BPMNEdge>
465       <bpmndi:BPMNShape id="ScriptTask_01h1rx2_di" bpmnElement="PreProcessSDNCAssign">
466         <dc:Bounds x="42" y="515" width="100" height="80" />
467       </bpmndi:BPMNShape>
468       <bpmndi:BPMNShape id="CallActivity_0p5ncd0_di" bpmnElement="SDNCAssign">
469         <dc:Bounds x="42" y="624" width="100" height="80" />
470       </bpmndi:BPMNShape>
471       <bpmndi:BPMNShape id="ScriptTask_1qa39wn_di" bpmnElement="PostProcessSDNCAssign">
472         <dc:Bounds x="42" y="745" width="100" height="80" />
473       </bpmndi:BPMNShape>
474       <bpmndi:BPMNShape id="ScriptTask_1rr2xrc_di" bpmnElement="PreProcessSDNCCreate">
475         <dc:Bounds x="309" y="505" width="100" height="80" />
476       </bpmndi:BPMNShape>
477       <bpmndi:BPMNShape id="CallActivity_1ieo30p_di" bpmnElement="SDNCCreate">
478         <dc:Bounds x="309" y="624" width="100" height="80" />
479       </bpmndi:BPMNShape>
480       <bpmndi:BPMNShape id="ScriptTask_04votlb_di" bpmnElement="postProcessSDNCCreate">
481         <dc:Bounds x="309" y="745" width="100" height="80" />
482       </bpmndi:BPMNShape>
483       <bpmndi:BPMNShape id="ScriptTask_0zm728u_di" bpmnElement="PreProcessSDNCActivate">
484         <dc:Bounds x="702" y="515" width="100" height="80" />
485       </bpmndi:BPMNShape>
486       <bpmndi:BPMNShape id="CallActivity_1uhgd2e_di" bpmnElement="SDNCActivate">
487         <dc:Bounds x="702" y="624" width="100" height="80" />
488       </bpmndi:BPMNShape>
489       <bpmndi:BPMNShape id="ScriptTask_0rrv9dw_di" bpmnElement="PostProcessSDNCActivate">
490         <dc:Bounds x="702" y="745" width="100" height="80" />
491       </bpmndi:BPMNShape>
492       <bpmndi:BPMNEdge id="SequenceFlow_06w33tk_di" bpmnElement="SequenceFlow_06w33tk">
493         <di:waypoint xsi:type="dc:Point" x="752" y="595" />
494         <di:waypoint xsi:type="dc:Point" x="752" y="624" />
495         <bpmndi:BPMNLabel>
496           <dc:Bounds x="767" y="609.5" width="0" height="0" />
497         </bpmndi:BPMNLabel>
498       </bpmndi:BPMNEdge>
499       <bpmndi:BPMNEdge id="SequenceFlow_1s7yieq_di" bpmnElement="SequenceFlow_1s7yieq">
500         <di:waypoint xsi:type="dc:Point" x="752" y="705" />
501         <di:waypoint xsi:type="dc:Point" x="752" y="725" />
502         <di:waypoint xsi:type="dc:Point" x="752" y="742" />
503         <bpmndi:BPMNLabel>
504           <dc:Bounds x="767" y="715" width="0" height="0" />
505         </bpmndi:BPMNLabel>
506       </bpmndi:BPMNEdge>
507       <bpmndi:BPMNEdge id="SequenceFlow_00i7x43_di" bpmnElement="SequenceFlow_00i7x43">
508         <di:waypoint xsi:type="dc:Point" x="802" y="785" />
509         <di:waypoint xsi:type="dc:Point" x="963" y="785" />
510         <di:waypoint xsi:type="dc:Point" x="963" y="704" />
511         <bpmndi:BPMNLabel>
512           <dc:Bounds x="883" y="770" width="0" height="0" />
513         </bpmndi:BPMNLabel>
514       </bpmndi:BPMNEdge>
515       <bpmndi:BPMNEdge id="SequenceFlow_04t1zc2_di" bpmnElement="SequenceFlow_04t1zc2">
516         <di:waypoint xsi:type="dc:Point" x="560" y="621" />
517         <di:waypoint xsi:type="dc:Point" x="560" y="555" />
518         <di:waypoint xsi:type="dc:Point" x="702" y="555" />
519         <bpmndi:BPMNLabel>
520           <dc:Bounds x="575" y="588" width="0" height="0" />
521         </bpmndi:BPMNLabel>
522       </bpmndi:BPMNEdge>
523       <bpmndi:BPMNShape id="CallActivity_1pfpn41_di" bpmnElement="SDNCGet">
524         <dc:Bounds x="1143" y="624" width="100" height="80" />
525       </bpmndi:BPMNShape>
526       <bpmndi:BPMNEdge id="SequenceFlow_1iy3cqb_di" bpmnElement="SequenceFlow_1iy3cqb">
527         <di:waypoint xsi:type="dc:Point" x="1240" y="794" />
528         <di:waypoint xsi:type="dc:Point" x="1313" y="794" />
529         <bpmndi:BPMNLabel>
530           <dc:Bounds x="1277" y="779" width="0" height="0" />
531         </bpmndi:BPMNLabel>
532       </bpmndi:BPMNEdge>
533       <bpmndi:BPMNEdge id="SequenceFlow_1dgzhsm_di" bpmnElement="SequenceFlow_1dgzhsm">
534         <di:waypoint xsi:type="dc:Point" x="964" y="624" />
535         <di:waypoint xsi:type="dc:Point" x="964" y="545" />
536         <di:waypoint xsi:type="dc:Point" x="1140" y="545" />
537         <bpmndi:BPMNLabel>
538           <dc:Bounds x="979" y="584.5" 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:BPMNPlane>
734   </bpmndi:BPMNDiagram>
735 </bpmn2:definitions>