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="3.5.0">
3 <bpmn:process id="ControllerExecutionBB" name="ControllerExecutionBB" isExecutable="true">
4 <bpmn:startEvent id="StartEvent_1">
5 <bpmn:outgoing>SequenceFlow_0gmfit3</bpmn:outgoing>
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>Flow_0qmjpxv</bpmn:incoming>
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("gBuildingBlockExecution")), execution.getVariable("scope"), execution.getVariable("action"))}">
14 <bpmn:incoming>SequenceFlow_07tqu82</bpmn:incoming>
15 <bpmn:outgoing>SequenceFlow_1mkhog2</bpmn:outgoing>
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("gBuildingBlockExecution")))}">
19 <bpmn:incoming>SequenceFlow_0vzx2yr</bpmn:incoming>
20 <bpmn:outgoing>SequenceFlow_05qembo</bpmn:outgoing>
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="successCDS" sourceRef="ExclusiveGateway_13q340y" targetRef="Task_1hs1mn0">
28 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("ControllerStatus").equals("Success")}</bpmn:conditionExpression>
30 <bpmn:endEvent id="EndEvent_0mnaj50">
31 <bpmn:incoming>SequenceFlow_15gxql1</bpmn:incoming>
32 <bpmn:errorEventDefinition id="ErrorEventDefinition_1s1hqgm" errorRef="Error_0aovtfv" />
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("gBuildingBlockExecution")))}">
36 <bpmn:incoming>SequenceFlow_0gmfit3</bpmn:incoming>
37 <bpmn:outgoing>SequenceFlow_1lspfyy</bpmn:outgoing>
39 <bpmn:exclusiveGateway id="ExclusiveGateway_0plxwkg" default="SequenceFlow_1t7hs4k">
40 <bpmn:incoming>SequenceFlow_1lspfyy</bpmn:incoming>
41 <bpmn:outgoing>SequenceFlow_1t7hs4k</bpmn:outgoing>
42 <bpmn:outgoing>SequenceFlow_0vzx2yr</bpmn:outgoing>
43 </bpmn:exclusiveGateway>
44 <bpmn:sequenceFlow id="SequenceFlow_1lspfyy" sourceRef="ServiceTask_0inxg9l" targetRef="ExclusiveGateway_0plxwkg" />
45 <bpmn:callActivity id="BBToExecute" name="BB to Execute " calledElement="${bbName}">
46 <bpmn:extensionElements>
47 <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
48 <camunda:out source="WorkflowException" target="WorkflowException" />
49 <camunda:out source="WorkflowExceptionErrorMessage" target="WorkflowExceptionErrorMessage" />
50 <camunda:out source="ControllerStatus" target="ControllerStatus" />
51 <camunda:in source="executionObject" target="executionObject" />
52 <camunda:in source="mso-request-id" target="mso-request-id" />
53 <camunda:in source="isRollback" target="isRollback" />
54 <camunda:out source="StatusMessage" target="StatusMessage" />
55 </bpmn:extensionElements>
56 <bpmn:incoming>SequenceFlow_0fv03vt</bpmn:incoming>
57 <bpmn:outgoing>SequenceFlow_0no1qag</bpmn:outgoing>
59 <bpmn:sequenceFlow id="SequenceFlow_1t7hs4k" sourceRef="ExclusiveGateway_0plxwkg" targetRef="Task_1rc2j9" />
60 <bpmn:sequenceFlow id="SequenceFlow_0no1qag" sourceRef="BBToExecute" targetRef="Gateway_065nxpu" />
61 <bpmn:sequenceFlow id="SequenceFlow_0fv03vt" sourceRef="Task_1rc2j9" targetRef="BBToExecute" />
62 <bpmn:serviceTask id="Task_1rc2j9" name="select BB " camunda:expression="${ControllerExecution.selectBB(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}">
63 <bpmn:incoming>SequenceFlow_1t7hs4k</bpmn:incoming>
64 <bpmn:outgoing>SequenceFlow_0fv03vt</bpmn:outgoing>
66 <bpmn:endEvent id="EndEvent_1lxwuh2">
67 <bpmn:incoming>SequenceFlow_0op5irz</bpmn:incoming>
68 <bpmn:errorEventDefinition id="ErrorEventDefinition_0z001cu" errorRef="Error_0aovtfv" />
70 <bpmn:sequenceFlow id="SequenceFlow_0op5irz" sourceRef="Gateway_065nxpu" targetRef="EndEvent_1lxwuh2" />
71 <bpmn:sequenceFlow id="SequenceFlow_0vzx2yr" name="Actor= CDS" sourceRef="ExclusiveGateway_0plxwkg" targetRef="Task_0bhf6tp">
72 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("actor") == "CDS"}</bpmn:conditionExpression>
74 <bpmn:exclusiveGateway id="Gateway_065nxpu" default="SequenceFlow_0op5irz">
75 <bpmn:incoming>SequenceFlow_0no1qag</bpmn:incoming>
76 <bpmn:outgoing>SequenceFlow_0op5irz</bpmn:outgoing>
77 <bpmn:outgoing>Flow_0qmjpxv</bpmn:outgoing>
78 </bpmn:exclusiveGateway>
79 <bpmn:sequenceFlow id="Flow_0qmjpxv" name="success" sourceRef="Gateway_065nxpu" targetRef="EndEvent_0lgvk82">
80 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">#{execution.getVariable("ControllerStatus").equals("Success")}</bpmn:conditionExpression>
83 <bpmn:error id="Error_0aovtfv" name="MSOWorkflowException" errorCode="MSOWorkflowException" />
84 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
85 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ControllerExecutionBB">
86 <bpmndi:BPMNEdge id="Flow_0qmjpxv_di" bpmnElement="Flow_0qmjpxv">
87 <di:waypoint x="1147" y="233" />
88 <di:waypoint x="1147" y="323" />
90 <dc:Bounds x="1170" y="263" width="41" height="14" />
93 <bpmndi:BPMNEdge id="SequenceFlow_0vzx2yr_di" bpmnElement="SequenceFlow_0vzx2yr">
94 <di:waypoint x="424" y="366" />
95 <di:waypoint x="424" y="462" />
96 <di:waypoint x="572" y="462" />
98 <dc:Bounds x="455" y="436" width="60" height="12" />
101 <bpmndi:BPMNEdge id="SequenceFlow_0op5irz_di" bpmnElement="SequenceFlow_0op5irz">
102 <di:waypoint x="1147" y="183" />
103 <di:waypoint x="1147" y="128" />
105 <dc:Bounds x="739" y="58" width="0" height="12" />
108 <bpmndi:BPMNEdge id="SequenceFlow_0fv03vt_di" bpmnElement="SequenceFlow_0fv03vt">
109 <di:waypoint x="672" y="208" />
110 <di:waypoint x="824" y="208" />
112 <dc:Bounds x="598" y="107" width="0" height="12" />
115 <bpmndi:BPMNEdge id="SequenceFlow_0no1qag_di" bpmnElement="SequenceFlow_0no1qag">
116 <di:waypoint x="924" y="208" />
117 <di:waypoint x="1122" y="208" />
119 <dc:Bounds x="840.5" y="107" width="90" height="12" />
122 <bpmndi:BPMNEdge id="SequenceFlow_1t7hs4k_di" bpmnElement="SequenceFlow_1t7hs4k">
123 <di:waypoint x="424" y="316" />
124 <di:waypoint x="424" y="208" />
125 <di:waypoint x="572" y="208" />
127 <dc:Bounds x="271" y="89" width="83" height="36" />
130 <bpmndi:BPMNEdge id="SequenceFlow_1lspfyy_di" bpmnElement="SequenceFlow_1lspfyy">
131 <di:waypoint x="359" y="341" />
132 <di:waypoint x="399" y="341" />
134 <dc:Bounds x="229" y="240" width="0" height="12" />
137 <bpmndi:BPMNEdge id="SequenceFlow_15gxql1_di" bpmnElement="SequenceFlow_15gxql1">
138 <di:waypoint x="893" y="487" />
139 <di:waypoint x="893" y="565" />
141 <dc:Bounds x="713" y="436" width="90" height="20" />
144 <bpmndi:BPMNEdge id="SequenceFlow_07tqu82_di" bpmnElement="SequenceFlow_07tqu82">
145 <di:waypoint x="918" y="462" />
146 <di:waypoint x="979" y="462" />
148 <dc:Bounds x="908" y="443" width="64" height="14" />
151 <bpmndi:BPMNEdge id="SequenceFlow_05qembo_di" bpmnElement="SequenceFlow_05qembo">
152 <di:waypoint x="672" y="462" />
153 <di:waypoint x="868" y="462" />
155 <dc:Bounds x="725" y="437" width="90" height="20" />
158 <bpmndi:BPMNEdge id="SequenceFlow_1mkhog2_di" bpmnElement="SequenceFlow_1mkhog2">
159 <di:waypoint x="1079" y="462" />
160 <di:waypoint x="1147" y="462" />
161 <di:waypoint x="1147" y="359" />
163 <dc:Bounds x="918" y="357" width="90" height="20" />
166 <bpmndi:BPMNEdge id="SequenceFlow_0gmfit3_di" bpmnElement="SequenceFlow_0gmfit3">
167 <di:waypoint x="196" y="341" />
168 <di:waypoint x="259" y="341" />
170 <dc:Bounds x="32.5" y="236" width="90" height="20" />
173 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
174 <dc:Bounds x="160" y="323" width="36" height="36" />
176 <dc:Bounds x="-17" y="279" width="90" height="20" />
179 <bpmndi:BPMNShape id="EndEvent_0lgvk82_di" bpmnElement="EndEvent_0lgvk82">
180 <dc:Bounds x="1129" y="323" width="36" height="36" />
182 <dc:Bounds x="1025" y="251" width="90" height="20" />
185 <bpmndi:BPMNShape id="ServiceTask_0404s6a_di" bpmnElement="Task_1hs1mn0">
186 <dc:Bounds x="979" y="422" width="100" height="80" />
188 <bpmndi:BPMNShape id="ServiceTask_01mv1si_di" bpmnElement="Task_0bhf6tp">
189 <dc:Bounds x="572" y="422" width="100" height="80" />
191 <bpmndi:BPMNShape id="ExclusiveGateway_13q340y_di" bpmnElement="ExclusiveGateway_13q340y" isMarkerVisible="true">
192 <dc:Bounds x="868" y="437" width="50" height="50" />
194 <dc:Bounds x="698" y="327" width="90" height="20" />
197 <bpmndi:BPMNShape id="EndEvent_0mnaj50_di" bpmnElement="EndEvent_0mnaj50">
198 <dc:Bounds x="875" y="565" width="36" height="36" />
200 <dc:Bounds x="698" y="531" width="90" height="20" />
203 <bpmndi:BPMNShape id="ServiceTask_0inxg9l_di" bpmnElement="ServiceTask_0inxg9l">
204 <dc:Bounds x="259" y="301" width="100" height="80" />
206 <bpmndi:BPMNShape id="ExclusiveGateway_0plxwkg_di" bpmnElement="ExclusiveGateway_0plxwkg" isMarkerVisible="true">
207 <dc:Bounds x="399" y="316" width="50" height="50" />
209 <dc:Bounds x="309" y="255" width="0" height="12" />
212 <bpmndi:BPMNShape id="CallActivity_01dem38_di" bpmnElement="BBToExecute">
213 <dc:Bounds x="824" y="168" width="100" height="80" />
215 <bpmndi:BPMNShape id="ServiceTask_0qd9p4w_di" bpmnElement="Task_1rc2j9">
216 <dc:Bounds x="572" y="168" width="100" height="80" />
218 <bpmndi:BPMNShape id="EndEvent_1lxwuh2_di" bpmnElement="EndEvent_1lxwuh2">
219 <dc:Bounds x="1129" y="92" width="36" height="36" />
221 <dc:Bounds x="679" y="50" width="0" height="12" />
224 <bpmndi:BPMNShape id="Gateway_065nxpu_di" bpmnElement="Gateway_065nxpu" isMarkerVisible="true">
225 <dc:Bounds x="1122" y="183" width="50" height="50" />
228 </bpmndi:BPMNDiagram>