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