Merge "Issue-ID: SO-2966 optimization in git clone using --depth"
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / ControllerExecutionBB.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_1ahlzqg" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.14.0">
3   <bpmn:process id="ControllerExecutionBB" name="ControllerExecutionBB" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1">
5       <bpmn:outgoing>SequenceFlow_0gmfit3</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:sequenceFlow id="SequenceFlow_0gmfit3" sourceRef="StartEvent_1" targetRef="ServiceTask_0inxg9l" />
8     <bpmn:endEvent id="EndEvent_0lgvk82">
9       <bpmn:incoming>SequenceFlow_1mkhog2</bpmn:incoming>
10       <bpmn:incoming>SequenceFlow_0no1qag</bpmn:incoming>
11     </bpmn:endEvent>
12     <bpmn:sequenceFlow id="SequenceFlow_1mkhog2" sourceRef="Task_1hs1mn0" targetRef="EndEvent_0lgvk82" />
13     <bpmn:serviceTask id="Task_1hs1mn0" name="Update AAI" camunda:expression="${AAIUpdateTasks.updateOrchestrationStatus(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)), execution.getVariable(&#34;scope&#34;), execution.getVariable(&#34;action&#34;))}">
14       <bpmn:incoming>SequenceFlow_07tqu82</bpmn:incoming>
15       <bpmn:outgoing>SequenceFlow_1mkhog2</bpmn:outgoing>
16     </bpmn:serviceTask>
17     <bpmn:sequenceFlow id="SequenceFlow_05qembo" sourceRef="Task_0bhf6tp" targetRef="ExclusiveGateway_13q340y" />
18     <bpmn:serviceTask id="Task_0bhf6tp" name="Call ControllerExecutionBB" camunda:expression="${ControllerExecutionBB.execute(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
19       <bpmn:incoming>SequenceFlow_0vzx2yr</bpmn:incoming>
20       <bpmn:outgoing>SequenceFlow_05qembo</bpmn:outgoing>
21     </bpmn:serviceTask>
22     <bpmn:exclusiveGateway id="ExclusiveGateway_13q340y" default="SequenceFlow_15gxql1">
23       <bpmn:incoming>SequenceFlow_05qembo</bpmn:incoming>
24       <bpmn:outgoing>SequenceFlow_07tqu82</bpmn:outgoing>
25       <bpmn:outgoing>SequenceFlow_15gxql1</bpmn:outgoing>
26     </bpmn:exclusiveGateway>
27     <bpmn:sequenceFlow id="SequenceFlow_07tqu82" name="success" sourceRef="ExclusiveGateway_13q340y" targetRef="Task_1hs1mn0">
28       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("ControllerStatus").equals("Success")}</bpmn:conditionExpression>
29     </bpmn:sequenceFlow>
30     <bpmn:endEvent id="EndEvent_0mnaj50">
31       <bpmn:incoming>SequenceFlow_15gxql1</bpmn:incoming>
32       <bpmn:errorEventDefinition id="ErrorEventDefinition_1s1hqgm" errorRef="Error_0aovtfv" />
33     </bpmn:endEvent>
34     <bpmn:sequenceFlow id="SequenceFlow_15gxql1" sourceRef="ExclusiveGateway_13q340y" targetRef="EndEvent_0mnaj50" />
35     <bpmn:serviceTask id="ServiceTask_0inxg9l" name="Set Actor, Scope and Action Params" camunda:expression="${ControllerExecution.setControllerActorScopeAction(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
36       <bpmn:incoming>SequenceFlow_0gmfit3</bpmn:incoming>
37       <bpmn:outgoing>SequenceFlow_05j6hg6</bpmn:outgoing>
38       <bpmn:outgoing>SequenceFlow_1lspfyy</bpmn:outgoing>
39     </bpmn:serviceTask>
40     <bpmn:sequenceFlow id="SequenceFlow_05j6hg6" sourceRef="ServiceTask_0inxg9l" targetRef="ExclusiveGateway_0plxwkg" />
41     <bpmn:exclusiveGateway id="ExclusiveGateway_0plxwkg" default="SequenceFlow_1t7hs4k">
42       <bpmn:incoming>SequenceFlow_1lspfyy</bpmn:incoming>
43       <bpmn:incoming>SequenceFlow_05j6hg6</bpmn:incoming>
44       <bpmn:outgoing>SequenceFlow_1t7hs4k</bpmn:outgoing>
45       <bpmn:outgoing>SequenceFlow_0vzx2yr</bpmn:outgoing>
46     </bpmn:exclusiveGateway>
47     <bpmn:sequenceFlow id="SequenceFlow_1lspfyy" sourceRef="ServiceTask_0inxg9l" targetRef="ExclusiveGateway_0plxwkg" />
48     <bpmn:callActivity id="BBToExecute" name="BB to Execute&#10;" calledElement="${bbName}">
49       <bpmn:extensionElements>
50         <camunda:out source="WorkflowException" target="WorkflowException" />
51         <camunda:out source="WorkflowExceptionErrorMessage" target="WorkflowExceptionErrorMessage" />
52         <camunda:in source="executionObject" target="executionObject" />
53         <camunda:in source="mso-request-id" target="mso-request-id" />
54         <camunda:in source="isRollback" target="isRollback" />
55         <camunda:out source="StatusMessage" target="StatusMessage" />
56       </bpmn:extensionElements>
57       <bpmn:incoming>SequenceFlow_0fv03vt</bpmn:incoming>
58       <bpmn:outgoing>SequenceFlow_0no1qag</bpmn:outgoing>
59       <bpmn:outgoing>SequenceFlow_0op5irz</bpmn:outgoing>
60     </bpmn:callActivity>
61     <bpmn:sequenceFlow id="SequenceFlow_1t7hs4k" sourceRef="ExclusiveGateway_0plxwkg" targetRef="Task_1rc2j9" />
62     <bpmn:sequenceFlow id="SequenceFlow_0no1qag" sourceRef="BBToExecute" targetRef="EndEvent_0lgvk82" />
63     <bpmn:sequenceFlow id="SequenceFlow_0fv03vt" sourceRef="Task_1rc2j9" targetRef="BBToExecute" />
64     <bpmn:serviceTask id="Task_1rc2j9" name="select BB " camunda:expression="${ControllerExecution.selectBB(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
65       <bpmn:incoming>SequenceFlow_1t7hs4k</bpmn:incoming>
66       <bpmn:outgoing>SequenceFlow_0fv03vt</bpmn:outgoing>
67     </bpmn:serviceTask>
68     <bpmn:endEvent id="EndEvent_1lxwuh2">
69       <bpmn:incoming>SequenceFlow_0op5irz</bpmn:incoming>
70       <bpmn:errorEventDefinition id="ErrorEventDefinition_0z001cu" errorRef="Error_0aovtfv" />
71     </bpmn:endEvent>
72     <bpmn:sequenceFlow id="SequenceFlow_0op5irz" sourceRef="BBToExecute" targetRef="EndEvent_1lxwuh2" />
73     <bpmn:sequenceFlow id="SequenceFlow_0vzx2yr" name="Actor= CDS" sourceRef="ExclusiveGateway_0plxwkg" targetRef="Task_0bhf6tp">
74       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${execution.getVariable("actor") == "CDS"}</bpmn:conditionExpression>
75     </bpmn:sequenceFlow>
76   </bpmn:process>
77   <bpmn:error id="Error_0aovtfv" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
78   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
79     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ControllerExecutionBB">
80       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
81         <dc:Bounds x="160" y="323" width="36" height="36" />
82         <bpmndi:BPMNLabel>
83           <dc:Bounds x="-17" y="279" width="90" height="20" />
84         </bpmndi:BPMNLabel>
85       </bpmndi:BPMNShape>
86       <bpmndi:BPMNEdge id="SequenceFlow_0gmfit3_di" bpmnElement="SequenceFlow_0gmfit3">
87         <di:waypoint x="196" y="341" />
88         <di:waypoint x="259" y="341" />
89         <bpmndi:BPMNLabel>
90           <dc:Bounds x="32.5" y="236" width="90" height="20" />
91         </bpmndi:BPMNLabel>
92       </bpmndi:BPMNEdge>
93       <bpmndi:BPMNShape id="EndEvent_0lgvk82_di" bpmnElement="EndEvent_0lgvk82">
94         <dc:Bounds x="1129" y="323" width="36" height="36" />
95         <bpmndi:BPMNLabel>
96           <dc:Bounds x="1025" y="251" width="90" height="20" />
97         </bpmndi:BPMNLabel>
98       </bpmndi:BPMNShape>
99       <bpmndi:BPMNEdge id="SequenceFlow_1mkhog2_di" bpmnElement="SequenceFlow_1mkhog2">
100         <di:waypoint x="1079" y="462" />
101         <di:waypoint x="1147" y="462" />
102         <di:waypoint x="1147" y="359" />
103         <bpmndi:BPMNLabel>
104           <dc:Bounds x="918" y="357" width="90" height="20" />
105         </bpmndi:BPMNLabel>
106       </bpmndi:BPMNEdge>
107       <bpmndi:BPMNShape id="ServiceTask_0404s6a_di" bpmnElement="Task_1hs1mn0">
108         <dc:Bounds x="979" y="422" width="100" height="80" />
109       </bpmndi:BPMNShape>
110       <bpmndi:BPMNEdge id="SequenceFlow_05qembo_di" bpmnElement="SequenceFlow_05qembo">
111         <di:waypoint x="672" y="462" />
112         <di:waypoint x="868" y="462" />
113         <bpmndi:BPMNLabel>
114           <dc:Bounds x="725" y="437" width="90" height="20" />
115         </bpmndi:BPMNLabel>
116       </bpmndi:BPMNEdge>
117       <bpmndi:BPMNShape id="ServiceTask_01mv1si_di" bpmnElement="Task_0bhf6tp">
118         <dc:Bounds x="572" y="422" width="100" height="80" />
119       </bpmndi:BPMNShape>
120       <bpmndi:BPMNShape id="ExclusiveGateway_13q340y_di" bpmnElement="ExclusiveGateway_13q340y" isMarkerVisible="true">
121         <dc:Bounds x="868" y="437" width="50" height="50" />
122         <bpmndi:BPMNLabel>
123           <dc:Bounds x="698" y="327" width="90" height="20" />
124         </bpmndi:BPMNLabel>
125       </bpmndi:BPMNShape>
126       <bpmndi:BPMNEdge id="SequenceFlow_07tqu82_di" bpmnElement="SequenceFlow_07tqu82">
127         <di:waypoint x="918" y="462" />
128         <di:waypoint x="979" y="462" />
129         <bpmndi:BPMNLabel>
130           <dc:Bounds x="856" y="409" width="41" height="14" />
131         </bpmndi:BPMNLabel>
132       </bpmndi:BPMNEdge>
133       <bpmndi:BPMNShape id="EndEvent_0mnaj50_di" bpmnElement="EndEvent_0mnaj50">
134         <dc:Bounds x="875" y="565" width="36" height="36" />
135         <bpmndi:BPMNLabel>
136           <dc:Bounds x="698" y="531" width="90" height="20" />
137         </bpmndi:BPMNLabel>
138       </bpmndi:BPMNShape>
139       <bpmndi:BPMNEdge id="SequenceFlow_15gxql1_di" bpmnElement="SequenceFlow_15gxql1">
140         <di:waypoint x="893" y="487" />
141         <di:waypoint x="893" y="565" />
142         <bpmndi:BPMNLabel>
143           <dc:Bounds x="713" y="436" width="90" height="20" />
144         </bpmndi:BPMNLabel>
145       </bpmndi:BPMNEdge>
146       <bpmndi:BPMNShape id="ServiceTask_0inxg9l_di" bpmnElement="ServiceTask_0inxg9l">
147         <dc:Bounds x="259" y="301" width="100" height="80" />
148       </bpmndi:BPMNShape>
149       <bpmndi:BPMNEdge id="SequenceFlow_05j6hg6_di" bpmnElement="SequenceFlow_05j6hg6">
150         <di:waypoint x="359" y="341" />
151         <di:waypoint x="399" y="341" />
152         <bpmndi:BPMNLabel>
153           <dc:Bounds x="184" y="240" width="90" height="12" />
154         </bpmndi:BPMNLabel>
155       </bpmndi:BPMNEdge>
156       <bpmndi:BPMNShape id="ExclusiveGateway_0plxwkg_di" bpmnElement="ExclusiveGateway_0plxwkg" isMarkerVisible="true">
157         <dc:Bounds x="399" y="316" width="50" height="50" />
158         <bpmndi:BPMNLabel>
159           <dc:Bounds x="309" y="255" width="0" height="12" />
160         </bpmndi:BPMNLabel>
161       </bpmndi:BPMNShape>
162       <bpmndi:BPMNEdge id="SequenceFlow_1lspfyy_di" bpmnElement="SequenceFlow_1lspfyy">
163         <di:waypoint x="359" y="341" />
164         <di:waypoint x="399" y="341" />
165         <bpmndi:BPMNLabel>
166           <dc:Bounds x="229" y="240" width="0" height="12" />
167         </bpmndi:BPMNLabel>
168       </bpmndi:BPMNEdge>
169       <bpmndi:BPMNShape id="CallActivity_01dem38_di" bpmnElement="BBToExecute">
170         <dc:Bounds x="824" y="168" width="100" height="80" />
171       </bpmndi:BPMNShape>
172       <bpmndi:BPMNEdge id="SequenceFlow_1t7hs4k_di" bpmnElement="SequenceFlow_1t7hs4k">
173         <di:waypoint x="424" y="316" />
174         <di:waypoint x="424" y="208" />
175         <di:waypoint x="572" y="208" />
176         <bpmndi:BPMNLabel>
177           <dc:Bounds x="271" y="89" width="83" height="36" />
178         </bpmndi:BPMNLabel>
179       </bpmndi:BPMNEdge>
180       <bpmndi:BPMNEdge id="SequenceFlow_0no1qag_di" bpmnElement="SequenceFlow_0no1qag">
181         <di:waypoint x="924" y="208" />
182         <di:waypoint x="1147" y="208" />
183         <di:waypoint x="1147" y="323" />
184         <bpmndi:BPMNLabel>
185           <dc:Bounds x="840.5" y="107" width="90" height="12" />
186         </bpmndi:BPMNLabel>
187       </bpmndi:BPMNEdge>
188       <bpmndi:BPMNEdge id="SequenceFlow_0fv03vt_di" bpmnElement="SequenceFlow_0fv03vt">
189         <di:waypoint x="672" y="208" />
190         <di:waypoint x="824" y="208" />
191         <bpmndi:BPMNLabel>
192           <dc:Bounds x="598" y="107" width="0" height="12" />
193         </bpmndi:BPMNLabel>
194       </bpmndi:BPMNEdge>
195       <bpmndi:BPMNShape id="ServiceTask_0qd9p4w_di" bpmnElement="Task_1rc2j9">
196         <dc:Bounds x="572" y="168" width="100" height="80" />
197       </bpmndi:BPMNShape>
198       <bpmndi:BPMNShape id="EndEvent_1lxwuh2_di" bpmnElement="EndEvent_1lxwuh2">
199         <dc:Bounds x="856" y="84" width="36" height="36" />
200         <bpmndi:BPMNLabel>
201           <dc:Bounds x="679" y="50" width="0" height="12" />
202         </bpmndi:BPMNLabel>
203       </bpmndi:BPMNShape>
204       <bpmndi:BPMNEdge id="SequenceFlow_0op5irz_di" bpmnElement="SequenceFlow_0op5irz">
205         <di:waypoint x="874" y="168" />
206         <di:waypoint x="874" y="120" />
207         <bpmndi:BPMNLabel>
208           <dc:Bounds x="739" y="58" width="0" height="12" />
209         </bpmndi:BPMNLabel>
210       </bpmndi:BPMNEdge>
211       <bpmndi:BPMNEdge id="SequenceFlow_0vzx2yr_di" bpmnElement="SequenceFlow_0vzx2yr">
212         <di:waypoint x="424" y="366" />
213         <di:waypoint x="424" y="462" />
214         <di:waypoint x="572" y="462" />
215         <bpmndi:BPMNLabel>
216           <dc:Bounds x="455" y="436" width="60" height="12" />
217         </bpmndi:BPMNLabel>
218       </bpmndi:BPMNEdge>
219     </bpmndi:BPMNPlane>
220   </bpmndi:BPMNDiagram>
221 </bpmn:definitions>