Merge "Updated error handling of BPMN sub flows"
[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.10.0">
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;Assign&#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_07ea5ui</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:sequenceFlow id="SequenceFlow_07ea5ui" sourceRef="Task_AssignServiceInstance" targetRef="Task_UpdateServiceOstatusToAssigned" />
27     <bpmn:endEvent id="End_AssignServiceInstanceBB">
28       <bpmn:incoming>SequenceFlow_14xl505</bpmn:incoming>
29     </bpmn:endEvent>
30     <bpmn:sequenceFlow id="SequenceFlow_14xl505" sourceRef="Task_UpdateServiceOstatusToAssigned" targetRef="End_AssignServiceInstanceBB" />
31     <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;)))}">
32       <bpmn:incoming>SequenceFlow_07ea5ui</bpmn:incoming>
33       <bpmn:outgoing>SequenceFlow_14xl505</bpmn:outgoing>
34     </bpmn:serviceTask>
35     <bpmn:sequenceFlow id="SequenceFlow_1h6t7yr" sourceRef="Task_CreateServiceSubscription" targetRef="Task_CreateServiceInstance" />
36     <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;)))}">
37       <bpmn:incoming>SequenceFlow_1xr6chl</bpmn:incoming>
38       <bpmn:outgoing>SequenceFlow_1h6t7yr</bpmn:outgoing>
39     </bpmn:serviceTask>
40     <bpmn:sequenceFlow id="SequenceFlow_0aef1l8" sourceRef="Task_CreateOwningEntity" targetRef="Task_AssignServiceInstance" />
41   </bpmn:process>
42   <bpmn:error id="Error_02g61p6" name="gDelegateError" errorCode="7000" />
43   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
44     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="AssignServiceInstanceBB">
45       <bpmndi:BPMNShape id="StartEvent_0kxwniy_di" bpmnElement="Start_AssignServiceInstanceBB">
46         <dc:Bounds x="68" y="90" width="36" height="36" />
47         <bpmndi:BPMNLabel>
48           <dc:Bounds x="75" y="126" width="23" height="12" />
49         </bpmndi:BPMNLabel>
50       </bpmndi:BPMNShape>
51       <bpmndi:BPMNShape id="ServiceTask_0028k7a_di" bpmnElement="Task_CreateServiceInstance">
52         <dc:Bounds x="290" y="68" width="100" height="80" />
53       </bpmndi:BPMNShape>
54       <bpmndi:BPMNShape id="ServiceTask_0oh47a9_di" bpmnElement="Task_CreateProject">
55         <dc:Bounds x="431" y="68" width="100" height="80" />
56       </bpmndi:BPMNShape>
57       <bpmndi:BPMNShape id="ServiceTask_06hn530_di" bpmnElement="Task_CreateOwningEntity">
58         <dc:Bounds x="577" y="68" width="100" height="80" />
59       </bpmndi:BPMNShape>
60       <bpmndi:BPMNShape id="ServiceTask_13t22km_di" bpmnElement="Task_AssignServiceInstance">
61         <dc:Bounds x="719" y="68" width="100" height="80" />
62       </bpmndi:BPMNShape>
63       <bpmndi:BPMNEdge id="SequenceFlow_1xr6chl_di" bpmnElement="SequenceFlow_1xr6chl">
64         <di:waypoint xsi:type="dc:Point" x="104" y="108" />
65         <di:waypoint xsi:type="dc:Point" x="153" y="108" />
66         <bpmndi:BPMNLabel>
67           <dc:Bounds x="83.5" y="87" width="90" height="12" />
68         </bpmndi:BPMNLabel>
69       </bpmndi:BPMNEdge>
70       <bpmndi:BPMNEdge id="SequenceFlow_0czewtx_di" bpmnElement="SequenceFlow_0czewtx">
71         <di:waypoint xsi:type="dc:Point" x="390" y="108" />
72         <di:waypoint xsi:type="dc:Point" x="431" y="108" />
73         <bpmndi:BPMNLabel>
74           <dc:Bounds x="322" y="87" width="90" height="12" />
75         </bpmndi:BPMNLabel>
76       </bpmndi:BPMNEdge>
77       <bpmndi:BPMNEdge id="SequenceFlow_1t55i01_di" bpmnElement="SequenceFlow_1t55i01">
78         <di:waypoint xsi:type="dc:Point" x="531" y="108" />
79         <di:waypoint xsi:type="dc:Point" x="577" y="108" />
80         <bpmndi:BPMNLabel>
81           <dc:Bounds x="464" y="87" width="90" height="12" />
82         </bpmndi:BPMNLabel>
83       </bpmndi:BPMNEdge>
84       <bpmndi:BPMNEdge id="SequenceFlow_07ea5ui_di" bpmnElement="SequenceFlow_07ea5ui">
85         <di:waypoint xsi:type="dc:Point" x="819" y="108" />
86         <di:waypoint xsi:type="dc:Point" x="869" y="108" />
87         <bpmndi:BPMNLabel>
88           <dc:Bounds x="799" y="87" width="90" height="12" />
89         </bpmndi:BPMNLabel>
90       </bpmndi:BPMNEdge>
91       <bpmndi:BPMNShape id="EndEvent_0qdq7wj_di" bpmnElement="End_AssignServiceInstanceBB">
92         <dc:Bounds x="1030" y="90" width="36" height="36" />
93         <bpmndi:BPMNLabel>
94           <dc:Bounds x="1039" y="130" width="18" height="12" />
95         </bpmndi:BPMNLabel>
96       </bpmndi:BPMNShape>
97       <bpmndi:BPMNEdge id="SequenceFlow_14xl505_di" bpmnElement="SequenceFlow_14xl505">
98         <di:waypoint xsi:type="dc:Point" x="969" y="108" />
99         <di:waypoint xsi:type="dc:Point" x="1030" y="108" />
100         <bpmndi:BPMNLabel>
101           <dc:Bounds x="954.5" y="87" width="90" height="12" />
102         </bpmndi:BPMNLabel>
103       </bpmndi:BPMNEdge>
104       <bpmndi:BPMNShape id="ServiceTask_1dgenhy_di" bpmnElement="Task_UpdateServiceOstatusToAssigned">
105         <dc:Bounds x="869" y="68" width="100" height="80" />
106       </bpmndi:BPMNShape>
107       <bpmndi:BPMNEdge id="SequenceFlow_1h6t7yr_di" bpmnElement="SequenceFlow_1h6t7yr">
108         <di:waypoint xsi:type="dc:Point" x="253" y="108" />
109         <di:waypoint xsi:type="dc:Point" x="290" y="108" />
110         <bpmndi:BPMNLabel>
111           <dc:Bounds x="227" y="87" width="90" height="12" />
112         </bpmndi:BPMNLabel>
113       </bpmndi:BPMNEdge>
114       <bpmndi:BPMNShape id="ServiceTask_09fq3rp_di" bpmnElement="Task_CreateServiceSubscription">
115         <dc:Bounds x="153" y="68" width="100" height="80" />
116       </bpmndi:BPMNShape>
117       <bpmndi:BPMNEdge id="SequenceFlow_0aef1l8_di" bpmnElement="SequenceFlow_0aef1l8">
118         <di:waypoint xsi:type="dc:Point" x="677" y="108" />
119         <di:waypoint xsi:type="dc:Point" x="719" y="108" />
120         <bpmndi:BPMNLabel>
121           <dc:Bounds x="653" y="87" width="90" height="12" />
122         </bpmndi:BPMNLabel>
123       </bpmndi:BPMNEdge>
124     </bpmndi:BPMNPlane>
125   </bpmndi:BPMNDiagram>
126 </bpmn:definitions>