Add feature to Support NSMF based TN slices
[so.git] / bpmn / so-bpmn-infrastructure-flows / src / main / resources / process / CreateSliceService.bpmn
1 <?xml version="1.0" encoding="UTF-8"?>
2 <bpmn:definitions xmlns:bpmn="http://www.omg.org/spec/BPMN/20100524/MODEL" xmlns:bpmndi="http://www.omg.org/spec/BPMN/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1wio50w" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.8.1">
3   <bpmn:process id="CreateSliceService" name="CreateSliceService" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1nbljfd" name="Create Slice Service Creation Flow">
5       <bpmn:outgoing>SequenceFlow_03s744c</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_0vilb24" name="Waiting for confirmation">
8       <bpmn:outgoing>SequenceFlow_0sub2c2</bpmn:outgoing>
9       <bpmn:linkEventDefinition id="LinkEventDefinition_197u5pe" name="WaitingForConfirmation" />
10     </bpmn:intermediateCatchEvent>
11     <bpmn:scriptTask id="ScriptTask_1tc44ge" name="PreProcess Incoming Request" scriptFormat="groovy">
12       <bpmn:incoming>SequenceFlow_03s744c</bpmn:incoming>
13       <bpmn:outgoing>SequenceFlow_07e12rt</bpmn:outgoing>
14       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
15 def css= new CreateSliceService()
16 css.preProcessRequest(execution)</bpmn:script>
17     </bpmn:scriptTask>
18     <bpmn:scriptTask id="ScriptTask_1jgtb0y" name="Process User Options" scriptFormat="groovy">
19       <bpmn:incoming>SequenceFlow_1whq7vc</bpmn:incoming>
20       <bpmn:outgoing>SequenceFlow_197cm2e</bpmn:outgoing>
21       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
22 def css = new CreateSliceService()
23 css.processUserOptions(execution)</bpmn:script>
24     </bpmn:scriptTask>
25     <bpmn:exclusiveGateway id="ExclusiveGateway_0elbczl" name="Continue Slice?" default="SequenceFlow_038lb9m">
26       <bpmn:incoming>SequenceFlow_197cm2e</bpmn:incoming>
27       <bpmn:outgoing>SequenceFlow_12t5exy</bpmn:outgoing>
28       <bpmn:outgoing>SequenceFlow_038lb9m</bpmn:outgoing>
29     </bpmn:exclusiveGateway>
30     <bpmn:callActivity id="CallActivity_139l55g" name="Call DoCreateSliceServiceInstance&#10;" calledElement="DoCreateSliceServiceInstance">
31       <bpmn:extensionElements>
32         <camunda:in source="msoRequestId" target="msoRequestId" />
33         <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
34         <camunda:in source="serviceInstanceName" target="serviceInstanceName" />
35         <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
36         <camunda:in source="subscriptionServiceType" target="subscriptionServiceType" />
37         <camunda:in source="uuiRequest" target="uuiRequest" />
38         <camunda:in source="operationId" target="operationId" />
39         <camunda:out source="WorkflowException" target="WorkflowException" />
40         <camunda:out source="rollbackData" target="rollbackData" />
41         <camunda:out source="rolledBack" target="rolledBack" />
42         <camunda:out source="serviceInstanceData" target="serviceInstanceData" />
43         <camunda:in source="sliceTaskParams" target="sliceTaskParams" />
44         <camunda:in source="sliceTaskParams" target="sliceTaskParams" />
45         <camunda:out source="sliceTaskParams" target="sliceTaskParams" />
46         <camunda:out source="allottedResourceId" target="allottedResourceId" />
47         <camunda:out source="allottedResourceUri" target="allottedResourceUri" />
48       </bpmn:extensionElements>
49       <bpmn:incoming>SequenceFlow_1dfon41</bpmn:incoming>
50       <bpmn:outgoing>SequenceFlow_0jhqtls</bpmn:outgoing>
51     </bpmn:callActivity>
52     <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_1v96asi" name="Goto Waiting for Confirmation">
53       <bpmn:incoming>SequenceFlow_00kcej9</bpmn:incoming>
54       <bpmn:linkEventDefinition id="LinkEventDefinition_0uj34dx" name="WaitingForConfirmation" />
55     </bpmn:intermediateThrowEvent>
56     <bpmn:scriptTask id="ScriptTask_0gb975b" name="Prepare Update Orchestration Task" scriptFormat="groovy">
57       <bpmn:incoming>SequenceFlow_1aaozcg</bpmn:incoming>
58       <bpmn:outgoing>SequenceFlow_18kur12</bpmn:outgoing>
59       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
60 execution.setVariable("taskStatus", "WaitingToConfirm")
61 def css = new CreateSliceService()
62 css.prepareUpdateOrchestrationTask(execution)</bpmn:script>
63     </bpmn:scriptTask>
64     <bpmn:exclusiveGateway id="ExclusiveGateway_18eld2o" name="Is Slice Successful?" default="SequenceFlow_1c6ka9h">
65       <bpmn:incoming>SequenceFlow_0mlrlbv</bpmn:incoming>
66       <bpmn:outgoing>SequenceFlow_1c6ka9h</bpmn:outgoing>
67       <bpmn:outgoing>SequenceFlow_0n4xku8</bpmn:outgoing>
68     </bpmn:exclusiveGateway>
69     <bpmn:endEvent id="EndEvent_0x406rw">
70       <bpmn:incoming>SequenceFlow_1c6ka9h</bpmn:incoming>
71       <bpmn:errorEventDefinition id="ErrorEventDefinition_0mlneuw" errorRef="Error_03akl5v" />
72     </bpmn:endEvent>
73     <bpmn:subProcess id="SubProcess_1yv9i68" name="Sub-process for FalloutHandler and Rollback" triggeredByEvent="true">
74       <bpmn:startEvent id="StartEvent_1omdx56">
75         <bpmn:outgoing>SequenceFlow_1w67v6s</bpmn:outgoing>
76         <bpmn:errorEventDefinition id="ErrorEventDefinition_06xcioh" />
77       </bpmn:startEvent>
78       <bpmn:endEvent id="EndEvent_1jx3026">
79         <bpmn:incoming>SequenceFlow_08mlzwz</bpmn:incoming>
80       </bpmn:endEvent>
81       <bpmn:scriptTask id="ScriptTask_1swzdpw" name="Handle Unexpected Error" scriptFormat="groovy">
82         <bpmn:incoming>SequenceFlow_1w67v6s</bpmn:incoming>
83         <bpmn:outgoing>SequenceFlow_08mlzwz</bpmn:outgoing>
84         <bpmn:script>import org.onap.so.bpmn.common.scripts.*
85 ExceptionUtil ex = new ExceptionUtil()
86 ex.processJavaException(execution)</bpmn:script>
87       </bpmn:scriptTask>
88       <bpmn:sequenceFlow id="SequenceFlow_1w67v6s" sourceRef="StartEvent_1omdx56" targetRef="ScriptTask_1swzdpw" />
89       <bpmn:sequenceFlow id="SequenceFlow_08mlzwz" sourceRef="ScriptTask_1swzdpw" targetRef="EndEvent_1jx3026" />
90     </bpmn:subProcess>
91     <bpmn:scriptTask id="ScriptTask_1ef3voz" name="Prepare Update Orchestration Task" scriptFormat="groovy">
92       <bpmn:incoming>SequenceFlow_0kixzdj</bpmn:incoming>
93       <bpmn:outgoing>SequenceFlow_0klb3ey</bpmn:outgoing>
94       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
95 execution.setVariable("taskStatus", "Completed")
96 def css = new CreateSliceService()
97 css.prepareUpdateOrchestrationTask(execution)</bpmn:script>
98     </bpmn:scriptTask>
99     <bpmn:endEvent id="EndEvent_05h01gx" name="End">
100       <bpmn:incoming>SequenceFlow_11rbv41</bpmn:incoming>
101     </bpmn:endEvent>
102     <bpmn:scriptTask id="ScriptTask_1xxag1o" name="Init Service Operation Status" scriptFormat="groovy">
103       <bpmn:incoming>SequenceFlow_07e12rt</bpmn:incoming>
104       <bpmn:outgoing>SequenceFlow_0t094g7</bpmn:outgoing>
105       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
106 def css = new CreateSliceService()
107 css.prepareInitServiceOperationStatus(execution)</bpmn:script>
108     </bpmn:scriptTask>
109     <bpmn:scriptTask id="ScriptTask_1ssh2l9" name="Prepare Update Service Oper Status((finish)" scriptFormat="groovy">
110       <bpmn:incoming>SequenceFlow_0lbdfmt</bpmn:incoming>
111       <bpmn:outgoing>SequenceFlow_1qv8qw1</bpmn:outgoing>
112       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
113 execution.setVariable("operationProgress", "100")
114 execution.setVariable("operationResult", "finished")
115 execution.setVariable("operationReason", "Slice completed")
116 def css = new CreateSliceService()
117 css.prepareUpdateServiceOperationStatus(execution)</bpmn:script>
118     </bpmn:scriptTask>
119     <bpmn:serviceTask id="ServiceTask_0kd6p6p" name="Update Service Operation Status">
120       <bpmn:extensionElements>
121         <camunda:connector>
122           <camunda:inputOutput>
123             <camunda:inputParameter name="url">${CSSOS_dbAdapterEndpoint}</camunda:inputParameter>
124             <camunda:inputParameter name="headers">
125               <camunda:script scriptFormat="groovy">execution.getVariable("CSSOS_headerMap")</camunda:script>
126             </camunda:inputParameter>
127             <camunda:inputParameter name="payload">${CSSOS_updateServiceOperStatusRequest}</camunda:inputParameter>
128             <camunda:inputParameter name="method">POST</camunda:inputParameter>
129             <camunda:outputParameter name="CSSOS_dbResponseCode">${statusCode}</camunda:outputParameter>
130             <camunda:outputParameter name="CSSOS_dbResponse">${response}</camunda:outputParameter>
131           </camunda:inputOutput>
132           <camunda:connectorId>http-connector</camunda:connectorId>
133         </camunda:connector>
134       </bpmn:extensionElements>
135       <bpmn:incoming>SequenceFlow_0t094g7</bpmn:incoming>
136       <bpmn:outgoing>SequenceFlow_0xmvg4v</bpmn:outgoing>
137     </bpmn:serviceTask>
138     <bpmn:callActivity id="CallActivity_0h88mep" name="Call HandleOrchestrationTask" calledElement="HandleOrchestrationTask">
139       <bpmn:extensionElements>
140         <camunda:out source="statusCode" target="CSSOT_dbResponseCode" />
141         <camunda:out source="response" target="CSSOT_dbResponse" />
142         <camunda:in source="CSSOT_taskId" target="taskId" />
143         <camunda:in source="msoRequestId" target="requestId" />
144         <camunda:in source="CSSOT_name" target="taskName" />
145         <camunda:in source="CSSOT_status" target="taskStatus" />
146         <camunda:in source="CSSOT_isManual" target="isManual" />
147         <camunda:in source="CSSOT_paramJson" target="paramJson" />
148         <camunda:in source="CSSOT_requestMethod" target="method" />
149       </bpmn:extensionElements>
150       <bpmn:incoming>SequenceFlow_1x4n7an</bpmn:incoming>
151       <bpmn:outgoing>SequenceFlow_1dfon41</bpmn:outgoing>
152     </bpmn:callActivity>
153     <bpmn:callActivity id="CallActivity_0n47zoh" name="Call HandleOrchestrationTask" calledElement="HandleOrchestrationTask">
154       <bpmn:extensionElements>
155         <camunda:out source="statusCode" target="CSSOT_dbResponseCode" />
156         <camunda:out source="response" target="CSSOT_dbResponse" />
157         <camunda:in source="CSSOT_taskId" target="taskId" />
158         <camunda:in source="msoRequestId" target="requestId" />
159         <camunda:in source="CSSOT_name" target="taskName" />
160         <camunda:in source="CSSOT_status" target="taskStatus" />
161         <camunda:in source="CSSOT_isManual" target="isManual" />
162         <camunda:in source="CSSOT_paramJson" target="paramJson" />
163         <camunda:in source="CSSOT_requestMethod" target="method" />
164       </bpmn:extensionElements>
165       <bpmn:incoming>SequenceFlow_18kur12</bpmn:incoming>
166       <bpmn:outgoing>SequenceFlow_00kcej9</bpmn:outgoing>
167     </bpmn:callActivity>
168     <bpmn:scriptTask id="ScriptTask_12h8542" name="Prepare Update Orchestration Task" scriptFormat="groovy">
169       <bpmn:incoming>SequenceFlow_12t5exy</bpmn:incoming>
170       <bpmn:outgoing>SequenceFlow_0thd6ny</bpmn:outgoing>
171       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
172 execution.setVariable("taskStatus", "Creating")
173 def css = new CreateSliceService()
174 css.prepareUpdateOrchestrationTask(execution)</bpmn:script>
175     </bpmn:scriptTask>
176     <bpmn:callActivity id="CallActivity_0o89wmf" name="Call HandleOrchestrationTask" calledElement="HandleOrchestrationTask">
177       <bpmn:extensionElements>
178         <camunda:out source="statusCode" target="CSSOT_dbResponseCode" />
179         <camunda:out source="response" target="CSSOT_dbResponse" />
180         <camunda:in source="CSSOT_taskId" target="taskId" />
181         <camunda:in source="msoRequestId" target="requestId" />
182         <camunda:in source="CSSOT_name" target="taskName" />
183         <camunda:in source="CSSOT_status" target="taskStatus" />
184         <camunda:in source="CSSOT_isManual" target="isManual" />
185         <camunda:in source="CSSOT_paramJson" target="paramJson" />
186         <camunda:in source="CSSOT_requestMethod" target="method" />
187       </bpmn:extensionElements>
188       <bpmn:incoming>SequenceFlow_0thd6ny</bpmn:incoming>
189       <bpmn:outgoing>SequenceFlow_0477975</bpmn:outgoing>
190     </bpmn:callActivity>
191     <bpmn:callActivity id="CallActivity_0jdzpem" name="Call HandleOrchestrationTask" calledElement="HandleOrchestrationTask">
192       <bpmn:extensionElements>
193         <camunda:out source="statusCode" target="CSSOT_dbResponseCode" />
194         <camunda:out source="response" target="CSSOT_dbResponse" />
195         <camunda:in source="CSSOT_taskId" target="taskId" />
196         <camunda:in source="msoRequestId" target="requestId" />
197         <camunda:in source="CSSOT_name" target="taskName" />
198         <camunda:in source="CSSOT_status" target="taskStatus" />
199         <camunda:in source="CSSOT_isManual" target="isManual" />
200         <camunda:in source="CSSOT_paramJson" target="paramJson" />
201         <camunda:in source="CSSOT_requestMethod" target="method" />
202       </bpmn:extensionElements>
203       <bpmn:incoming>SequenceFlow_19lsayh</bpmn:incoming>
204       <bpmn:outgoing>SequenceFlow_10ng1vx</bpmn:outgoing>
205     </bpmn:callActivity>
206     <bpmn:scriptTask id="ScriptTask_1mscu5w" name="Prepare Update Orchestration Task" scriptFormat="groovy">
207       <bpmn:incoming>SequenceFlow_038lb9m</bpmn:incoming>
208       <bpmn:outgoing>SequenceFlow_19lsayh</bpmn:outgoing>
209       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
210 execution.setVariable("taskStatus", "Aborted")
211 def css = new CreateSliceService()
212 css.prepareUpdateOrchestrationTask(execution)</bpmn:script>
213     </bpmn:scriptTask>
214     <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_0pkvfun" name="Allocate Slice">
215       <bpmn:outgoing>SequenceFlow_1bevt3a</bpmn:outgoing>
216       <bpmn:linkEventDefinition id="LinkEventDefinition_1vlfclx" name="AllocateSlice" />
217     </bpmn:intermediateCatchEvent>
218     <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_0ktwpki" name="Goto Allocate Slice">
219       <bpmn:incoming>SequenceFlow_0477975</bpmn:incoming>
220       <bpmn:linkEventDefinition id="LinkEventDefinition_16f2ri9" name="AllocateSlice" />
221     </bpmn:intermediateThrowEvent>
222     <bpmn:callActivity id="CallActivity_15pl4ld" name="Call HandleOrchestrationTask" calledElement="HandleOrchestrationTask">
223       <bpmn:extensionElements>
224         <camunda:out source="statusCode" target="CSSOT_dbResponseCode" />
225         <camunda:out source="response" target="CSSOT_dbResponse" />
226         <camunda:in source="CSSOT_taskId" target="taskId" />
227         <camunda:in source="msoRequestId" target="requestId" />
228         <camunda:in source="CSSOT_name" target="taskName" />
229         <camunda:in source="CSSOT_status" target="taskStatus" />
230         <camunda:in source="CSSOT_isManual" target="isManual" />
231         <camunda:in source="CSSOT_paramJson" target="paramJson" />
232         <camunda:in source="CSSOT_requestMethod" target="method" />
233       </bpmn:extensionElements>
234       <bpmn:incoming>SequenceFlow_0klb3ey</bpmn:incoming>
235       <bpmn:outgoing>SequenceFlow_0lbdfmt</bpmn:outgoing>
236     </bpmn:callActivity>
237     <bpmn:endEvent id="EndEvent_1oouvuh" name="End">
238       <bpmn:incoming>SequenceFlow_10ng1vx</bpmn:incoming>
239     </bpmn:endEvent>
240     <bpmn:serviceTask id="ServiceTask_0esr949" name="Update Service Operation Status">
241       <bpmn:extensionElements>
242         <camunda:connector>
243           <camunda:inputOutput>
244             <camunda:inputParameter name="url">${CSSOS_dbAdapterEndpoint}</camunda:inputParameter>
245             <camunda:inputParameter name="headers">
246               <camunda:script scriptFormat="groovy">execution.getVariable("CSSOS_headerMap")</camunda:script>
247             </camunda:inputParameter>
248             <camunda:inputParameter name="payload">${CSSOS_updateServiceOperStatusRequest}</camunda:inputParameter>
249             <camunda:inputParameter name="method">POST</camunda:inputParameter>
250             <camunda:outputParameter name="CSSOS_dbResponseCode">${statusCode}</camunda:outputParameter>
251             <camunda:outputParameter name="CSSOS_dbResponse">${response}</camunda:outputParameter>
252           </camunda:inputOutput>
253           <camunda:connectorId>http-connector</camunda:connectorId>
254         </camunda:connector>
255       </bpmn:extensionElements>
256       <bpmn:incoming>SequenceFlow_1qv8qw1</bpmn:incoming>
257       <bpmn:outgoing>SequenceFlow_11rbv41</bpmn:outgoing>
258     </bpmn:serviceTask>
259     <bpmn:callActivity id="CallActivity_0cxst1i" name="Call DoAllocateNSIandNSSI&#10;" calledElement="DoAllocateNSIandNSSI">
260       <bpmn:extensionElements>
261         <camunda:in source="msoRequestId" target="msoRequestId" />
262         <camunda:in source="serviceInstanceId" target="sliceServiceInstanceId" />
263         <camunda:in source="serviceInstanceName" target="sliceServiceInstanceName" />
264         <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
265         <camunda:in source="productFamilyId" target="productFamilyId" />
266         <camunda:in source="disableRollback" target="disableRollback" />
267         <camunda:in source="serviceInputParams" target="serviceInputParams" />
268         <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
269         <camunda:in source="subscriptionServiceType" target="subscriptionServiceType" />
270         <camunda:in source="serviceType" target="serviceType" />
271         <camunda:in source="uuiRequest" target="uuiRequest" />
272         <camunda:in source="requestAction" target="operationType" />
273         <camunda:in source="operationId" target="operationId" />
274         <camunda:in source="sliceTaskParams" target="sliceTaskParams" />
275         <camunda:in source="CSSOT_taskId" target="taskId" />
276         <camunda:in source="CSSOT_name" target="taskName" />
277         <camunda:in source="CSSOT_status" target="taskStatus" />
278         <camunda:in source="CSSOT_isManual" target="isManual" />
279         <camunda:in source="resourceSharingLevel" target="resourceSharingLevel" />
280         <camunda:out source="WorkflowException" target="WorkflowException" />
281         <camunda:out source="rollbackData" target="rollbackData" />
282         <camunda:out source="rolledBack" target="rolledBack" />
283         <camunda:in source="allottedResourceId" target="allottedResourceId" />
284         <camunda:out source="sliceTaskParams" target="sliceTaskParams" />
285         <camunda:in source="allottedResourceUri" target="allottedResourceUri" />
286         <camunda:in source="nsstCount" target="nsstCount" />
287       </bpmn:extensionElements>
288       <bpmn:incoming>SequenceFlow_1bevt3a</bpmn:incoming>
289       <bpmn:outgoing>SequenceFlow_0mlrlbv</bpmn:outgoing>
290     </bpmn:callActivity>
291     <bpmn:sequenceFlow id="SequenceFlow_03s744c" sourceRef="StartEvent_1nbljfd" targetRef="ScriptTask_1tc44ge" />
292     <bpmn:sequenceFlow id="SequenceFlow_07e12rt" sourceRef="ScriptTask_1tc44ge" targetRef="ScriptTask_1xxag1o" />
293     <bpmn:sequenceFlow id="SequenceFlow_197cm2e" sourceRef="ScriptTask_1jgtb0y" targetRef="ExclusiveGateway_0elbczl" />
294     <bpmn:sequenceFlow id="SequenceFlow_12t5exy" name="continue" sourceRef="ExclusiveGateway_0elbczl" targetRef="ScriptTask_12h8542">
295       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("taskAction") == "commit"}</bpmn:conditionExpression>
296     </bpmn:sequenceFlow>
297     <bpmn:sequenceFlow id="SequenceFlow_038lb9m" name="abort" sourceRef="ExclusiveGateway_0elbczl" targetRef="ScriptTask_1mscu5w" />
298     <bpmn:sequenceFlow id="SequenceFlow_18kur12" sourceRef="ScriptTask_0gb975b" targetRef="CallActivity_0n47zoh" />
299     <bpmn:sequenceFlow id="SequenceFlow_0mlrlbv" sourceRef="CallActivity_0cxst1i" targetRef="ExclusiveGateway_18eld2o" />
300     <bpmn:sequenceFlow id="SequenceFlow_1c6ka9h" name="No" sourceRef="ExclusiveGateway_18eld2o" targetRef="EndEvent_0x406rw" />
301     <bpmn:sequenceFlow id="SequenceFlow_0n4xku8" name="Yes" sourceRef="ExclusiveGateway_18eld2o" targetRef="ScriptTask_19uxoi8">
302       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("WorkflowException") == null}</bpmn:conditionExpression>
303     </bpmn:sequenceFlow>
304     <bpmn:sequenceFlow id="SequenceFlow_0klb3ey" sourceRef="ScriptTask_1ef3voz" targetRef="CallActivity_15pl4ld" />
305     <bpmn:sequenceFlow id="SequenceFlow_11rbv41" sourceRef="ServiceTask_0esr949" targetRef="EndEvent_05h01gx" />
306     <bpmn:sequenceFlow id="SequenceFlow_0t094g7" sourceRef="ScriptTask_1xxag1o" targetRef="ServiceTask_0kd6p6p" />
307     <bpmn:sequenceFlow id="SequenceFlow_0lbdfmt" sourceRef="CallActivity_15pl4ld" targetRef="ScriptTask_1ssh2l9" />
308     <bpmn:sequenceFlow id="SequenceFlow_1qv8qw1" sourceRef="ScriptTask_1ssh2l9" targetRef="ServiceTask_0esr949" />
309     <bpmn:sequenceFlow id="SequenceFlow_0thd6ny" sourceRef="ScriptTask_12h8542" targetRef="CallActivity_0o89wmf" />
310     <bpmn:sequenceFlow id="SequenceFlow_0477975" sourceRef="CallActivity_0o89wmf" targetRef="IntermediateThrowEvent_0ktwpki" />
311     <bpmn:sequenceFlow id="SequenceFlow_19lsayh" sourceRef="ScriptTask_1mscu5w" targetRef="CallActivity_0jdzpem" />
312     <bpmn:sequenceFlow id="SequenceFlow_10ng1vx" sourceRef="CallActivity_0jdzpem" targetRef="EndEvent_1oouvuh" />
313     <bpmn:sequenceFlow id="SequenceFlow_1bevt3a" sourceRef="IntermediateCatchEvent_0pkvfun" targetRef="CallActivity_0cxst1i" />
314     <bpmn:callActivity id="CallActivity_0v4mw2x" name="Call DoCreateSliceServiceOption&#10;" calledElement="DoCreateSliceServiceOption">
315       <bpmn:extensionElements>
316         <camunda:in source="msoRequestId" target="msoRequestId" />
317         <camunda:in source="sliceTaskParams" target="sliceTaskParams" />
318         <camunda:in source="resourceSharingLevel" target="resourceSharingLevel" />
319         <camunda:out source="sliceTaskParams" target="sliceTaskParams" />
320         <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
321         <camunda:in source="subscriptionServiceType" target="subscriptionServiceType" />
322         <camunda:in source="serviceType" target="serviceType" />
323         <camunda:out source="maxNsstIndex" target="nsstCount" />
324       </bpmn:extensionElements>
325       <bpmn:incoming>SequenceFlow_1f6dyxo</bpmn:incoming>
326       <bpmn:outgoing>SequenceFlow_1aaozcg</bpmn:outgoing>
327     </bpmn:callActivity>
328     <bpmn:sequenceFlow id="SequenceFlow_1aaozcg" sourceRef="CallActivity_0v4mw2x" targetRef="ScriptTask_0gb975b" />
329     <bpmn:scriptTask id="ScriptTask_19uxoi8" name="Update AAI Status" scriptFormat="groovy">
330       <bpmn:incoming>SequenceFlow_0n4xku8</bpmn:incoming>
331       <bpmn:outgoing>SequenceFlow_0kixzdj</bpmn:outgoing>
332       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
333 execution.setVariable("orchestrationStatus", "deactivated")
334 def css = new CreateSliceService()
335 css.updateAAIOrchStatus(execution)</bpmn:script>
336     </bpmn:scriptTask>
337     <bpmn:sequenceFlow id="SequenceFlow_0kixzdj" sourceRef="ScriptTask_19uxoi8" targetRef="ScriptTask_1ef3voz" />
338     <bpmn:scriptTask id="ScriptTask_09mxr0w" name="Send Sync Ack Response" scriptFormat="groovy">
339       <bpmn:incoming>SequenceFlow_0jhqtls</bpmn:incoming>
340       <bpmn:outgoing>SequenceFlow_12wo878</bpmn:outgoing>
341       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
342 def css = new CreateSliceService()
343 css.sendSyncResponse(execution)</bpmn:script>
344     </bpmn:scriptTask>
345     <bpmn:scriptTask id="ScriptTask_1ac05ww" name="Prepare Create OrchestrationTask" scriptFormat="groovy">
346       <bpmn:incoming>SequenceFlow_0xmvg4v</bpmn:incoming>
347       <bpmn:outgoing>SequenceFlow_1x4n7an</bpmn:outgoing>
348       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
349 def css= new CreateSliceService()
350 css.prepareCreateOrchestrationTask(execution)</bpmn:script>
351     </bpmn:scriptTask>
352     <bpmn:sequenceFlow id="SequenceFlow_0xmvg4v" sourceRef="ServiceTask_0kd6p6p" targetRef="ScriptTask_1ac05ww" />
353     <bpmn:sequenceFlow id="SequenceFlow_1x4n7an" sourceRef="ScriptTask_1ac05ww" targetRef="CallActivity_0h88mep" />
354     <bpmn:sequenceFlow id="SequenceFlow_1dfon41" sourceRef="CallActivity_0h88mep" targetRef="CallActivity_139l55g" />
355     <bpmn:sequenceFlow id="SequenceFlow_0jhqtls" sourceRef="CallActivity_139l55g" targetRef="ScriptTask_09mxr0w" />
356     <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_0gceuxu" name="Create Slice Service">
357       <bpmn:outgoing>SequenceFlow_14c2tav</bpmn:outgoing>
358       <bpmn:linkEventDefinition id="LinkEventDefinition_0wnloof" name="CreateSliceService" />
359     </bpmn:intermediateCatchEvent>
360     <bpmn:sequenceFlow id="SequenceFlow_14c2tav" sourceRef="IntermediateCatchEvent_0gceuxu" targetRef="ScriptTask_1ayg9y8" />
361     <bpmn:sequenceFlow id="SequenceFlow_00kcej9" sourceRef="CallActivity_0n47zoh" targetRef="IntermediateThrowEvent_1v96asi" />
362     <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_0lpvnze" name="Goto Create Slice Service">
363       <bpmn:incoming>SequenceFlow_12wo878</bpmn:incoming>
364       <bpmn:linkEventDefinition id="LinkEventDefinition_1oxsvp3" name="CreateSliceService" />
365     </bpmn:intermediateThrowEvent>
366     <bpmn:sequenceFlow id="SequenceFlow_12wo878" sourceRef="ScriptTask_09mxr0w" targetRef="IntermediateThrowEvent_0lpvnze" />
367     <bpmn:scriptTask id="ScriptTask_13roglo" name="Process NST Solutions" scriptFormat="groovy">
368       <bpmn:incoming>SequenceFlow_1r2jtal</bpmn:incoming>
369       <bpmn:outgoing>SequenceFlow_1f6dyxo</bpmn:outgoing>
370       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
371 def css = new CreateSliceService()
372 css.processNSTSolutions(execution)</bpmn:script>
373     </bpmn:scriptTask>
374     <bpmn:sequenceFlow id="SequenceFlow_1f6dyxo" sourceRef="ScriptTask_13roglo" targetRef="CallActivity_0v4mw2x" />
375     <bpmn:endEvent id="EndEvent_0bz8a65">
376       <bpmn:incoming>SequenceFlow_1fk2cn3</bpmn:incoming>
377       <bpmn:errorEventDefinition id="ErrorEventDefinition_1hni1r1" errorRef="Error_0p2naox" />
378     </bpmn:endEvent>
379     <bpmn:scriptTask id="ScriptTask_04qudo2" name="Prepare Get User Options" scriptFormat="groovy">
380       <bpmn:incoming>SequenceFlow_031cwkd</bpmn:incoming>
381       <bpmn:outgoing>SequenceFlow_0ti386y</bpmn:outgoing>
382       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
383 def css = new CreateSliceService()
384 css.prepareGetUserOptions(execution)</bpmn:script>
385     </bpmn:scriptTask>
386     <bpmn:sequenceFlow id="SequenceFlow_0ti386y" sourceRef="ScriptTask_04qudo2" targetRef="CallActivity_1vu3zcv" />
387     <bpmn:callActivity id="CallActivity_1vu3zcv" name="Call HandleOrchestrationTask" calledElement="HandleOrchestrationTask">
388       <bpmn:extensionElements>
389         <camunda:out source="statusCode" target="CSSOT_dbResponseCode" />
390         <camunda:out source="response" target="CSSOT_dbResponse" />
391         <camunda:in source="CSSOT_taskId" target="taskId" />
392         <camunda:in source="msoRequestId" target="requestId" />
393         <camunda:in source="CSSOT_name" target="taskName" />
394         <camunda:in source="CSSOT_status" target="taskStatus" />
395         <camunda:in source="CSSOT_isManual" target="isManual" />
396         <camunda:in source="CSSOT_paramJson" target="paramJson" />
397         <camunda:in source="CSSOT_requestMethod" target="method" />
398       </bpmn:extensionElements>
399       <bpmn:incoming>SequenceFlow_0ti386y</bpmn:incoming>
400       <bpmn:outgoing>SequenceFlow_1whq7vc</bpmn:outgoing>
401     </bpmn:callActivity>
402     <bpmn:sequenceFlow id="SequenceFlow_1whq7vc" sourceRef="CallActivity_1vu3zcv" targetRef="ScriptTask_1jgtb0y" />
403     <bpmn:callActivity id="CallActivity_0xf2g6c" name="Handle NST Selection OOF request" calledElement="DoHandleOofRequest">
404       <bpmn:extensionElements>
405         <camunda:in source="nstSelectionUrl" target="apiPath" />
406         <camunda:in source="nstSelection_correlator" target="correlator" />
407         <camunda:in source="nstSelection_messageType" target="messageType" />
408         <camunda:in source="nstSelection_timeout" target="timeout" />
409         <camunda:out source="WorkflowException" target="WorkflowException" />
410         <camunda:out source="asyncCallbackResponse" target="nstSelection_oofResponse" />
411         <camunda:in source="nstSelection_oofRequest" target="oofRequest" />
412       </bpmn:extensionElements>
413       <bpmn:incoming>SequenceFlow_02sve8o</bpmn:incoming>
414       <bpmn:outgoing>SequenceFlow_1r2jtal</bpmn:outgoing>
415     </bpmn:callActivity>
416     <bpmn:sequenceFlow id="SequenceFlow_1r2jtal" sourceRef="CallActivity_0xf2g6c" targetRef="ScriptTask_13roglo" />
417     <bpmn:scriptTask id="ScriptTask_1ayg9y8" name="Prepare NST Selection" scriptFormat="groovy">
418       <bpmn:incoming>SequenceFlow_14c2tav</bpmn:incoming>
419       <bpmn:outgoing>SequenceFlow_02sve8o</bpmn:outgoing>
420       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
421 def css = new CreateSliceService()
422 css.prepareSelectNSTRequest(execution)</bpmn:script>
423     </bpmn:scriptTask>
424     <bpmn:sequenceFlow id="SequenceFlow_02sve8o" sourceRef="ScriptTask_1ayg9y8" targetRef="CallActivity_0xf2g6c" />
425     <bpmn:subProcess id="SubProcess_1sxkpqq" name="Wait for Confim Message">
426       <bpmn:incoming>SequenceFlow_0sub2c2</bpmn:incoming>
427       <bpmn:outgoing>SequenceFlow_031cwkd</bpmn:outgoing>
428       <bpmn:startEvent id="StartEvent_1hd68zf">
429         <bpmn:outgoing>SequenceFlow_0recnor</bpmn:outgoing>
430       </bpmn:startEvent>
431       <bpmn:endEvent id="EndEvent_05npq16">
432         <bpmn:incoming>SequenceFlow_1htsa6t</bpmn:incoming>
433       </bpmn:endEvent>
434       <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_1iti8re" name="Catch Confim Message">
435         <bpmn:incoming>SequenceFlow_0recnor</bpmn:incoming>
436         <bpmn:outgoing>SequenceFlow_1htsa6t</bpmn:outgoing>
437         <bpmn:messageEventDefinition id="MessageEventDefinition_1rxlviw" messageRef="Message_0c4b2r5" />
438       </bpmn:intermediateCatchEvent>
439       <bpmn:sequenceFlow id="SequenceFlow_1htsa6t" name="" sourceRef="IntermediateCatchEvent_1iti8re" targetRef="EndEvent_05npq16" />
440       <bpmn:sequenceFlow id="SequenceFlow_0recnor" name="" sourceRef="StartEvent_1hd68zf" targetRef="IntermediateCatchEvent_1iti8re" />
441     </bpmn:subProcess>
442     <bpmn:boundaryEvent id="BoundaryEvent_0xqq1ch" name="Timeout" attachedToRef="SubProcess_1sxkpqq">
443       <bpmn:outgoing>SequenceFlow_1fk2cn3</bpmn:outgoing>
444       <bpmn:timerEventDefinition id="TimerEventDefinition_0jxhpup">
445         <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT2H</bpmn:timeDuration>
446       </bpmn:timerEventDefinition>
447     </bpmn:boundaryEvent>
448     <bpmn:sequenceFlow id="SequenceFlow_1fk2cn3" sourceRef="BoundaryEvent_0xqq1ch" targetRef="EndEvent_0bz8a65" />
449     <bpmn:sequenceFlow id="SequenceFlow_0sub2c2" sourceRef="IntermediateCatchEvent_0vilb24" targetRef="SubProcess_1sxkpqq" />
450     <bpmn:sequenceFlow id="SequenceFlow_031cwkd" sourceRef="SubProcess_1sxkpqq" targetRef="ScriptTask_04qudo2" />
451   </bpmn:process>
452   <bpmn:error id="Error_03akl5v" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
453   <bpmn:error id="Error_0p2naox" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
454   <bpmn:message id="Message_0c4b2r5" name="SliceServiceTask" />
455   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
456     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateSliceService">
457       <bpmndi:BPMNEdge id="SequenceFlow_031cwkd_di" bpmnElement="SequenceFlow_031cwkd">
458         <di:waypoint x="520" y="620" />
459         <di:waypoint x="550" y="620" />
460       </bpmndi:BPMNEdge>
461       <bpmndi:BPMNEdge id="SequenceFlow_0sub2c2_di" bpmnElement="SequenceFlow_0sub2c2">
462         <di:waypoint x="213" y="620" />
463         <di:waypoint x="240" y="620" />
464       </bpmndi:BPMNEdge>
465       <bpmndi:BPMNEdge id="SequenceFlow_1fk2cn3_di" bpmnElement="SequenceFlow_1fk2cn3">
466         <di:waypoint x="372" y="718" />
467         <di:waypoint x="372" y="772" />
468       </bpmndi:BPMNEdge>
469       <bpmndi:BPMNEdge id="SequenceFlow_02sve8o_di" bpmnElement="SequenceFlow_02sve8o">
470         <di:waypoint x="410" y="350" />
471         <di:waypoint x="520" y="350" />
472       </bpmndi:BPMNEdge>
473       <bpmndi:BPMNEdge id="SequenceFlow_1r2jtal_di" bpmnElement="SequenceFlow_1r2jtal">
474         <di:waypoint x="620" y="350" />
475         <di:waypoint x="710" y="350" />
476       </bpmndi:BPMNEdge>
477       <bpmndi:BPMNEdge id="SequenceFlow_1whq7vc_di" bpmnElement="SequenceFlow_1whq7vc">
478         <di:waypoint x="788" y="620" />
479         <di:waypoint x="830" y="620" />
480       </bpmndi:BPMNEdge>
481       <bpmndi:BPMNEdge id="SequenceFlow_0ti386y_di" bpmnElement="SequenceFlow_0ti386y">
482         <di:waypoint x="650" y="620" />
483         <di:waypoint x="688" y="620" />
484       </bpmndi:BPMNEdge>
485       <bpmndi:BPMNEdge id="SequenceFlow_1f6dyxo_di" bpmnElement="SequenceFlow_1f6dyxo">
486         <di:waypoint x="810" y="350" />
487         <di:waypoint x="880" y="350" />
488       </bpmndi:BPMNEdge>
489       <bpmndi:BPMNEdge id="SequenceFlow_12wo878_di" bpmnElement="SequenceFlow_12wo878">
490         <di:waypoint x="1330" y="124" />
491         <di:waypoint x="1402" y="124" />
492       </bpmndi:BPMNEdge>
493       <bpmndi:BPMNEdge id="SequenceFlow_00kcej9_di" bpmnElement="SequenceFlow_00kcej9">
494         <di:waypoint x="1320" y="350" />
495         <di:waypoint x="1402" y="350" />
496       </bpmndi:BPMNEdge>
497       <bpmndi:BPMNEdge id="SequenceFlow_14c2tav_di" bpmnElement="SequenceFlow_14c2tav">
498         <di:waypoint x="204" y="350" />
499         <di:waypoint x="310" y="350" />
500       </bpmndi:BPMNEdge>
501       <bpmndi:BPMNEdge id="SequenceFlow_0jhqtls_di" bpmnElement="SequenceFlow_0jhqtls">
502         <di:waypoint x="1160" y="124" />
503         <di:waypoint x="1230" y="124" />
504       </bpmndi:BPMNEdge>
505       <bpmndi:BPMNEdge id="SequenceFlow_1dfon41_di" bpmnElement="SequenceFlow_1dfon41">
506         <di:waypoint x="990" y="122" />
507         <di:waypoint x="1060" y="122" />
508       </bpmndi:BPMNEdge>
509       <bpmndi:BPMNEdge id="SequenceFlow_1x4n7an_di" bpmnElement="SequenceFlow_1x4n7an">
510         <di:waypoint x="820" y="122" />
511         <di:waypoint x="890" y="122" />
512       </bpmndi:BPMNEdge>
513       <bpmndi:BPMNEdge id="SequenceFlow_0xmvg4v_di" bpmnElement="SequenceFlow_0xmvg4v">
514         <di:waypoint x="664" y="122" />
515         <di:waypoint x="720" y="122" />
516       </bpmndi:BPMNEdge>
517       <bpmndi:BPMNEdge id="SequenceFlow_0kixzdj_di" bpmnElement="SequenceFlow_0kixzdj">
518         <di:waypoint x="684" y="965" />
519         <di:waypoint x="764" y="965" />
520       </bpmndi:BPMNEdge>
521       <bpmndi:BPMNEdge id="SequenceFlow_1aaozcg_di" bpmnElement="SequenceFlow_1aaozcg">
522         <di:waypoint x="980" y="350" />
523         <di:waypoint x="1060" y="350" />
524       </bpmndi:BPMNEdge>
525       <bpmndi:BPMNEdge id="SequenceFlow_1bevt3a_di" bpmnElement="SequenceFlow_1bevt3a">
526         <di:waypoint x="213" y="965" />
527         <di:waypoint x="274" y="965" />
528       </bpmndi:BPMNEdge>
529       <bpmndi:BPMNEdge id="SequenceFlow_10ng1vx_di" bpmnElement="SequenceFlow_10ng1vx">
530         <di:waypoint x="1320" y="805" />
531         <di:waypoint x="1396" y="805" />
532       </bpmndi:BPMNEdge>
533       <bpmndi:BPMNEdge id="SequenceFlow_19lsayh_di" bpmnElement="SequenceFlow_19lsayh">
534         <di:waypoint x="1174" y="805" />
535         <di:waypoint x="1220" y="805" />
536       </bpmndi:BPMNEdge>
537       <bpmndi:BPMNEdge id="SequenceFlow_0477975_di" bpmnElement="SequenceFlow_0477975">
538         <di:waypoint x="1320" y="620" />
539         <di:waypoint x="1396" y="620" />
540       </bpmndi:BPMNEdge>
541       <bpmndi:BPMNEdge id="SequenceFlow_0thd6ny_di" bpmnElement="SequenceFlow_0thd6ny">
542         <di:waypoint x="1160" y="620" />
543         <di:waypoint x="1220" y="620" />
544       </bpmndi:BPMNEdge>
545       <bpmndi:BPMNEdge id="SequenceFlow_1qv8qw1_di" bpmnElement="SequenceFlow_1qv8qw1">
546         <di:waypoint x="1174" y="965" />
547         <di:waypoint x="1244" y="965" />
548       </bpmndi:BPMNEdge>
549       <bpmndi:BPMNEdge id="SequenceFlow_0lbdfmt_di" bpmnElement="SequenceFlow_0lbdfmt">
550         <di:waypoint x="1034" y="965" />
551         <di:waypoint x="1074" y="965" />
552       </bpmndi:BPMNEdge>
553       <bpmndi:BPMNEdge id="SequenceFlow_0t094g7_di" bpmnElement="SequenceFlow_0t094g7">
554         <di:waypoint x="510" y="122" />
555         <di:waypoint x="564" y="122" />
556       </bpmndi:BPMNEdge>
557       <bpmndi:BPMNEdge id="SequenceFlow_11rbv41_di" bpmnElement="SequenceFlow_11rbv41">
558         <di:waypoint x="1344" y="965" />
559         <di:waypoint x="1396" y="965" />
560       </bpmndi:BPMNEdge>
561       <bpmndi:BPMNEdge id="SequenceFlow_0klb3ey_di" bpmnElement="SequenceFlow_0klb3ey">
562         <di:waypoint x="864" y="965" />
563         <di:waypoint x="934" y="965" />
564       </bpmndi:BPMNEdge>
565       <bpmndi:BPMNEdge id="SequenceFlow_0n4xku8_di" bpmnElement="SequenceFlow_0n4xku8">
566         <di:waypoint x="489" y="965" />
567         <di:waypoint x="584" y="965" />
568         <bpmndi:BPMNLabel>
569           <dc:Bounds x="529" y="947" width="18" height="14" />
570         </bpmndi:BPMNLabel>
571       </bpmndi:BPMNEdge>
572       <bpmndi:BPMNEdge id="SequenceFlow_1c6ka9h_di" bpmnElement="SequenceFlow_1c6ka9h">
573         <di:waypoint x="464" y="990" />
574         <di:waypoint x="464" y="1090" />
575         <bpmndi:BPMNLabel>
576           <dc:Bounds x="472" y="998" width="15" height="14" />
577         </bpmndi:BPMNLabel>
578       </bpmndi:BPMNEdge>
579       <bpmndi:BPMNEdge id="SequenceFlow_0mlrlbv_di" bpmnElement="SequenceFlow_0mlrlbv">
580         <di:waypoint x="374" y="965" />
581         <di:waypoint x="439" y="965" />
582       </bpmndi:BPMNEdge>
583       <bpmndi:BPMNEdge id="SequenceFlow_18kur12_di" bpmnElement="SequenceFlow_18kur12">
584         <di:waypoint x="1160" y="350" />
585         <di:waypoint x="1220" y="350" />
586       </bpmndi:BPMNEdge>
587       <bpmndi:BPMNEdge id="SequenceFlow_038lb9m_di" bpmnElement="SequenceFlow_038lb9m">
588         <di:waypoint x="984" y="645" />
589         <di:waypoint x="984" y="805" />
590         <di:waypoint x="1074" y="805" />
591         <bpmndi:BPMNLabel>
592           <dc:Bounds x="986" y="722" width="27" height="14" />
593         </bpmndi:BPMNLabel>
594       </bpmndi:BPMNEdge>
595       <bpmndi:BPMNEdge id="SequenceFlow_12t5exy_di" bpmnElement="SequenceFlow_12t5exy">
596         <di:waypoint x="1009" y="620" />
597         <di:waypoint x="1060" y="620" />
598         <bpmndi:BPMNLabel>
599           <dc:Bounds x="998" y="602" width="42" height="14" />
600         </bpmndi:BPMNLabel>
601       </bpmndi:BPMNEdge>
602       <bpmndi:BPMNEdge id="SequenceFlow_197cm2e_di" bpmnElement="SequenceFlow_197cm2e">
603         <di:waypoint x="930" y="620" />
604         <di:waypoint x="959" y="620" />
605       </bpmndi:BPMNEdge>
606       <bpmndi:BPMNEdge id="SequenceFlow_07e12rt_di" bpmnElement="SequenceFlow_07e12rt">
607         <di:waypoint x="350" y="122" />
608         <di:waypoint x="410" y="122" />
609       </bpmndi:BPMNEdge>
610       <bpmndi:BPMNEdge id="SequenceFlow_03s744c_di" bpmnElement="SequenceFlow_03s744c">
611         <di:waypoint x="214" y="122" />
612         <di:waypoint x="250" y="122" />
613       </bpmndi:BPMNEdge>
614       <bpmndi:BPMNShape id="StartEvent_1nbljfd_di" bpmnElement="StartEvent_1nbljfd">
615         <dc:Bounds x="178" y="104" width="36" height="36" />
616         <bpmndi:BPMNLabel>
617           <dc:Bounds x="156" y="147" width="82" height="40" />
618         </bpmndi:BPMNLabel>
619       </bpmndi:BPMNShape>
620       <bpmndi:BPMNShape id="IntermediateCatchEvent_0vilb24_di" bpmnElement="IntermediateCatchEvent_0vilb24">
621         <dc:Bounds x="177" y="602" width="36" height="36" />
622         <bpmndi:BPMNLabel>
623           <dc:Bounds x="167" y="645" width="60" height="27" />
624         </bpmndi:BPMNLabel>
625       </bpmndi:BPMNShape>
626       <bpmndi:BPMNShape id="ScriptTask_1tc44ge_di" bpmnElement="ScriptTask_1tc44ge">
627         <dc:Bounds x="250" y="82" width="100" height="80" />
628       </bpmndi:BPMNShape>
629       <bpmndi:BPMNShape id="ScriptTask_1jgtb0y_di" bpmnElement="ScriptTask_1jgtb0y">
630         <dc:Bounds x="830" y="580" width="100" height="80" />
631       </bpmndi:BPMNShape>
632       <bpmndi:BPMNShape id="ExclusiveGateway_0elbczl_di" bpmnElement="ExclusiveGateway_0elbczl" isMarkerVisible="true">
633         <dc:Bounds x="959" y="595" width="50" height="50" />
634         <bpmndi:BPMNLabel>
635           <dc:Bounds x="946" y="577" width="78" height="14" />
636         </bpmndi:BPMNLabel>
637       </bpmndi:BPMNShape>
638       <bpmndi:BPMNShape id="CallActivity_139l55g_di" bpmnElement="CallActivity_139l55g">
639         <dc:Bounds x="1060" y="84" width="100" height="80" />
640       </bpmndi:BPMNShape>
641       <bpmndi:BPMNShape id="IntermediateThrowEvent_1v96asi_di" bpmnElement="IntermediateThrowEvent_1v96asi">
642         <dc:Bounds x="1402" y="332" width="36" height="36" />
643         <bpmndi:BPMNLabel>
644           <dc:Bounds x="1385" y="373" width="81" height="27" />
645         </bpmndi:BPMNLabel>
646       </bpmndi:BPMNShape>
647       <bpmndi:BPMNShape id="ScriptTask_0gb975b_di" bpmnElement="ScriptTask_0gb975b">
648         <dc:Bounds x="1060" y="310" width="100" height="80" />
649       </bpmndi:BPMNShape>
650       <bpmndi:BPMNShape id="ExclusiveGateway_18eld2o_di" bpmnElement="ExclusiveGateway_18eld2o" isMarkerVisible="true">
651         <dc:Bounds x="439" y="940" width="50" height="50" />
652         <bpmndi:BPMNLabel>
653           <dc:Bounds x="434" y="910" width="60" height="27" />
654         </bpmndi:BPMNLabel>
655       </bpmndi:BPMNShape>
656       <bpmndi:BPMNShape id="EndEvent_0x406rw_di" bpmnElement="EndEvent_0x406rw">
657         <dc:Bounds x="446" y="1090" width="36" height="36" />
658       </bpmndi:BPMNShape>
659       <bpmndi:BPMNShape id="SubProcess_1yv9i68_di" bpmnElement="SubProcess_1yv9i68" isExpanded="true">
660         <dc:Bounds x="688" y="1072" width="781" height="196" />
661       </bpmndi:BPMNShape>
662       <bpmndi:BPMNEdge id="SequenceFlow_08mlzwz_di" bpmnElement="SequenceFlow_08mlzwz">
663         <di:waypoint x="1082" y="1176" />
664         <di:waypoint x="1356" y="1176" />
665       </bpmndi:BPMNEdge>
666       <bpmndi:BPMNEdge id="SequenceFlow_1w67v6s_di" bpmnElement="SequenceFlow_1w67v6s">
667         <di:waypoint x="754" y="1176" />
668         <di:waypoint x="982" y="1176" />
669       </bpmndi:BPMNEdge>
670       <bpmndi:BPMNShape id="StartEvent_1omdx56_di" bpmnElement="StartEvent_1omdx56">
671         <dc:Bounds x="718" y="1158" width="36" height="36" />
672       </bpmndi:BPMNShape>
673       <bpmndi:BPMNShape id="EndEvent_1jx3026_di" bpmnElement="EndEvent_1jx3026">
674         <dc:Bounds x="1356" y="1158" width="36" height="36" />
675       </bpmndi:BPMNShape>
676       <bpmndi:BPMNShape id="ScriptTask_1swzdpw_di" bpmnElement="ScriptTask_1swzdpw">
677         <dc:Bounds x="982" y="1136" width="100" height="80" />
678       </bpmndi:BPMNShape>
679       <bpmndi:BPMNShape id="ScriptTask_1ef3voz_di" bpmnElement="ScriptTask_1ef3voz">
680         <dc:Bounds x="764" y="925" width="100" height="80" />
681       </bpmndi:BPMNShape>
682       <bpmndi:BPMNShape id="EndEvent_05h01gx_di" bpmnElement="EndEvent_05h01gx">
683         <dc:Bounds x="1396" y="947" width="36" height="36" />
684         <bpmndi:BPMNLabel>
685           <dc:Bounds x="1404" y="990" width="20" height="14" />
686         </bpmndi:BPMNLabel>
687       </bpmndi:BPMNShape>
688       <bpmndi:BPMNShape id="ScriptTask_1xxag1o_di" bpmnElement="ScriptTask_1xxag1o">
689         <dc:Bounds x="410" y="82" width="100" height="80" />
690       </bpmndi:BPMNShape>
691       <bpmndi:BPMNShape id="ScriptTask_1ssh2l9_di" bpmnElement="ScriptTask_1ssh2l9">
692         <dc:Bounds x="1074" y="925" width="100" height="80" />
693       </bpmndi:BPMNShape>
694       <bpmndi:BPMNShape id="ServiceTask_0kd6p6p_di" bpmnElement="ServiceTask_0kd6p6p">
695         <dc:Bounds x="564" y="82" width="100" height="80" />
696       </bpmndi:BPMNShape>
697       <bpmndi:BPMNShape id="CallActivity_0h88mep_di" bpmnElement="CallActivity_0h88mep">
698         <dc:Bounds x="890" y="82" width="100" height="80" />
699       </bpmndi:BPMNShape>
700       <bpmndi:BPMNShape id="CallActivity_0n47zoh_di" bpmnElement="CallActivity_0n47zoh">
701         <dc:Bounds x="1220" y="310" width="100" height="80" />
702       </bpmndi:BPMNShape>
703       <bpmndi:BPMNShape id="ScriptTask_12h8542_di" bpmnElement="ScriptTask_12h8542">
704         <dc:Bounds x="1060" y="580" width="100" height="80" />
705       </bpmndi:BPMNShape>
706       <bpmndi:BPMNShape id="CallActivity_0o89wmf_di" bpmnElement="CallActivity_0o89wmf">
707         <dc:Bounds x="1220" y="580" width="100" height="80" />
708       </bpmndi:BPMNShape>
709       <bpmndi:BPMNShape id="CallActivity_0jdzpem_di" bpmnElement="CallActivity_0jdzpem">
710         <dc:Bounds x="1220" y="765" width="100" height="80" />
711       </bpmndi:BPMNShape>
712       <bpmndi:BPMNShape id="ScriptTask_1mscu5w_di" bpmnElement="ScriptTask_1mscu5w">
713         <dc:Bounds x="1074" y="765" width="100" height="80" />
714       </bpmndi:BPMNShape>
715       <bpmndi:BPMNShape id="IntermediateCatchEvent_0pkvfun_di" bpmnElement="IntermediateCatchEvent_0pkvfun">
716         <dc:Bounds x="177" y="947" width="36" height="36" />
717         <bpmndi:BPMNLabel>
718           <dc:Bounds x="167" y="990" width="66" height="14" />
719         </bpmndi:BPMNLabel>
720       </bpmndi:BPMNShape>
721       <bpmndi:BPMNShape id="IntermediateThrowEvent_0ktwpki_di" bpmnElement="IntermediateThrowEvent_0ktwpki">
722         <dc:Bounds x="1396" y="602" width="36" height="36" />
723         <bpmndi:BPMNLabel>
724           <dc:Bounds x="1389" y="643" width="67" height="27" />
725         </bpmndi:BPMNLabel>
726       </bpmndi:BPMNShape>
727       <bpmndi:BPMNShape id="CallActivity_15pl4ld_di" bpmnElement="CallActivity_15pl4ld">
728         <dc:Bounds x="934" y="925" width="100" height="80" />
729       </bpmndi:BPMNShape>
730       <bpmndi:BPMNShape id="EndEvent_1oouvuh_di" bpmnElement="EndEvent_1oouvuh">
731         <dc:Bounds x="1396" y="787" width="36" height="36" />
732         <bpmndi:BPMNLabel>
733           <dc:Bounds x="1404" y="830" width="20" height="14" />
734         </bpmndi:BPMNLabel>
735       </bpmndi:BPMNShape>
736       <bpmndi:BPMNShape id="ServiceTask_0esr949_di" bpmnElement="ServiceTask_0esr949">
737         <dc:Bounds x="1244" y="925" width="100" height="80" />
738       </bpmndi:BPMNShape>
739       <bpmndi:BPMNShape id="CallActivity_0cxst1i_di" bpmnElement="CallActivity_0cxst1i">
740         <dc:Bounds x="274" y="925" width="100" height="80" />
741       </bpmndi:BPMNShape>
742       <bpmndi:BPMNShape id="CallActivity_0v4mw2x_di" bpmnElement="CallActivity_0v4mw2x">
743         <dc:Bounds x="880" y="310" width="100" height="80" />
744       </bpmndi:BPMNShape>
745       <bpmndi:BPMNShape id="ScriptTask_19uxoi8_di" bpmnElement="ScriptTask_19uxoi8">
746         <dc:Bounds x="584" y="925" width="100" height="80" />
747       </bpmndi:BPMNShape>
748       <bpmndi:BPMNShape id="ScriptTask_09mxr0w_di" bpmnElement="ScriptTask_09mxr0w">
749         <dc:Bounds x="1230" y="84" width="100" height="80" />
750       </bpmndi:BPMNShape>
751       <bpmndi:BPMNShape id="ScriptTask_1ac05ww_di" bpmnElement="ScriptTask_1ac05ww">
752         <dc:Bounds x="720" y="82" width="100" height="80" />
753       </bpmndi:BPMNShape>
754       <bpmndi:BPMNShape id="IntermediateCatchEvent_0gceuxu_di" bpmnElement="IntermediateCatchEvent_0gceuxu">
755         <dc:Bounds x="168" y="332" width="36" height="36" />
756         <bpmndi:BPMNLabel>
757           <dc:Bounds x="161" y="375" width="60" height="27" />
758         </bpmndi:BPMNLabel>
759       </bpmndi:BPMNShape>
760       <bpmndi:BPMNShape id="IntermediateThrowEvent_0lpvnze_di" bpmnElement="IntermediateThrowEvent_0lpvnze">
761         <dc:Bounds x="1402" y="106" width="36" height="36" />
762         <bpmndi:BPMNLabel>
763           <dc:Bounds x="1382" y="147" width="87" height="27" />
764         </bpmndi:BPMNLabel>
765       </bpmndi:BPMNShape>
766       <bpmndi:BPMNShape id="ScriptTask_13roglo_di" bpmnElement="ScriptTask_13roglo">
767         <dc:Bounds x="710" y="310" width="100" height="80" />
768       </bpmndi:BPMNShape>
769       <bpmndi:BPMNShape id="EndEvent_0bz8a65_di" bpmnElement="EndEvent_0bz8a65">
770         <dc:Bounds x="354" y="772" width="36" height="36" />
771       </bpmndi:BPMNShape>
772       <bpmndi:BPMNShape id="ScriptTask_04qudo2_di" bpmnElement="ScriptTask_04qudo2">
773         <dc:Bounds x="550" y="580" width="100" height="80" />
774       </bpmndi:BPMNShape>
775       <bpmndi:BPMNShape id="CallActivity_1vu3zcv_di" bpmnElement="CallActivity_1vu3zcv">
776         <dc:Bounds x="688" y="580" width="100" height="80" />
777       </bpmndi:BPMNShape>
778       <bpmndi:BPMNShape id="CallActivity_0xf2g6c_di" bpmnElement="CallActivity_0xf2g6c">
779         <dc:Bounds x="520" y="310" width="100" height="80" />
780       </bpmndi:BPMNShape>
781       <bpmndi:BPMNShape id="ScriptTask_1ayg9y8_di" bpmnElement="ScriptTask_1ayg9y8">
782         <dc:Bounds x="310" y="310" width="100" height="80" />
783       </bpmndi:BPMNShape>
784       <bpmndi:BPMNShape id="SubProcess_1sxkpqq_di" bpmnElement="SubProcess_1sxkpqq" isExpanded="true">
785         <dc:Bounds x="240" y="540" width="280" height="160" />
786       </bpmndi:BPMNShape>
787       <bpmndi:BPMNEdge id="SequenceFlow_0recnor_di" bpmnElement="SequenceFlow_0recnor">
788         <di:waypoint x="308" y="620" />
789         <di:waypoint x="367" y="620" />
790       </bpmndi:BPMNEdge>
791       <bpmndi:BPMNEdge id="SequenceFlow_1htsa6t_di" bpmnElement="SequenceFlow_1htsa6t">
792         <di:waypoint x="403" y="620" />
793         <di:waypoint x="460" y="620" />
794       </bpmndi:BPMNEdge>
795       <bpmndi:BPMNShape id="StartEvent_1hd68zf_di" bpmnElement="StartEvent_1hd68zf">
796         <dc:Bounds x="272" y="602" width="36" height="36" />
797       </bpmndi:BPMNShape>
798       <bpmndi:BPMNShape id="EndEvent_05npq16_di" bpmnElement="EndEvent_05npq16">
799         <dc:Bounds x="460" y="602" width="36" height="36" />
800       </bpmndi:BPMNShape>
801       <bpmndi:BPMNShape id="IntermediateCatchEvent_1iti8re_di" bpmnElement="IntermediateCatchEvent_1iti8re">
802         <dc:Bounds x="367" y="602" width="36" height="36" />
803         <bpmndi:BPMNLabel>
804           <dc:Bounds x="353" y="644" width="67" height="27" />
805         </bpmndi:BPMNLabel>
806       </bpmndi:BPMNShape>
807       <bpmndi:BPMNShape id="BoundaryEvent_0xqq1ch_di" bpmnElement="BoundaryEvent_0xqq1ch">
808         <dc:Bounds x="354" y="682" width="36" height="36" />
809         <bpmndi:BPMNLabel>
810           <dc:Bounds x="395" y="712" width="40" height="14" />
811         </bpmndi:BPMNLabel>
812       </bpmndi:BPMNShape>
813     </bpmndi:BPMNPlane>
814   </bpmndi:BPMNDiagram>
815 </bpmn:definitions>