290e13d05c7f913c5b80ca7c6cf21647d7ea3a2e
[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="3.4.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       </bpmn:extensionElements>
287       <bpmn:incoming>SequenceFlow_1bevt3a</bpmn:incoming>
288       <bpmn:outgoing>SequenceFlow_0mlrlbv</bpmn:outgoing>
289     </bpmn:callActivity>
290     <bpmn:sequenceFlow id="SequenceFlow_03s744c" sourceRef="StartEvent_1nbljfd" targetRef="ScriptTask_1tc44ge" />
291     <bpmn:sequenceFlow id="SequenceFlow_07e12rt" sourceRef="ScriptTask_1tc44ge" targetRef="ScriptTask_1xxag1o" />
292     <bpmn:sequenceFlow id="SequenceFlow_197cm2e" sourceRef="ScriptTask_1jgtb0y" targetRef="ExclusiveGateway_0elbczl" />
293     <bpmn:sequenceFlow id="SequenceFlow_12t5exy" name="continue" sourceRef="ExclusiveGateway_0elbczl" targetRef="ScriptTask_12h8542">
294       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("taskAction") == "commit"}</bpmn:conditionExpression>
295     </bpmn:sequenceFlow>
296     <bpmn:sequenceFlow id="SequenceFlow_038lb9m" name="abort" sourceRef="ExclusiveGateway_0elbczl" targetRef="ScriptTask_1mscu5w" />
297     <bpmn:sequenceFlow id="SequenceFlow_18kur12" sourceRef="ScriptTask_0gb975b" targetRef="CallActivity_0n47zoh" />
298     <bpmn:sequenceFlow id="SequenceFlow_0mlrlbv" sourceRef="CallActivity_0cxst1i" targetRef="ExclusiveGateway_18eld2o" />
299     <bpmn:sequenceFlow id="SequenceFlow_1c6ka9h" name="No" sourceRef="ExclusiveGateway_18eld2o" targetRef="EndEvent_0x406rw" />
300     <bpmn:sequenceFlow id="SequenceFlow_0n4xku8" name="Yes" sourceRef="ExclusiveGateway_18eld2o" targetRef="ScriptTask_19uxoi8">
301       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("WorkflowException") == null}</bpmn:conditionExpression>
302     </bpmn:sequenceFlow>
303     <bpmn:sequenceFlow id="SequenceFlow_0klb3ey" sourceRef="ScriptTask_1ef3voz" targetRef="CallActivity_15pl4ld" />
304     <bpmn:sequenceFlow id="SequenceFlow_11rbv41" sourceRef="ServiceTask_0esr949" targetRef="EndEvent_05h01gx" />
305     <bpmn:sequenceFlow id="SequenceFlow_0t094g7" sourceRef="ScriptTask_1xxag1o" targetRef="ServiceTask_0kd6p6p" />
306     <bpmn:sequenceFlow id="SequenceFlow_0lbdfmt" sourceRef="CallActivity_15pl4ld" targetRef="ScriptTask_1ssh2l9" />
307     <bpmn:sequenceFlow id="SequenceFlow_1qv8qw1" sourceRef="ScriptTask_1ssh2l9" targetRef="ServiceTask_0esr949" />
308     <bpmn:sequenceFlow id="SequenceFlow_0thd6ny" sourceRef="ScriptTask_12h8542" targetRef="CallActivity_0o89wmf" />
309     <bpmn:sequenceFlow id="SequenceFlow_0477975" sourceRef="CallActivity_0o89wmf" targetRef="IntermediateThrowEvent_0ktwpki" />
310     <bpmn:sequenceFlow id="SequenceFlow_19lsayh" sourceRef="ScriptTask_1mscu5w" targetRef="CallActivity_0jdzpem" />
311     <bpmn:sequenceFlow id="SequenceFlow_10ng1vx" sourceRef="CallActivity_0jdzpem" targetRef="EndEvent_1oouvuh" />
312     <bpmn:sequenceFlow id="SequenceFlow_1bevt3a" sourceRef="IntermediateCatchEvent_0pkvfun" targetRef="CallActivity_0cxst1i" />
313     <bpmn:callActivity id="CallActivity_0v4mw2x" name="Call DoCreateSliceServiceOption&#10;" calledElement="DoCreateSliceServiceOption">
314       <bpmn:extensionElements>
315         <camunda:in source="msoRequestId" target="msoRequestId" />
316         <camunda:in source="sliceTaskParams" target="sliceTaskParams" />
317         <camunda:in source="resourceSharingLevel" target="resourceSharingLevel" />
318         <camunda:out source="sliceTaskParams" target="sliceTaskParams" />
319         <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
320         <camunda:in source="subscriptionServiceType" target="subscriptionServiceType" />
321         <camunda:in source="serviceType" target="serviceType" />
322       </bpmn:extensionElements>
323       <bpmn:incoming>SequenceFlow_1f6dyxo</bpmn:incoming>
324       <bpmn:outgoing>SequenceFlow_1aaozcg</bpmn:outgoing>
325     </bpmn:callActivity>
326     <bpmn:sequenceFlow id="SequenceFlow_1aaozcg" sourceRef="CallActivity_0v4mw2x" targetRef="ScriptTask_0gb975b" />
327     <bpmn:scriptTask id="ScriptTask_19uxoi8" name="Update AAI Status" scriptFormat="groovy">
328       <bpmn:incoming>SequenceFlow_0n4xku8</bpmn:incoming>
329       <bpmn:outgoing>SequenceFlow_0kixzdj</bpmn:outgoing>
330       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
331 execution.setVariable("orchestrationStatus", "deactivated")
332 def css = new CreateSliceService()
333 css.updateAAIOrchStatus(execution)</bpmn:script>
334     </bpmn:scriptTask>
335     <bpmn:sequenceFlow id="SequenceFlow_0kixzdj" sourceRef="ScriptTask_19uxoi8" targetRef="ScriptTask_1ef3voz" />
336     <bpmn:scriptTask id="ScriptTask_09mxr0w" name="Send Sync Ack Response" scriptFormat="groovy">
337       <bpmn:incoming>SequenceFlow_0jhqtls</bpmn:incoming>
338       <bpmn:outgoing>SequenceFlow_12wo878</bpmn:outgoing>
339       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
340 def css = new CreateSliceService()
341 css.sendSyncResponse(execution)</bpmn:script>
342     </bpmn:scriptTask>
343     <bpmn:scriptTask id="ScriptTask_1ac05ww" name="Prepare Create OrchestrationTask" scriptFormat="groovy">
344       <bpmn:incoming>SequenceFlow_0xmvg4v</bpmn:incoming>
345       <bpmn:outgoing>SequenceFlow_1x4n7an</bpmn:outgoing>
346       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
347 def css= new CreateSliceService()
348 css.prepareCreateOrchestrationTask(execution)</bpmn:script>
349     </bpmn:scriptTask>
350     <bpmn:sequenceFlow id="SequenceFlow_0xmvg4v" sourceRef="ServiceTask_0kd6p6p" targetRef="ScriptTask_1ac05ww" />
351     <bpmn:sequenceFlow id="SequenceFlow_1x4n7an" sourceRef="ScriptTask_1ac05ww" targetRef="CallActivity_0h88mep" />
352     <bpmn:sequenceFlow id="SequenceFlow_1dfon41" sourceRef="CallActivity_0h88mep" targetRef="CallActivity_139l55g" />
353     <bpmn:sequenceFlow id="SequenceFlow_0jhqtls" sourceRef="CallActivity_139l55g" targetRef="ScriptTask_09mxr0w" />
354     <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_0gceuxu" name="Create Slice Service">
355       <bpmn:outgoing>SequenceFlow_14c2tav</bpmn:outgoing>
356       <bpmn:linkEventDefinition id="LinkEventDefinition_0wnloof" name="CreateSliceService" />
357     </bpmn:intermediateCatchEvent>
358     <bpmn:sequenceFlow id="SequenceFlow_14c2tav" sourceRef="IntermediateCatchEvent_0gceuxu" targetRef="ScriptTask_1ayg9y8" />
359     <bpmn:sequenceFlow id="SequenceFlow_00kcej9" sourceRef="CallActivity_0n47zoh" targetRef="IntermediateThrowEvent_1v96asi" />
360     <bpmn:intermediateThrowEvent id="IntermediateThrowEvent_0lpvnze" name="Goto Create Slice Service">
361       <bpmn:incoming>SequenceFlow_12wo878</bpmn:incoming>
362       <bpmn:linkEventDefinition id="LinkEventDefinition_1oxsvp3" name="CreateSliceService" />
363     </bpmn:intermediateThrowEvent>
364     <bpmn:sequenceFlow id="SequenceFlow_12wo878" sourceRef="ScriptTask_09mxr0w" targetRef="IntermediateThrowEvent_0lpvnze" />
365     <bpmn:scriptTask id="ScriptTask_13roglo" name="Process NST Solutions" scriptFormat="groovy">
366       <bpmn:incoming>SequenceFlow_1r2jtal</bpmn:incoming>
367       <bpmn:outgoing>SequenceFlow_1f6dyxo</bpmn:outgoing>
368       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
369 def css = new CreateSliceService()
370 css.processNSTSolutions(execution)</bpmn:script>
371     </bpmn:scriptTask>
372     <bpmn:sequenceFlow id="SequenceFlow_1f6dyxo" sourceRef="ScriptTask_13roglo" targetRef="CallActivity_0v4mw2x" />
373     <bpmn:endEvent id="EndEvent_0bz8a65">
374       <bpmn:incoming>SequenceFlow_1fk2cn3</bpmn:incoming>
375       <bpmn:errorEventDefinition id="ErrorEventDefinition_1hni1r1" errorRef="Error_0p2naox" />
376     </bpmn:endEvent>
377     <bpmn:scriptTask id="ScriptTask_04qudo2" name="Prepare Get User Options" scriptFormat="groovy">
378       <bpmn:incoming>SequenceFlow_031cwkd</bpmn:incoming>
379       <bpmn:outgoing>SequenceFlow_0ti386y</bpmn:outgoing>
380       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
381 def css = new CreateSliceService()
382 css.prepareGetUserOptions(execution)</bpmn:script>
383     </bpmn:scriptTask>
384     <bpmn:sequenceFlow id="SequenceFlow_0ti386y" sourceRef="ScriptTask_04qudo2" targetRef="CallActivity_1vu3zcv" />
385     <bpmn:callActivity id="CallActivity_1vu3zcv" name="Call HandleOrchestrationTask" calledElement="HandleOrchestrationTask">
386       <bpmn:extensionElements>
387         <camunda:out source="statusCode" target="CSSOT_dbResponseCode" />
388         <camunda:out source="response" target="CSSOT_dbResponse" />
389         <camunda:in source="CSSOT_taskId" target="taskId" />
390         <camunda:in source="msoRequestId" target="requestId" />
391         <camunda:in source="CSSOT_name" target="taskName" />
392         <camunda:in source="CSSOT_status" target="taskStatus" />
393         <camunda:in source="CSSOT_isManual" target="isManual" />
394         <camunda:in source="CSSOT_paramJson" target="paramJson" />
395         <camunda:in source="CSSOT_requestMethod" target="method" />
396       </bpmn:extensionElements>
397       <bpmn:incoming>SequenceFlow_0ti386y</bpmn:incoming>
398       <bpmn:outgoing>SequenceFlow_1whq7vc</bpmn:outgoing>
399     </bpmn:callActivity>
400     <bpmn:sequenceFlow id="SequenceFlow_1whq7vc" sourceRef="CallActivity_1vu3zcv" targetRef="ScriptTask_1jgtb0y" />
401     <bpmn:callActivity id="CallActivity_0xf2g6c" name="Handle NST Selection OOF request" calledElement="DoHandleOofRequest">
402       <bpmn:extensionElements>
403         <camunda:in source="nstSelectionUrl" target="apiPath" />
404         <camunda:in source="nstSelection_correlator" target="correlator" />
405         <camunda:in source="nstSelection_messageType" target="messageType" />
406         <camunda:in source="nstSelection_timeout" target="timeout" />
407         <camunda:out source="WorkflowException" target="WorkflowException" />
408         <camunda:out source="asyncCallbackResponse" target="nstSelection_oofResponse" />
409         <camunda:in source="nstSelection_oofRequest" target="oofRequest" />
410       </bpmn:extensionElements>
411       <bpmn:incoming>SequenceFlow_02sve8o</bpmn:incoming>
412       <bpmn:outgoing>SequenceFlow_1r2jtal</bpmn:outgoing>
413     </bpmn:callActivity>
414     <bpmn:sequenceFlow id="SequenceFlow_1r2jtal" sourceRef="CallActivity_0xf2g6c" targetRef="ScriptTask_13roglo" />
415     <bpmn:scriptTask id="ScriptTask_1ayg9y8" name="Prepare NST Selection" scriptFormat="groovy">
416       <bpmn:incoming>SequenceFlow_14c2tav</bpmn:incoming>
417       <bpmn:outgoing>SequenceFlow_02sve8o</bpmn:outgoing>
418       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
419 def css = new CreateSliceService()
420 css.prepareSelectNSTRequest(execution)</bpmn:script>
421     </bpmn:scriptTask>
422     <bpmn:sequenceFlow id="SequenceFlow_02sve8o" sourceRef="ScriptTask_1ayg9y8" targetRef="CallActivity_0xf2g6c" />
423     <bpmn:subProcess id="SubProcess_1sxkpqq" name="Wait for Confim Message">
424       <bpmn:incoming>SequenceFlow_0sub2c2</bpmn:incoming>
425       <bpmn:outgoing>SequenceFlow_031cwkd</bpmn:outgoing>
426       <bpmn:startEvent id="StartEvent_1hd68zf">
427         <bpmn:outgoing>SequenceFlow_0recnor</bpmn:outgoing>
428       </bpmn:startEvent>
429       <bpmn:endEvent id="EndEvent_05npq16">
430         <bpmn:incoming>SequenceFlow_1htsa6t</bpmn:incoming>
431       </bpmn:endEvent>
432       <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_1iti8re" name="Catch Confim Message">
433         <bpmn:incoming>SequenceFlow_0recnor</bpmn:incoming>
434         <bpmn:outgoing>SequenceFlow_1htsa6t</bpmn:outgoing>
435         <bpmn:messageEventDefinition id="MessageEventDefinition_1rxlviw" messageRef="Message_0c4b2r5" />
436       </bpmn:intermediateCatchEvent>
437       <bpmn:sequenceFlow id="SequenceFlow_1htsa6t" name="" sourceRef="IntermediateCatchEvent_1iti8re" targetRef="EndEvent_05npq16" />
438       <bpmn:sequenceFlow id="SequenceFlow_0recnor" name="" sourceRef="StartEvent_1hd68zf" targetRef="IntermediateCatchEvent_1iti8re" />
439     </bpmn:subProcess>
440     <bpmn:boundaryEvent id="BoundaryEvent_0xqq1ch" name="Timeout" attachedToRef="SubProcess_1sxkpqq">
441       <bpmn:outgoing>SequenceFlow_1fk2cn3</bpmn:outgoing>
442       <bpmn:timerEventDefinition id="TimerEventDefinition_0jxhpup">
443         <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT2H</bpmn:timeDuration>
444       </bpmn:timerEventDefinition>
445     </bpmn:boundaryEvent>
446     <bpmn:sequenceFlow id="SequenceFlow_1fk2cn3" sourceRef="BoundaryEvent_0xqq1ch" targetRef="EndEvent_0bz8a65" />
447     <bpmn:sequenceFlow id="SequenceFlow_0sub2c2" sourceRef="IntermediateCatchEvent_0vilb24" targetRef="SubProcess_1sxkpqq" />
448     <bpmn:sequenceFlow id="SequenceFlow_031cwkd" sourceRef="SubProcess_1sxkpqq" targetRef="ScriptTask_04qudo2" />
449   </bpmn:process>
450   <bpmn:error id="Error_03akl5v" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
451   <bpmn:error id="Error_0p2naox" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
452   <bpmn:message id="Message_0c4b2r5" name="SliceServiceTask" />
453   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
454     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateSliceService">
455       <bpmndi:BPMNEdge id="SequenceFlow_0kixzdj_di" bpmnElement="SequenceFlow_0kixzdj">
456         <di:waypoint x="684" y="965" />
457         <di:waypoint x="764" y="965" />
458       </bpmndi:BPMNEdge>
459       <bpmndi:BPMNEdge id="SequenceFlow_1aaozcg_di" bpmnElement="SequenceFlow_1aaozcg">
460         <di:waypoint x="980" y="350" />
461         <di:waypoint x="1060" y="350" />
462       </bpmndi:BPMNEdge>
463       <bpmndi:BPMNEdge id="SequenceFlow_1bevt3a_di" bpmnElement="SequenceFlow_1bevt3a">
464         <di:waypoint x="213" y="965" />
465         <di:waypoint x="274" y="965" />
466       </bpmndi:BPMNEdge>
467       <bpmndi:BPMNEdge id="SequenceFlow_10ng1vx_di" bpmnElement="SequenceFlow_10ng1vx">
468         <di:waypoint x="1320" y="805" />
469         <di:waypoint x="1396" y="805" />
470       </bpmndi:BPMNEdge>
471       <bpmndi:BPMNEdge id="SequenceFlow_19lsayh_di" bpmnElement="SequenceFlow_19lsayh">
472         <di:waypoint x="1174" y="805" />
473         <di:waypoint x="1220" y="805" />
474       </bpmndi:BPMNEdge>
475       <bpmndi:BPMNEdge id="SequenceFlow_0477975_di" bpmnElement="SequenceFlow_0477975">
476         <di:waypoint x="1320" y="620" />
477         <di:waypoint x="1396" y="620" />
478       </bpmndi:BPMNEdge>
479       <bpmndi:BPMNEdge id="SequenceFlow_0thd6ny_di" bpmnElement="SequenceFlow_0thd6ny">
480         <di:waypoint x="1160" y="620" />
481         <di:waypoint x="1220" y="620" />
482       </bpmndi:BPMNEdge>
483       <bpmndi:BPMNEdge id="SequenceFlow_1qv8qw1_di" bpmnElement="SequenceFlow_1qv8qw1">
484         <di:waypoint x="1174" y="965" />
485         <di:waypoint x="1244" y="965" />
486       </bpmndi:BPMNEdge>
487       <bpmndi:BPMNEdge id="SequenceFlow_0lbdfmt_di" bpmnElement="SequenceFlow_0lbdfmt">
488         <di:waypoint x="1034" y="965" />
489         <di:waypoint x="1074" y="965" />
490       </bpmndi:BPMNEdge>
491       <bpmndi:BPMNEdge id="SequenceFlow_0t094g7_di" bpmnElement="SequenceFlow_0t094g7">
492         <di:waypoint x="510" y="122" />
493         <di:waypoint x="564" y="122" />
494       </bpmndi:BPMNEdge>
495       <bpmndi:BPMNEdge id="SequenceFlow_11rbv41_di" bpmnElement="SequenceFlow_11rbv41">
496         <di:waypoint x="1344" y="965" />
497         <di:waypoint x="1396" y="965" />
498       </bpmndi:BPMNEdge>
499       <bpmndi:BPMNEdge id="SequenceFlow_0klb3ey_di" bpmnElement="SequenceFlow_0klb3ey">
500         <di:waypoint x="864" y="965" />
501         <di:waypoint x="934" y="965" />
502       </bpmndi:BPMNEdge>
503       <bpmndi:BPMNEdge id="SequenceFlow_0n4xku8_di" bpmnElement="SequenceFlow_0n4xku8">
504         <di:waypoint x="489" y="965" />
505         <di:waypoint x="584" y="965" />
506         <bpmndi:BPMNLabel>
507           <dc:Bounds x="529" y="947" width="18" height="14" />
508         </bpmndi:BPMNLabel>
509       </bpmndi:BPMNEdge>
510       <bpmndi:BPMNEdge id="SequenceFlow_1c6ka9h_di" bpmnElement="SequenceFlow_1c6ka9h">
511         <di:waypoint x="464" y="990" />
512         <di:waypoint x="464" y="1090" />
513         <bpmndi:BPMNLabel>
514           <dc:Bounds x="472" y="998" width="15" height="14" />
515         </bpmndi:BPMNLabel>
516       </bpmndi:BPMNEdge>
517       <bpmndi:BPMNEdge id="SequenceFlow_0mlrlbv_di" bpmnElement="SequenceFlow_0mlrlbv">
518         <di:waypoint x="374" y="965" />
519         <di:waypoint x="439" y="965" />
520       </bpmndi:BPMNEdge>
521       <bpmndi:BPMNEdge id="SequenceFlow_18kur12_di" bpmnElement="SequenceFlow_18kur12">
522         <di:waypoint x="1160" y="350" />
523         <di:waypoint x="1220" y="350" />
524       </bpmndi:BPMNEdge>
525       <bpmndi:BPMNEdge id="SequenceFlow_038lb9m_di" bpmnElement="SequenceFlow_038lb9m">
526         <di:waypoint x="984" y="645" />
527         <di:waypoint x="984" y="805" />
528         <di:waypoint x="1074" y="805" />
529         <bpmndi:BPMNLabel>
530           <dc:Bounds x="986" y="722" width="27" height="14" />
531         </bpmndi:BPMNLabel>
532       </bpmndi:BPMNEdge>
533       <bpmndi:BPMNEdge id="SequenceFlow_12t5exy_di" bpmnElement="SequenceFlow_12t5exy">
534         <di:waypoint x="1009" y="620" />
535         <di:waypoint x="1060" y="620" />
536         <bpmndi:BPMNLabel>
537           <dc:Bounds x="998" y="602" width="42" height="14" />
538         </bpmndi:BPMNLabel>
539       </bpmndi:BPMNEdge>
540       <bpmndi:BPMNEdge id="SequenceFlow_197cm2e_di" bpmnElement="SequenceFlow_197cm2e">
541         <di:waypoint x="930" y="620" />
542         <di:waypoint x="959" y="620" />
543       </bpmndi:BPMNEdge>
544       <bpmndi:BPMNEdge id="SequenceFlow_07e12rt_di" bpmnElement="SequenceFlow_07e12rt">
545         <di:waypoint x="350" y="122" />
546         <di:waypoint x="410" y="122" />
547       </bpmndi:BPMNEdge>
548       <bpmndi:BPMNEdge id="SequenceFlow_03s744c_di" bpmnElement="SequenceFlow_03s744c">
549         <di:waypoint x="214" y="122" />
550         <di:waypoint x="250" y="122" />
551       </bpmndi:BPMNEdge>
552       <bpmndi:BPMNShape id="StartEvent_1nbljfd_di" bpmnElement="StartEvent_1nbljfd">
553         <dc:Bounds x="178" y="104" width="36" height="36" />
554         <bpmndi:BPMNLabel>
555           <dc:Bounds x="156" y="147" width="82" height="40" />
556         </bpmndi:BPMNLabel>
557       </bpmndi:BPMNShape>
558       <bpmndi:BPMNShape id="IntermediateCatchEvent_0vilb24_di" bpmnElement="IntermediateCatchEvent_0vilb24">
559         <dc:Bounds x="177" y="602" width="36" height="36" />
560         <bpmndi:BPMNLabel>
561           <dc:Bounds x="167" y="645" width="60" height="27" />
562         </bpmndi:BPMNLabel>
563       </bpmndi:BPMNShape>
564       <bpmndi:BPMNShape id="ScriptTask_1jgtb0y_di" bpmnElement="ScriptTask_1jgtb0y">
565         <dc:Bounds x="830" y="580" width="100" height="80" />
566       </bpmndi:BPMNShape>
567       <bpmndi:BPMNShape id="ExclusiveGateway_0elbczl_di" bpmnElement="ExclusiveGateway_0elbczl" isMarkerVisible="true">
568         <dc:Bounds x="959" y="595" width="50" height="50" />
569         <bpmndi:BPMNLabel>
570           <dc:Bounds x="946" y="577" width="78" height="14" />
571         </bpmndi:BPMNLabel>
572       </bpmndi:BPMNShape>
573       <bpmndi:BPMNShape id="CallActivity_139l55g_di" bpmnElement="CallActivity_139l55g">
574         <dc:Bounds x="1060" y="84" width="100" height="80" />
575       </bpmndi:BPMNShape>
576       <bpmndi:BPMNShape id="IntermediateThrowEvent_1v96asi_di" bpmnElement="IntermediateThrowEvent_1v96asi">
577         <dc:Bounds x="1402" y="332" width="36" height="36" />
578         <bpmndi:BPMNLabel>
579           <dc:Bounds x="1385" y="373" width="81" height="27" />
580         </bpmndi:BPMNLabel>
581       </bpmndi:BPMNShape>
582       <bpmndi:BPMNShape id="ScriptTask_0gb975b_di" bpmnElement="ScriptTask_0gb975b">
583         <dc:Bounds x="1060" y="310" width="100" height="80" />
584       </bpmndi:BPMNShape>
585       <bpmndi:BPMNShape id="ExclusiveGateway_18eld2o_di" bpmnElement="ExclusiveGateway_18eld2o" isMarkerVisible="true">
586         <dc:Bounds x="439" y="940" width="50" height="50" />
587         <bpmndi:BPMNLabel>
588           <dc:Bounds x="434" y="910" width="60" height="27" />
589         </bpmndi:BPMNLabel>
590       </bpmndi:BPMNShape>
591       <bpmndi:BPMNShape id="EndEvent_0x406rw_di" bpmnElement="EndEvent_0x406rw">
592         <dc:Bounds x="446" y="1090" width="36" height="36" />
593       </bpmndi:BPMNShape>
594       <bpmndi:BPMNShape id="ScriptTask_1tc44ge_di" bpmnElement="ScriptTask_1tc44ge">
595         <dc:Bounds x="250" y="82" width="100" height="80" />
596       </bpmndi:BPMNShape>
597       <bpmndi:BPMNShape id="ServiceTask_0kd6p6p_di" bpmnElement="ServiceTask_0kd6p6p">
598         <dc:Bounds x="564" y="82" width="100" height="80" />
599       </bpmndi:BPMNShape>
600       <bpmndi:BPMNShape id="ScriptTask_1xxag1o_di" bpmnElement="ScriptTask_1xxag1o">
601         <dc:Bounds x="410" y="82" width="100" height="80" />
602       </bpmndi:BPMNShape>
603       <bpmndi:BPMNShape id="SubProcess_1yv9i68_di" bpmnElement="SubProcess_1yv9i68" isExpanded="true">
604         <dc:Bounds x="688" y="1072" width="781" height="196" />
605       </bpmndi:BPMNShape>
606       <bpmndi:BPMNEdge id="SequenceFlow_08mlzwz_di" bpmnElement="SequenceFlow_08mlzwz">
607         <di:waypoint x="1082" y="1176" />
608         <di:waypoint x="1356" y="1176" />
609       </bpmndi:BPMNEdge>
610       <bpmndi:BPMNEdge id="SequenceFlow_1w67v6s_di" bpmnElement="SequenceFlow_1w67v6s">
611         <di:waypoint x="754" y="1176" />
612         <di:waypoint x="982" y="1176" />
613       </bpmndi:BPMNEdge>
614       <bpmndi:BPMNShape id="StartEvent_1omdx56_di" bpmnElement="StartEvent_1omdx56">
615         <dc:Bounds x="718" y="1158" width="36" height="36" />
616       </bpmndi:BPMNShape>
617       <bpmndi:BPMNShape id="EndEvent_1jx3026_di" bpmnElement="EndEvent_1jx3026">
618         <dc:Bounds x="1356" y="1158" width="36" height="36" />
619       </bpmndi:BPMNShape>
620       <bpmndi:BPMNShape id="ScriptTask_1swzdpw_di" bpmnElement="ScriptTask_1swzdpw">
621         <dc:Bounds x="982" y="1136" width="100" height="80" />
622       </bpmndi:BPMNShape>
623       <bpmndi:BPMNShape id="ScriptTask_1ef3voz_di" bpmnElement="ScriptTask_1ef3voz">
624         <dc:Bounds x="764" y="925" width="100" height="80" />
625       </bpmndi:BPMNShape>
626       <bpmndi:BPMNShape id="EndEvent_05h01gx_di" bpmnElement="EndEvent_05h01gx">
627         <dc:Bounds x="1396" y="947" width="36" height="36" />
628         <bpmndi:BPMNLabel>
629           <dc:Bounds x="1404" y="990" width="20" height="14" />
630         </bpmndi:BPMNLabel>
631       </bpmndi:BPMNShape>
632       <bpmndi:BPMNShape id="ScriptTask_1ssh2l9_di" bpmnElement="ScriptTask_1ssh2l9">
633         <dc:Bounds x="1074" y="925" width="100" height="80" />
634       </bpmndi:BPMNShape>
635       <bpmndi:BPMNShape id="CallActivity_0h88mep_di" bpmnElement="CallActivity_0h88mep">
636         <dc:Bounds x="890" y="82" width="100" height="80" />
637       </bpmndi:BPMNShape>
638       <bpmndi:BPMNShape id="CallActivity_0n47zoh_di" bpmnElement="CallActivity_0n47zoh">
639         <dc:Bounds x="1220" y="310" width="100" height="80" />
640       </bpmndi:BPMNShape>
641       <bpmndi:BPMNShape id="ScriptTask_12h8542_di" bpmnElement="ScriptTask_12h8542">
642         <dc:Bounds x="1060" y="580" width="100" height="80" />
643       </bpmndi:BPMNShape>
644       <bpmndi:BPMNShape id="CallActivity_0o89wmf_di" bpmnElement="CallActivity_0o89wmf">
645         <dc:Bounds x="1220" y="580" width="100" height="80" />
646       </bpmndi:BPMNShape>
647       <bpmndi:BPMNShape id="CallActivity_0jdzpem_di" bpmnElement="CallActivity_0jdzpem">
648         <dc:Bounds x="1220" y="765" width="100" height="80" />
649       </bpmndi:BPMNShape>
650       <bpmndi:BPMNShape id="ScriptTask_1mscu5w_di" bpmnElement="ScriptTask_1mscu5w">
651         <dc:Bounds x="1074" y="765" width="100" height="80" />
652       </bpmndi:BPMNShape>
653       <bpmndi:BPMNShape id="IntermediateCatchEvent_0pkvfun_di" bpmnElement="IntermediateCatchEvent_0pkvfun">
654         <dc:Bounds x="177" y="947" width="36" height="36" />
655         <bpmndi:BPMNLabel>
656           <dc:Bounds x="167" y="990" width="66" height="14" />
657         </bpmndi:BPMNLabel>
658       </bpmndi:BPMNShape>
659       <bpmndi:BPMNShape id="IntermediateThrowEvent_0ktwpki_di" bpmnElement="IntermediateThrowEvent_0ktwpki">
660         <dc:Bounds x="1396" y="602" width="36" height="36" />
661         <bpmndi:BPMNLabel>
662           <dc:Bounds x="1389" y="643" width="67" height="27" />
663         </bpmndi:BPMNLabel>
664       </bpmndi:BPMNShape>
665       <bpmndi:BPMNShape id="CallActivity_15pl4ld_di" bpmnElement="CallActivity_15pl4ld">
666         <dc:Bounds x="934" y="925" width="100" height="80" />
667       </bpmndi:BPMNShape>
668       <bpmndi:BPMNShape id="EndEvent_1oouvuh_di" bpmnElement="EndEvent_1oouvuh">
669         <dc:Bounds x="1396" y="787" width="36" height="36" />
670         <bpmndi:BPMNLabel>
671           <dc:Bounds x="1404" y="830" width="20" height="14" />
672         </bpmndi:BPMNLabel>
673       </bpmndi:BPMNShape>
674       <bpmndi:BPMNShape id="ServiceTask_0esr949_di" bpmnElement="ServiceTask_0esr949">
675         <dc:Bounds x="1244" y="925" width="100" height="80" />
676       </bpmndi:BPMNShape>
677       <bpmndi:BPMNShape id="CallActivity_0cxst1i_di" bpmnElement="CallActivity_0cxst1i">
678         <dc:Bounds x="274" y="925" width="100" height="80" />
679       </bpmndi:BPMNShape>
680       <bpmndi:BPMNShape id="CallActivity_0v4mw2x_di" bpmnElement="CallActivity_0v4mw2x">
681         <dc:Bounds x="880" y="310" width="100" height="80" />
682       </bpmndi:BPMNShape>
683       <bpmndi:BPMNShape id="ScriptTask_19uxoi8_di" bpmnElement="ScriptTask_19uxoi8">
684         <dc:Bounds x="584" y="925" width="100" height="80" />
685       </bpmndi:BPMNShape>
686       <bpmndi:BPMNShape id="ScriptTask_09mxr0w_di" bpmnElement="ScriptTask_09mxr0w">
687         <dc:Bounds x="1230" y="84" width="100" height="80" />
688       </bpmndi:BPMNShape>
689       <bpmndi:BPMNShape id="ScriptTask_1ac05ww_di" bpmnElement="ScriptTask_1ac05ww">
690         <dc:Bounds x="720" y="82" width="100" height="80" />
691       </bpmndi:BPMNShape>
692       <bpmndi:BPMNEdge id="SequenceFlow_0xmvg4v_di" bpmnElement="SequenceFlow_0xmvg4v">
693         <di:waypoint x="664" y="122" />
694         <di:waypoint x="720" y="122" />
695       </bpmndi:BPMNEdge>
696       <bpmndi:BPMNEdge id="SequenceFlow_1x4n7an_di" bpmnElement="SequenceFlow_1x4n7an">
697         <di:waypoint x="820" y="122" />
698         <di:waypoint x="890" y="122" />
699       </bpmndi:BPMNEdge>
700       <bpmndi:BPMNEdge id="SequenceFlow_1dfon41_di" bpmnElement="SequenceFlow_1dfon41">
701         <di:waypoint x="990" y="122" />
702         <di:waypoint x="1060" y="122" />
703       </bpmndi:BPMNEdge>
704       <bpmndi:BPMNEdge id="SequenceFlow_0jhqtls_di" bpmnElement="SequenceFlow_0jhqtls">
705         <di:waypoint x="1160" y="124" />
706         <di:waypoint x="1230" y="124" />
707       </bpmndi:BPMNEdge>
708       <bpmndi:BPMNShape id="IntermediateCatchEvent_0gceuxu_di" bpmnElement="IntermediateCatchEvent_0gceuxu">
709         <dc:Bounds x="168" y="332" width="36" height="36" />
710         <bpmndi:BPMNLabel>
711           <dc:Bounds x="161" y="375" width="60" height="27" />
712         </bpmndi:BPMNLabel>
713       </bpmndi:BPMNShape>
714       <bpmndi:BPMNEdge id="SequenceFlow_14c2tav_di" bpmnElement="SequenceFlow_14c2tav">
715         <di:waypoint x="204" y="350" />
716         <di:waypoint x="310" y="350" />
717       </bpmndi:BPMNEdge>
718       <bpmndi:BPMNEdge id="SequenceFlow_00kcej9_di" bpmnElement="SequenceFlow_00kcej9">
719         <di:waypoint x="1320" y="350" />
720         <di:waypoint x="1402" y="350" />
721       </bpmndi:BPMNEdge>
722       <bpmndi:BPMNShape id="IntermediateThrowEvent_0lpvnze_di" bpmnElement="IntermediateThrowEvent_0lpvnze">
723         <dc:Bounds x="1402" y="106" width="36" height="36" />
724         <bpmndi:BPMNLabel>
725           <dc:Bounds x="1382" y="147" width="87" height="27" />
726         </bpmndi:BPMNLabel>
727       </bpmndi:BPMNShape>
728       <bpmndi:BPMNEdge id="SequenceFlow_12wo878_di" bpmnElement="SequenceFlow_12wo878">
729         <di:waypoint x="1330" y="124" />
730         <di:waypoint x="1402" y="124" />
731       </bpmndi:BPMNEdge>
732       <bpmndi:BPMNShape id="ScriptTask_13roglo_di" bpmnElement="ScriptTask_13roglo">
733         <dc:Bounds x="710" y="310" width="100" height="80" />
734       </bpmndi:BPMNShape>
735       <bpmndi:BPMNEdge id="SequenceFlow_1f6dyxo_di" bpmnElement="SequenceFlow_1f6dyxo">
736         <di:waypoint x="810" y="350" />
737         <di:waypoint x="880" y="350" />
738       </bpmndi:BPMNEdge>
739       <bpmndi:BPMNShape id="EndEvent_0bz8a65_di" bpmnElement="EndEvent_0bz8a65">
740         <dc:Bounds x="354" y="772" width="36" height="36" />
741       </bpmndi:BPMNShape>
742       <bpmndi:BPMNShape id="ScriptTask_04qudo2_di" bpmnElement="ScriptTask_04qudo2">
743         <dc:Bounds x="550" y="580" width="100" height="80" />
744       </bpmndi:BPMNShape>
745       <bpmndi:BPMNEdge id="SequenceFlow_0ti386y_di" bpmnElement="SequenceFlow_0ti386y">
746         <di:waypoint x="650" y="620" />
747         <di:waypoint x="688" y="620" />
748       </bpmndi:BPMNEdge>
749       <bpmndi:BPMNShape id="CallActivity_1vu3zcv_di" bpmnElement="CallActivity_1vu3zcv">
750         <dc:Bounds x="688" y="580" width="100" height="80" />
751       </bpmndi:BPMNShape>
752       <bpmndi:BPMNEdge id="SequenceFlow_1whq7vc_di" bpmnElement="SequenceFlow_1whq7vc">
753         <di:waypoint x="788" y="620" />
754         <di:waypoint x="830" y="620" />
755       </bpmndi:BPMNEdge>
756       <bpmndi:BPMNShape id="CallActivity_0xf2g6c_di" bpmnElement="CallActivity_0xf2g6c">
757         <dc:Bounds x="520" y="310" width="100" height="80" />
758       </bpmndi:BPMNShape>
759       <bpmndi:BPMNEdge id="SequenceFlow_1r2jtal_di" bpmnElement="SequenceFlow_1r2jtal">
760         <di:waypoint x="620" y="350" />
761         <di:waypoint x="710" y="350" />
762       </bpmndi:BPMNEdge>
763       <bpmndi:BPMNShape id="ScriptTask_1ayg9y8_di" bpmnElement="ScriptTask_1ayg9y8">
764         <dc:Bounds x="310" y="310" width="100" height="80" />
765       </bpmndi:BPMNShape>
766       <bpmndi:BPMNEdge id="SequenceFlow_02sve8o_di" bpmnElement="SequenceFlow_02sve8o">
767         <di:waypoint x="410" y="350" />
768         <di:waypoint x="520" y="350" />
769       </bpmndi:BPMNEdge>
770       <bpmndi:BPMNShape id="SubProcess_1sxkpqq_di" bpmnElement="SubProcess_1sxkpqq" isExpanded="true">
771         <dc:Bounds x="240" y="540" width="280" height="160" />
772       </bpmndi:BPMNShape>
773       <bpmndi:BPMNShape id="BoundaryEvent_0xqq1ch_di" bpmnElement="BoundaryEvent_0xqq1ch">
774         <dc:Bounds x="354" y="682" width="36" height="36" />
775         <bpmndi:BPMNLabel>
776           <dc:Bounds x="395" y="712" width="40" height="14" />
777         </bpmndi:BPMNLabel>
778       </bpmndi:BPMNShape>
779       <bpmndi:BPMNShape id="StartEvent_1hd68zf_di" bpmnElement="StartEvent_1hd68zf">
780         <dc:Bounds x="272" y="602" width="36" height="36" />
781       </bpmndi:BPMNShape>
782       <bpmndi:BPMNShape id="EndEvent_05npq16_di" bpmnElement="EndEvent_05npq16">
783         <dc:Bounds x="460" y="602" width="36" height="36" />
784       </bpmndi:BPMNShape>
785       <bpmndi:BPMNShape id="IntermediateCatchEvent_1iti8re_di" bpmnElement="IntermediateCatchEvent_1iti8re">
786         <dc:Bounds x="367" y="602" width="36" height="36" />
787         <bpmndi:BPMNLabel>
788           <dc:Bounds x="353" y="644" width="67" height="27" />
789         </bpmndi:BPMNLabel>
790       </bpmndi:BPMNShape>
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:BPMNEdge id="SequenceFlow_0recnor_di" bpmnElement="SequenceFlow_0recnor">
796         <di:waypoint x="308" y="620" />
797         <di:waypoint x="367" y="620" />
798       </bpmndi:BPMNEdge>
799       <bpmndi:BPMNEdge id="SequenceFlow_1fk2cn3_di" bpmnElement="SequenceFlow_1fk2cn3">
800         <di:waypoint x="372" y="718" />
801         <di:waypoint x="372" y="772" />
802       </bpmndi:BPMNEdge>
803       <bpmndi:BPMNEdge id="SequenceFlow_0sub2c2_di" bpmnElement="SequenceFlow_0sub2c2">
804         <di:waypoint x="213" y="620" />
805         <di:waypoint x="240" y="620" />
806       </bpmndi:BPMNEdge>
807       <bpmndi:BPMNEdge id="SequenceFlow_031cwkd_di" bpmnElement="SequenceFlow_031cwkd">
808         <di:waypoint x="520" y="620" />
809         <di:waypoint x="550" y="620" />
810       </bpmndi:BPMNEdge>
811     </bpmndi:BPMNPlane>
812   </bpmndi:BPMNDiagram>
813 </bpmn:definitions>