Merge "Remove accepted check"
[so.git] / bpmn / so-bpmn-infrastructure-flows / src / main / resources / subprocess / DoAllocateNSIandNSSI.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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:dc="http://www.omg.org/spec/DD/20100524/DC" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="2.2.3">
3   <bpmn:process id="DoAllocateNSIandNSSI" name="DoAllocateNSIandNSSI" isExecutable="true">
4     <bpmn:scriptTask id="Task_09nzhwk" name="Generate NSI and create NSI in AAI with E2ESS and NSI relationship" scriptFormat="groovy">
5       <bpmn:incoming>SequenceFlow_1e40h52</bpmn:incoming>
6       <bpmn:outgoing>SequenceFlow_1uiz85h</bpmn:outgoing>
7       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
8 def dcnsio = new DoAllocateNSIandNSSI()
9 dcnsio.createNSIinAAI(execution)</bpmn:script>
10     </bpmn:scriptTask>
11     <bpmn:exclusiveGateway id="ExclusiveGateway_0b9d9l0" name="Is nsi option available?" default="SequenceFlow_1h5bw41">
12       <bpmn:incoming>SequenceFlow_0dj0jvq</bpmn:incoming>
13       <bpmn:outgoing>SequenceFlow_1h5bw41</bpmn:outgoing>
14       <bpmn:outgoing>SequenceFlow_0ueeeca</bpmn:outgoing>
15     </bpmn:exclusiveGateway>
16     <bpmn:scriptTask id="ScriptTask_1ehyrsg" name="Update AAI relationship for E2ESS and NSI" scriptFormat="groovy">
17       <bpmn:incoming>SequenceFlow_0ueeeca</bpmn:incoming>
18       <bpmn:outgoing>SequenceFlow_0xfhbqw</bpmn:outgoing>
19       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
20 def dcsi = new DoAllocateNSIandNSSI()
21 dcsi.updateRelationship(execution)</bpmn:script>
22     </bpmn:scriptTask>
23     <bpmn:callActivity id="CallActivity_1s23hty" name="Call Decompose Service" calledElement="DecomposeService">
24       <bpmn:extensionElements>
25         <camunda:in source="msoRequestId" target="msoRequestId" />
26         <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
27         <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
28         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
29         <camunda:out source="serviceDecomposition" target="serviceDecomposition" />
30         <camunda:out source="WorkflowException" target="WorkflowException" />
31       </bpmn:extensionElements>
32       <bpmn:incoming>SequenceFlow_1h5bw41</bpmn:incoming>
33       <bpmn:outgoing>SequenceFlow_1e40h52</bpmn:outgoing>
34     </bpmn:callActivity>
35     <bpmn:scriptTask id="ScriptTask_1q3ftu4" name="Prepare NSSI model info and instance id" scriptFormat="groovy">
36       <bpmn:incoming>SequenceFlow_0xfhbqw</bpmn:incoming>
37       <bpmn:outgoing>SequenceFlow_0uhaps2</bpmn:outgoing>
38       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
39 def dcsi = new DoAllocateNSIandNSSI()
40 dcsi.prepareNssiModelInfo(execution)</bpmn:script>
41     </bpmn:scriptTask>
42     <bpmn:startEvent id="allocateslice_StartEvent" name="allocatensi_StartEvent">
43       <bpmn:outgoing>SequenceFlow_1qo2pln</bpmn:outgoing>
44     </bpmn:startEvent>
45     <bpmn:scriptTask id="PreprocessIncomingRequest_task" name="Preprocess Request" scriptFormat="groovy">
46       <bpmn:incoming>SequenceFlow_1qo2pln</bpmn:incoming>
47       <bpmn:outgoing>SequenceFlow_0khtova</bpmn:outgoing>
48       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
49 def dcso = new DoAllocateNSIandNSSI()
50 dcso.preProcessRequest(execution)</bpmn:script>
51     </bpmn:scriptTask>
52     <bpmn:scriptTask id="ScriptTask_0o93dvp" name="read NSI options from request DB" scriptFormat="groovy">
53       <bpmn:incoming>SequenceFlow_0khtova</bpmn:incoming>
54       <bpmn:outgoing>SequenceFlow_0dj0jvq</bpmn:outgoing>
55       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
56 def dansi = new DoAllocateNSIandNSSI()
57 dansi.retriveSliceOption(execution)</bpmn:script>
58     </bpmn:scriptTask>
59     <bpmn:callActivity id="CallActivity_1k1oonn" name="Call Decompose Service" calledElement="DecomposeService">
60       <bpmn:extensionElements>
61         <camunda:in source="msoRequestId" target="msoRequestId" />
62         <camunda:in source="serviceInstanceId" target="serviceInstanceId" />
63         <camunda:in source="serviceModelInfo" target="serviceModelInfo" />
64         <camunda:in source="isDebugLogEnabled" target="isDebugLogEnabled" />
65         <camunda:out source="serviceDecomposition" target="serviceDecomposition" />
66         <camunda:out source="WorkflowException" target="WorkflowException" />
67       </bpmn:extensionElements>
68       <bpmn:incoming>SequenceFlow_1dhpkhd</bpmn:incoming>
69       <bpmn:outgoing>SequenceFlow_0hxky5e</bpmn:outgoing>
70     </bpmn:callActivity>
71     <bpmn:scriptTask id="ScriptTask_0gunols" name="Get one NSST Info" scriptFormat="groovy">
72       <bpmn:incoming>SequenceFlow_1uiz85h</bpmn:incoming>
73       <bpmn:incoming>SequenceFlow_1ui528w</bpmn:incoming>
74       <bpmn:outgoing>SequenceFlow_1dhpkhd</bpmn:outgoing>
75       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
76 def dcnsio = new DoAllocateNSIandNSSI()
77 dcnsio.getOneNsstInfo(execution)</bpmn:script>
78     </bpmn:scriptTask>
79     <bpmn:scriptTask id="ScriptTask_1lpgn98" name="prepare NSST Info" scriptFormat="groovy">
80       <bpmn:incoming>SequenceFlow_0hxky5e</bpmn:incoming>
81       <bpmn:outgoing>SequenceFlow_19jztxv</bpmn:outgoing>
82       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
83 def dcnsio = new DoAllocateNSIandNSSI()
84 dcnsio.createNSSTMap(execution)</bpmn:script>
85     </bpmn:scriptTask>
86     <bpmn:endEvent id="EndEvent_1x6k78c">
87       <bpmn:incoming>SequenceFlow_0u8fycy</bpmn:incoming>
88     </bpmn:endEvent>
89     <bpmn:scriptTask id="finishNSCreate_Task" name="Get a NSSI to process" scriptFormat="groovy">
90       <bpmn:incoming>SequenceFlow_16nvnxi</bpmn:incoming>
91       <bpmn:outgoing>SequenceFlow_0cq2q6g</bpmn:outgoing>
92       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
93 def dcsi = new DoAllocateNSIandNSSI()
94 dcsi.getOneNSSIInfo(execution)</bpmn:script>
95     </bpmn:scriptTask>
96     <bpmn:exclusiveGateway id="ExclusiveGateway_07qkrrb" name="Is there more NSSI to process?" default="SequenceFlow_0u8fycy">
97       <bpmn:incoming>SequenceFlow_0g5bwvl</bpmn:incoming>
98       <bpmn:incoming>SequenceFlow_1jaxstd</bpmn:incoming>
99       <bpmn:outgoing>SequenceFlow_16nvnxi</bpmn:outgoing>
100       <bpmn:outgoing>SequenceFlow_0u8fycy</bpmn:outgoing>
101     </bpmn:exclusiveGateway>
102     <bpmn:callActivity id="CallActivity_130tuxn" name="Call DoAllocateNSSI" calledElement="DoAllocateNSSI">
103       <bpmn:extensionElements>
104         <camunda:in source="msoRequestId" target="msoRequestId" />
105         <camunda:out source="serviceDecomposition" target="serviceDecomposition" />
106         <camunda:out source="WorkflowException" target="WorkflowException" />
107         <camunda:in source="nsstInput" target="nsstInput" />
108         <camunda:in source="serviceProfile" target="serviceProfile" />
109         <camunda:in source="sliceProfileTn" target="sliceProfileTn" />
110         <camunda:in source="sliceProfileCn" target="sliceProfileCn" />
111         <camunda:in source="sliceProfileAn" target="sliceProfileAn" />
112         <camunda:in source="globalSubscriberId" target="globalSubscriberId" />
113         <camunda:in source="subscriptionServiceType" target="subscriptionServiceType" />
114         <camunda:in source="uuiRequest" target="uuiRequest" />
115         <camunda:in source="nsiServiceInstanceId" target="nsiServiceInstanceId" />
116         <camunda:in source="nsiServiceInstanceName" target="nsiServiceInstanceName" />
117         <camunda:in source="nssiserviceModelInfo" target="nssiserviceModelInfo" />
118         <camunda:in source="sliceTaskParams" target="sliceTaskParams" />
119         <camunda:in source="taskId" target="CSSOT_taskId" />
120         <camunda:in source="taskName" target="CSSOT_name" />
121         <camunda:in source="taskStatus" target="CSSOT_status" />
122         <camunda:in source="isManual" target="CSSOT_isManual" />
123         <camunda:in source="isNSIOptionAvailable" target="isNSIOptionAvailable" />
124       </bpmn:extensionElements>
125       <bpmn:incoming>SequenceFlow_0cq2q6g</bpmn:incoming>
126       <bpmn:outgoing>SequenceFlow_00b8ryw</bpmn:outgoing>
127     </bpmn:callActivity>
128     <bpmn:scriptTask id="ScriptTask_0anyn7v" name="Update current Index" scriptFormat="groovy">
129       <bpmn:incoming>SequenceFlow_00b8ryw</bpmn:incoming>
130       <bpmn:outgoing>SequenceFlow_1jaxstd</bpmn:outgoing>
131       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
132 def dcsi = new DoAllocateNSIandNSSI()
133 dcsi.updateCurrentIndex(execution)</bpmn:script>
134     </bpmn:scriptTask>
135     <bpmn:scriptTask id="instantiate_NSTask" name="Prepare NSSI list (with and without shared NSSI)" scriptFormat="groovy">
136       <bpmn:incoming>SequenceFlow_0uhaps2</bpmn:incoming>
137       <bpmn:incoming>SequenceFlow_04yx9ii</bpmn:incoming>
138       <bpmn:outgoing>SequenceFlow_0g5bwvl</bpmn:outgoing>
139       <bpmn:script>import org.onap.so.bpmn.infrastructure.scripts.*
140 def dcso = new DoAllocateNSIandNSSI()
141 dcso.prepareNSSIList(execution)</bpmn:script>
142     </bpmn:scriptTask>
143     <bpmn:exclusiveGateway id="ExclusiveGateway_1jg3el3" name="Is NSST available?" default="SequenceFlow_04yx9ii">
144       <bpmn:incoming>SequenceFlow_19jztxv</bpmn:incoming>
145       <bpmn:outgoing>SequenceFlow_04yx9ii</bpmn:outgoing>
146       <bpmn:outgoing>SequenceFlow_1ui528w</bpmn:outgoing>
147     </bpmn:exclusiveGateway>
148     <bpmn:sequenceFlow id="SequenceFlow_0uhaps2" sourceRef="ScriptTask_1q3ftu4" targetRef="instantiate_NSTask" />
149     <bpmn:sequenceFlow id="SequenceFlow_1e40h52" sourceRef="CallActivity_1s23hty" targetRef="Task_09nzhwk" />
150     <bpmn:sequenceFlow id="SequenceFlow_0xfhbqw" sourceRef="ScriptTask_1ehyrsg" targetRef="ScriptTask_1q3ftu4" />
151     <bpmn:sequenceFlow id="SequenceFlow_0dj0jvq" sourceRef="ScriptTask_0o93dvp" targetRef="ExclusiveGateway_0b9d9l0" />
152     <bpmn:sequenceFlow id="SequenceFlow_0ueeeca" name="Yes" sourceRef="ExclusiveGateway_0b9d9l0" targetRef="ScriptTask_1ehyrsg">
153       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{(execution.getVariable("isNSIOptionAvailable" )  == true)}</bpmn:conditionExpression>
154     </bpmn:sequenceFlow>
155     <bpmn:sequenceFlow id="SequenceFlow_1h5bw41" name="No" sourceRef="ExclusiveGateway_0b9d9l0" targetRef="CallActivity_1s23hty" />
156     <bpmn:sequenceFlow id="SequenceFlow_1uiz85h" sourceRef="Task_09nzhwk" targetRef="ScriptTask_0gunols" />
157     <bpmn:sequenceFlow id="SequenceFlow_1qo2pln" sourceRef="allocateslice_StartEvent" targetRef="PreprocessIncomingRequest_task" />
158     <bpmn:sequenceFlow id="SequenceFlow_0khtova" sourceRef="PreprocessIncomingRequest_task" targetRef="ScriptTask_0o93dvp" />
159     <bpmn:sequenceFlow id="SequenceFlow_0g5bwvl" sourceRef="instantiate_NSTask" targetRef="ExclusiveGateway_07qkrrb" />
160     <bpmn:sequenceFlow id="SequenceFlow_0hxky5e" sourceRef="CallActivity_1k1oonn" targetRef="ScriptTask_1lpgn98" />
161     <bpmn:sequenceFlow id="SequenceFlow_1dhpkhd" sourceRef="ScriptTask_0gunols" targetRef="CallActivity_1k1oonn" />
162     <bpmn:sequenceFlow id="SequenceFlow_19jztxv" sourceRef="ScriptTask_1lpgn98" targetRef="ExclusiveGateway_1jg3el3" />
163     <bpmn:sequenceFlow id="SequenceFlow_0u8fycy" name="No" sourceRef="ExclusiveGateway_07qkrrb" targetRef="EndEvent_1x6k78c" />
164     <bpmn:sequenceFlow id="SequenceFlow_16nvnxi" name="Yes" sourceRef="ExclusiveGateway_07qkrrb" targetRef="finishNSCreate_Task">
165       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{(execution.getVariable("isMoreNSSI" )  == true)}</bpmn:conditionExpression>
166     </bpmn:sequenceFlow>
167     <bpmn:sequenceFlow id="SequenceFlow_0cq2q6g" sourceRef="finishNSCreate_Task" targetRef="CallActivity_130tuxn" />
168     <bpmn:sequenceFlow id="SequenceFlow_1jaxstd" sourceRef="ScriptTask_0anyn7v" targetRef="ExclusiveGateway_07qkrrb" />
169     <bpmn:sequenceFlow id="SequenceFlow_00b8ryw" sourceRef="CallActivity_130tuxn" targetRef="ScriptTask_0anyn7v" />
170     <bpmn:sequenceFlow id="SequenceFlow_04yx9ii" name="No" sourceRef="ExclusiveGateway_1jg3el3" targetRef="instantiate_NSTask" />
171     <bpmn:sequenceFlow id="SequenceFlow_1ui528w" sourceRef="ExclusiveGateway_1jg3el3" targetRef="ScriptTask_0gunols">
172       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{(execution.getVariable("isMoreNSSTtoProcess" )  == true)}</bpmn:conditionExpression>
173     </bpmn:sequenceFlow>
174   </bpmn:process>
175   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
176     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="DoAllocateNSIandNSSI">
177       <bpmndi:BPMNEdge id="SequenceFlow_0uhaps2_di" bpmnElement="SequenceFlow_0uhaps2">
178         <di:waypoint x="978" y="350" />
179         <di:waypoint x="1736" y="350" />
180         <di:waypoint x="1736" y="487" />
181       </bpmndi:BPMNEdge>
182       <bpmndi:BPMNEdge id="SequenceFlow_1e40h52_di" bpmnElement="SequenceFlow_1e40h52">
183         <di:waypoint x="799" y="527" />
184         <di:waypoint x="878" y="527" />
185       </bpmndi:BPMNEdge>
186       <bpmndi:BPMNEdge id="SequenceFlow_0xfhbqw_di" bpmnElement="SequenceFlow_0xfhbqw">
187         <di:waypoint x="799" y="350" />
188         <di:waypoint x="878" y="350" />
189       </bpmndi:BPMNEdge>
190       <bpmndi:BPMNEdge id="SequenceFlow_0dj0jvq_di" bpmnElement="SequenceFlow_0dj0jvq">
191         <di:waypoint x="520" y="527" />
192         <di:waypoint x="583" y="527" />
193       </bpmndi:BPMNEdge>
194       <bpmndi:BPMNEdge id="SequenceFlow_0ueeeca_di" bpmnElement="SequenceFlow_0ueeeca">
195         <di:waypoint x="608" y="502" />
196         <di:waypoint x="608" y="350" />
197         <di:waypoint x="699" y="350" />
198         <bpmndi:BPMNLabel>
199           <dc:Bounds x="584" y="422" width="19" height="14" />
200         </bpmndi:BPMNLabel>
201       </bpmndi:BPMNEdge>
202       <bpmndi:BPMNEdge id="SequenceFlow_1h5bw41_di" bpmnElement="SequenceFlow_1h5bw41">
203         <di:waypoint x="633" y="527" />
204         <di:waypoint x="699" y="527" />
205         <bpmndi:BPMNLabel>
206           <dc:Bounds x="630" y="509" width="14" height="14" />
207         </bpmndi:BPMNLabel>
208       </bpmndi:BPMNEdge>
209       <bpmndi:BPMNEdge id="SequenceFlow_1uiz85h_di" bpmnElement="SequenceFlow_1uiz85h">
210         <di:waypoint x="978" y="527" />
211         <di:waypoint x="1036" y="527" />
212         <bpmndi:BPMNLabel>
213           <dc:Bounds x="631" y="108" width="0" height="12" />
214         </bpmndi:BPMNLabel>
215       </bpmndi:BPMNEdge>
216       <bpmndi:BPMNEdge id="SequenceFlow_1qo2pln_di" bpmnElement="SequenceFlow_1qo2pln">
217         <di:waypoint x="210" y="527" />
218         <di:waypoint x="268" y="527" />
219         <bpmndi:BPMNLabel>
220           <dc:Bounds x="266" y="123" width="0" height="12" />
221         </bpmndi:BPMNLabel>
222       </bpmndi:BPMNEdge>
223       <bpmndi:BPMNEdge id="SequenceFlow_0khtova_di" bpmnElement="SequenceFlow_0khtova">
224         <di:waypoint x="368" y="527" />
225         <di:waypoint x="420" y="527" />
226         <bpmndi:BPMNLabel>
227           <dc:Bounds x="436" y="108" width="0" height="12" />
228         </bpmndi:BPMNLabel>
229       </bpmndi:BPMNEdge>
230       <bpmndi:BPMNEdge id="SequenceFlow_0g5bwvl_di" bpmnElement="SequenceFlow_0g5bwvl">
231         <di:waypoint x="1786" y="527" />
232         <di:waypoint x="1871" y="527" />
233       </bpmndi:BPMNEdge>
234       <bpmndi:BPMNEdge id="SequenceFlow_0hxky5e_di" bpmnElement="SequenceFlow_0hxky5e">
235         <di:waypoint x="1300" y="527" />
236         <di:waypoint x="1388" y="527" />
237       </bpmndi:BPMNEdge>
238       <bpmndi:BPMNEdge id="SequenceFlow_1dhpkhd_di" bpmnElement="SequenceFlow_1dhpkhd">
239         <di:waypoint x="1136" y="527" />
240         <di:waypoint x="1200" y="527" />
241       </bpmndi:BPMNEdge>
242       <bpmndi:BPMNEdge id="SequenceFlow_19jztxv_di" bpmnElement="SequenceFlow_19jztxv">
243         <di:waypoint x="1488" y="527" />
244         <di:waypoint x="1564" y="527" />
245       </bpmndi:BPMNEdge>
246       <bpmndi:BPMNEdge id="SequenceFlow_0u8fycy_di" bpmnElement="SequenceFlow_0u8fycy">
247         <di:waypoint x="1896" y="502" />
248         <di:waypoint x="1896" y="409" />
249         <bpmndi:BPMNLabel>
250           <dc:Bounds x="1904" y="453" width="14" height="14" />
251         </bpmndi:BPMNLabel>
252       </bpmndi:BPMNEdge>
253       <bpmndi:BPMNEdge id="SequenceFlow_16nvnxi_di" bpmnElement="SequenceFlow_16nvnxi">
254         <di:waypoint x="1921" y="527" />
255         <di:waypoint x="1991" y="527" />
256         <bpmndi:BPMNLabel>
257           <dc:Bounds x="1942" y="500" width="19" height="14" />
258         </bpmndi:BPMNLabel>
259       </bpmndi:BPMNEdge>
260       <bpmndi:BPMNEdge id="SequenceFlow_0cq2q6g_di" bpmnElement="SequenceFlow_0cq2q6g">
261         <di:waypoint x="2091" y="527" />
262         <di:waypoint x="2197" y="527" />
263         <bpmndi:BPMNLabel>
264           <dc:Bounds x="556.5" y="574" width="90" height="12" />
265         </bpmndi:BPMNLabel>
266       </bpmndi:BPMNEdge>
267       <bpmndi:BPMNEdge id="SequenceFlow_1jaxstd_di" bpmnElement="SequenceFlow_1jaxstd">
268         <di:waypoint x="1991" y="665" />
269         <di:waypoint x="1896" y="665" />
270         <di:waypoint x="1896" y="552" />
271       </bpmndi:BPMNEdge>
272       <bpmndi:BPMNEdge id="SequenceFlow_00b8ryw_di" bpmnElement="SequenceFlow_00b8ryw">
273         <di:waypoint x="2247" y="567" />
274         <di:waypoint x="2247" y="665" />
275         <di:waypoint x="2091" y="665" />
276       </bpmndi:BPMNEdge>
277       <bpmndi:BPMNEdge id="SequenceFlow_04yx9ii_di" bpmnElement="SequenceFlow_04yx9ii">
278         <di:waypoint x="1614" y="527" />
279         <di:waypoint x="1686" y="527" />
280         <bpmndi:BPMNLabel>
281           <dc:Bounds x="1643" y="509" width="14" height="14" />
282         </bpmndi:BPMNLabel>
283       </bpmndi:BPMNEdge>
284       <bpmndi:BPMNEdge id="SequenceFlow_1ui528w_di" bpmnElement="SequenceFlow_1ui528w">
285         <di:waypoint x="1589" y="552" />
286         <di:waypoint x="1589" y="671" />
287         <di:waypoint x="1086" y="671" />
288         <di:waypoint x="1086" y="567" />
289       </bpmndi:BPMNEdge>
290       <bpmndi:BPMNShape id="ScriptTask_1dw39hg_di" bpmnElement="Task_09nzhwk">
291         <dc:Bounds x="878" y="487" width="100" height="80" />
292       </bpmndi:BPMNShape>
293       <bpmndi:BPMNShape id="ExclusiveGateway_0b9d9l0_di" bpmnElement="ExclusiveGateway_0b9d9l0" isMarkerVisible="true">
294         <dc:Bounds x="583" y="502" width="50" height="50" />
295         <bpmndi:BPMNLabel>
296           <dc:Bounds x="578" y="559" width="60" height="27" />
297         </bpmndi:BPMNLabel>
298       </bpmndi:BPMNShape>
299       <bpmndi:BPMNShape id="ScriptTask_1ehyrsg_di" bpmnElement="ScriptTask_1ehyrsg">
300         <dc:Bounds x="699" y="310" width="100" height="80" />
301       </bpmndi:BPMNShape>
302       <bpmndi:BPMNShape id="CallActivity_1s23hty_di" bpmnElement="CallActivity_1s23hty">
303         <dc:Bounds x="699" y="487" width="100" height="80" />
304       </bpmndi:BPMNShape>
305       <bpmndi:BPMNShape id="ScriptTask_1q3ftu4_di" bpmnElement="ScriptTask_1q3ftu4">
306         <dc:Bounds x="878" y="310" width="100" height="80" />
307       </bpmndi:BPMNShape>
308       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="allocateslice_StartEvent">
309         <dc:Bounds x="174" y="509" width="36" height="36" />
310         <bpmndi:BPMNLabel>
311           <dc:Bounds x="152" y="545" width="82" height="27" />
312         </bpmndi:BPMNLabel>
313       </bpmndi:BPMNShape>
314       <bpmndi:BPMNShape id="ScriptTask_03j6ogo_di" bpmnElement="PreprocessIncomingRequest_task">
315         <dc:Bounds x="268" y="487" width="100" height="80" />
316       </bpmndi:BPMNShape>
317       <bpmndi:BPMNShape id="ScriptTask_0o93dvp_di" bpmnElement="ScriptTask_0o93dvp">
318         <dc:Bounds x="420" y="487" width="100" height="80" />
319       </bpmndi:BPMNShape>
320       <bpmndi:BPMNShape id="CallActivity_1k1oonn_di" bpmnElement="CallActivity_1k1oonn">
321         <dc:Bounds x="1200" y="487" width="100" height="80" />
322       </bpmndi:BPMNShape>
323       <bpmndi:BPMNShape id="ScriptTask_0gunols_di" bpmnElement="ScriptTask_0gunols">
324         <dc:Bounds x="1036" y="487" width="100" height="80" />
325       </bpmndi:BPMNShape>
326       <bpmndi:BPMNShape id="ScriptTask_1lpgn98_di" bpmnElement="ScriptTask_1lpgn98">
327         <dc:Bounds x="1388" y="487" width="100" height="80" />
328       </bpmndi:BPMNShape>
329       <bpmndi:BPMNShape id="EndEvent_15pcuuc_di" bpmnElement="EndEvent_1x6k78c">
330         <dc:Bounds x="1878" y="373" width="36" height="36" />
331         <bpmndi:BPMNLabel>
332           <dc:Bounds x="412" y="617" width="90" height="12" />
333         </bpmndi:BPMNLabel>
334       </bpmndi:BPMNShape>
335       <bpmndi:BPMNShape id="ScriptTask_0xxyfku_di" bpmnElement="finishNSCreate_Task">
336         <dc:Bounds x="1991" y="487" width="100" height="80" />
337       </bpmndi:BPMNShape>
338       <bpmndi:BPMNShape id="ExclusiveGateway_07qkrrb_di" bpmnElement="ExclusiveGateway_07qkrrb" isMarkerVisible="true">
339         <dc:Bounds x="1871" y="502" width="50" height="50" />
340         <bpmndi:BPMNLabel>
341           <dc:Bounds x="1853" y="575" width="86" height="27" />
342         </bpmndi:BPMNLabel>
343       </bpmndi:BPMNShape>
344       <bpmndi:BPMNShape id="CallActivity_130tuxn_di" bpmnElement="CallActivity_130tuxn">
345         <dc:Bounds x="2197" y="487" width="100" height="80" />
346       </bpmndi:BPMNShape>
347       <bpmndi:BPMNShape id="ScriptTask_0anyn7v_di" bpmnElement="ScriptTask_0anyn7v">
348         <dc:Bounds x="1991" y="625" width="100" height="80" />
349       </bpmndi:BPMNShape>
350       <bpmndi:BPMNShape id="ScriptTask_1qmmew8_di" bpmnElement="instantiate_NSTask">
351         <dc:Bounds x="1686" y="487" width="100" height="80" />
352       </bpmndi:BPMNShape>
353       <bpmndi:BPMNShape id="ExclusiveGateway_1jg3el3_di" bpmnElement="ExclusiveGateway_1jg3el3" isMarkerVisible="true">
354         <dc:Bounds x="1564" y="502" width="50" height="50" />
355         <bpmndi:BPMNLabel>
356           <dc:Bounds x="1564" y="465" width="50" height="27" />
357         </bpmndi:BPMNLabel>
358       </bpmndi:BPMNShape>
359     </bpmndi:BPMNPlane>
360   </bpmndi:BPMNDiagram>
361 </bpmn:definitions>