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