Merge "added check for null object"
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / AssignServiceInstanceBB.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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.8.2">
3   <bpmn:process id="AssignServiceInstanceBB" name="AssignServiceInstanceBB" isExecutable="true">
4     <bpmn:startEvent id="Start_AssignServiceInstanceBB">
5       <bpmn:outgoing>SequenceFlow_1xr6chl</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:serviceTask id="Task_CreateServiceInstance" name="&#10;AAI&#10;Create&#10;(svc instance)&#10;" camunda:expression="${AAICreateTasks.createServiceInstance(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
8       <bpmn:incoming>SequenceFlow_1h6t7yr</bpmn:incoming>
9       <bpmn:outgoing>SequenceFlow_0czewtx</bpmn:outgoing>
10     </bpmn:serviceTask>
11     <bpmn:serviceTask id="Task_CreateProject" name="&#10;AAI&#10;Create&#10;(project)&#10;" camunda:expression="${AAICreateTasks.createProject(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
12       <bpmn:incoming>SequenceFlow_0czewtx</bpmn:incoming>
13       <bpmn:outgoing>SequenceFlow_1t55i01</bpmn:outgoing>
14     </bpmn:serviceTask>
15     <bpmn:serviceTask id="Task_CreateOwningEntity" name="&#10;AAI&#10;Create&#10;(owning entity)&#10;" camunda:expression="${AAICreateTasks.createOwningEntity(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
16       <bpmn:incoming>SequenceFlow_1t55i01</bpmn:incoming>
17       <bpmn:outgoing>SequenceFlow_0aef1l8</bpmn:outgoing>
18     </bpmn:serviceTask>
19     <bpmn:serviceTask id="Task_AssignServiceInstance" name="&#10;SDNC&#10;Create Assign Request&#10;(svc instance)&#10;" camunda:expression="${SDNCAssignTasks.assignServiceInstance(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
20       <bpmn:incoming>SequenceFlow_0aef1l8</bpmn:incoming>
21       <bpmn:outgoing>SequenceFlow_1vmf5yv</bpmn:outgoing>
22     </bpmn:serviceTask>
23     <bpmn:sequenceFlow id="SequenceFlow_1xr6chl" sourceRef="Start_AssignServiceInstanceBB" targetRef="Task_CreateServiceSubscription" />
24     <bpmn:sequenceFlow id="SequenceFlow_0czewtx" sourceRef="Task_CreateServiceInstance" targetRef="Task_CreateProject" />
25     <bpmn:sequenceFlow id="SequenceFlow_1t55i01" sourceRef="Task_CreateProject" targetRef="Task_CreateOwningEntity" />
26     <bpmn:endEvent id="End_AssignServiceInstanceBB">
27       <bpmn:incoming>SequenceFlow_14xl505</bpmn:incoming>
28     </bpmn:endEvent>
29     <bpmn:sequenceFlow id="SequenceFlow_14xl505" sourceRef="Task_UpdateServiceOstatusToAssigned" targetRef="End_AssignServiceInstanceBB" />
30     <bpmn:serviceTask id="Task_UpdateServiceOstatusToAssigned" name="&#10;AAI&#10;Update&#10;(svc instance)&#10;" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatusAssignedService(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
31       <bpmn:incoming>SequenceFlow_0c6u1cp</bpmn:incoming>
32       <bpmn:outgoing>SequenceFlow_14xl505</bpmn:outgoing>
33     </bpmn:serviceTask>
34     <bpmn:sequenceFlow id="SequenceFlow_1h6t7yr" sourceRef="Task_CreateServiceSubscription" targetRef="Task_CreateServiceInstance" />
35     <bpmn:serviceTask id="Task_CreateServiceSubscription" name="&#10;AAI&#10;Create&#10;(svc subscrip)&#10;" camunda:expression="${AAICreateTasks.createServiceSubscription(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
36       <bpmn:incoming>SequenceFlow_1xr6chl</bpmn:incoming>
37       <bpmn:outgoing>SequenceFlow_1h6t7yr</bpmn:outgoing>
38     </bpmn:serviceTask>
39     <bpmn:sequenceFlow id="SequenceFlow_0aef1l8" sourceRef="Task_CreateOwningEntity" targetRef="Task_AssignServiceInstance" />
40     <bpmn:callActivity id="CallActivity_sdncHandler" name="SDNC Assign (svc instance)" calledElement="SDNCHandler">
41       <bpmn:extensionElements>
42         <camunda:in source="SDNCRequest" target="SDNCRequest" />
43         <camunda:out source="SDNCResponse" target="SDNCResponse" />
44       </bpmn:extensionElements>
45       <bpmn:incoming>SequenceFlow_1vmf5yv</bpmn:incoming>
46       <bpmn:outgoing>SequenceFlow_0c6u1cp</bpmn:outgoing>
47     </bpmn:callActivity>
48     <bpmn:sequenceFlow id="SequenceFlow_1vmf5yv" sourceRef="Task_AssignServiceInstance" targetRef="CallActivity_sdncHandler" />
49     <bpmn:sequenceFlow id="SequenceFlow_0c6u1cp" sourceRef="CallActivity_sdncHandler" targetRef="Task_UpdateServiceOstatusToAssigned" />
50   </bpmn:process>
51   <bpmn:error id="Error_02g61p6" name="gDelegateError" errorCode="7000" />
52   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
53     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="AssignServiceInstanceBB">
54       <bpmndi:BPMNShape id="StartEvent_0kxwniy_di" bpmnElement="Start_AssignServiceInstanceBB">
55         <dc:Bounds x="68" y="90" width="36" height="36" />
56         <bpmndi:BPMNLabel>
57           <dc:Bounds x="75" y="126" width="23" height="12" />
58         </bpmndi:BPMNLabel>
59       </bpmndi:BPMNShape>
60       <bpmndi:BPMNShape id="ServiceTask_0028k7a_di" bpmnElement="Task_CreateServiceInstance">
61         <dc:Bounds x="290" y="68" width="100" height="80" />
62       </bpmndi:BPMNShape>
63       <bpmndi:BPMNShape id="ServiceTask_0oh47a9_di" bpmnElement="Task_CreateProject">
64         <dc:Bounds x="431" y="68" width="100" height="80" />
65       </bpmndi:BPMNShape>
66       <bpmndi:BPMNShape id="ServiceTask_06hn530_di" bpmnElement="Task_CreateOwningEntity">
67         <dc:Bounds x="577" y="68" width="100" height="80" />
68       </bpmndi:BPMNShape>
69       <bpmndi:BPMNShape id="ServiceTask_13t22km_di" bpmnElement="Task_AssignServiceInstance">
70         <dc:Bounds x="719" y="68" width="100" height="80" />
71       </bpmndi:BPMNShape>
72       <bpmndi:BPMNEdge id="SequenceFlow_1xr6chl_di" bpmnElement="SequenceFlow_1xr6chl">
73         <di:waypoint xsi:type="dc:Point" x="104" y="108" />
74         <di:waypoint xsi:type="dc:Point" x="153" y="108" />
75         <bpmndi:BPMNLabel>
76           <dc:Bounds x="83.5" y="87" width="90" height="12" />
77         </bpmndi:BPMNLabel>
78       </bpmndi:BPMNEdge>
79       <bpmndi:BPMNEdge id="SequenceFlow_0czewtx_di" bpmnElement="SequenceFlow_0czewtx">
80         <di:waypoint xsi:type="dc:Point" x="390" y="108" />
81         <di:waypoint xsi:type="dc:Point" x="431" y="108" />
82         <bpmndi:BPMNLabel>
83           <dc:Bounds x="322" y="87" width="90" height="12" />
84         </bpmndi:BPMNLabel>
85       </bpmndi:BPMNEdge>
86       <bpmndi:BPMNEdge id="SequenceFlow_1t55i01_di" bpmnElement="SequenceFlow_1t55i01">
87         <di:waypoint xsi:type="dc:Point" x="531" y="108" />
88         <di:waypoint xsi:type="dc:Point" x="577" y="108" />
89         <bpmndi:BPMNLabel>
90           <dc:Bounds x="464" y="87" width="90" height="12" />
91         </bpmndi:BPMNLabel>
92       </bpmndi:BPMNEdge>
93       <bpmndi:BPMNShape id="EndEvent_0qdq7wj_di" bpmnElement="End_AssignServiceInstanceBB">
94         <dc:Bounds x="1150" y="90" width="36" height="36" />
95         <bpmndi:BPMNLabel>
96           <dc:Bounds x="1123" y="130" width="90" height="12" />
97         </bpmndi:BPMNLabel>
98       </bpmndi:BPMNShape>
99       <bpmndi:BPMNEdge id="SequenceFlow_14xl505_di" bpmnElement="SequenceFlow_14xl505">
100         <di:waypoint xsi:type="dc:Point" x="1104" y="108" />
101         <di:waypoint xsi:type="dc:Point" x="1150" y="108" />
102         <bpmndi:BPMNLabel>
103           <dc:Bounds x="1082" y="87" width="90" height="12" />
104         </bpmndi:BPMNLabel>
105       </bpmndi:BPMNEdge>
106       <bpmndi:BPMNShape id="ServiceTask_1dgenhy_di" bpmnElement="Task_UpdateServiceOstatusToAssigned">
107         <dc:Bounds x="1004" y="68" width="100" height="80" />
108       </bpmndi:BPMNShape>
109       <bpmndi:BPMNEdge id="SequenceFlow_1h6t7yr_di" bpmnElement="SequenceFlow_1h6t7yr">
110         <di:waypoint xsi:type="dc:Point" x="253" y="108" />
111         <di:waypoint xsi:type="dc:Point" x="290" y="108" />
112         <bpmndi:BPMNLabel>
113           <dc:Bounds x="227" y="87" width="90" height="12" />
114         </bpmndi:BPMNLabel>
115       </bpmndi:BPMNEdge>
116       <bpmndi:BPMNShape id="ServiceTask_09fq3rp_di" bpmnElement="Task_CreateServiceSubscription">
117         <dc:Bounds x="153" y="68" width="100" height="80" />
118       </bpmndi:BPMNShape>
119       <bpmndi:BPMNEdge id="SequenceFlow_0aef1l8_di" bpmnElement="SequenceFlow_0aef1l8">
120         <di:waypoint xsi:type="dc:Point" x="677" y="108" />
121         <di:waypoint xsi:type="dc:Point" x="719" y="108" />
122         <bpmndi:BPMNLabel>
123           <dc:Bounds x="653" y="87" width="90" height="12" />
124         </bpmndi:BPMNLabel>
125       </bpmndi:BPMNEdge>
126       <bpmndi:BPMNShape id="CallActivity_037c9st_di" bpmnElement="CallActivity_sdncHandler">
127         <dc:Bounds x="862" y="68" width="100" height="80" />
128       </bpmndi:BPMNShape>
129       <bpmndi:BPMNEdge id="SequenceFlow_1vmf5yv_di" bpmnElement="SequenceFlow_1vmf5yv">
130         <di:waypoint xsi:type="dc:Point" x="819" y="108" />
131         <di:waypoint xsi:type="dc:Point" x="862" y="108" />
132         <bpmndi:BPMNLabel>
133           <dc:Bounds x="840.5" y="87" width="0" height="12" />
134         </bpmndi:BPMNLabel>
135       </bpmndi:BPMNEdge>
136       <bpmndi:BPMNEdge id="SequenceFlow_0c6u1cp_di" bpmnElement="SequenceFlow_0c6u1cp">
137         <di:waypoint xsi:type="dc:Point" x="962" y="108" />
138         <di:waypoint xsi:type="dc:Point" x="1004" y="108" />
139         <bpmndi:BPMNLabel>
140           <dc:Bounds x="983" y="87" width="0" height="12" />
141         </bpmndi:BPMNLabel>
142       </bpmndi:BPMNEdge>
143     </bpmndi:BPMNPlane>
144   </bpmndi:BPMNDiagram>
145 </bpmn:definitions>