Bugfixes for December 2018
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / WorkflowActionBB.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="WorkflowActionBB" name="WorkflowActionBB" isExecutable="true">
4     <bpmn:startEvent id="Start_WorkflowActionBB" name="start">
5       <bpmn:outgoing>SequenceFlow_15s0okp</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:endEvent id="End_WorkflowActionBB" name="end">
8       <bpmn:incoming>SequenceFlow_0x4urgp</bpmn:incoming>
9       <bpmn:incoming>SequenceFlow_1pz6edz</bpmn:incoming>
10     </bpmn:endEvent>
11     <bpmn:sequenceFlow id="SequenceFlow_15s0okp" sourceRef="Start_WorkflowActionBB" targetRef="Task_RetrieveBBExectuionList" />
12     <bpmn:callActivity id="Call_ExecuteBB" name="Execute BB" camunda:asyncBefore="true" calledElement="ExecuteBuildingBlock">
13       <bpmn:extensionElements>
14         <camunda:in source="buildingBlock" target="buildingBlock" />
15         <camunda:out source="buildingBlock" target="buildingBlock" />
16         <camunda:out source="handlingCode" target="handlingCode" />
17         <camunda:in source="mso-request-id" target="mso-request-id" />
18         <camunda:in source="retryCount" target="retryCount" />
19         <camunda:out source="WorkflowExceptionErrorMessage" target="WorkflowExceptionErrorMessage" />
20         <camunda:in source="aLaCarte" target="aLaCarte" />
21         <camunda:in source="orchestrationStatusValidationResult" target="orchestrationStatusValidationResult" />
22         <camunda:out source="orchestrationStatusValidationResult" target="orchestrationStatusValidationResult" />
23         <camunda:out source="RetryDuration" target="RetryDuration" />
24         <camunda:in source="suppressRollback" target="suppressRollback" />
25       </bpmn:extensionElements>
26       <bpmn:incoming>SequenceFlow_0mew9im</bpmn:incoming>
27       <bpmn:outgoing>SequenceFlow_07h9d4y</bpmn:outgoing>
28     </bpmn:callActivity>
29     <bpmn:sequenceFlow id="SequenceFlow_0mqrkxv" sourceRef="Task_SelectBB" targetRef="ServiceTask_0e2p0xs" />
30     <bpmn:serviceTask id="Task_SelectBB" name="Select BB" camunda:expression="${WorkflowActionBBTasks.selectBB(execution)}">
31       <bpmn:incoming>SequenceFlow_1atzsgn</bpmn:incoming>
32       <bpmn:incoming>SequenceFlow_1wb59ic</bpmn:incoming>
33       <bpmn:incoming>SequenceFlow_005hi8o</bpmn:incoming>
34       <bpmn:incoming>SequenceFlow_0unbew4</bpmn:incoming>
35       <bpmn:outgoing>SequenceFlow_0mqrkxv</bpmn:outgoing>
36     </bpmn:serviceTask>
37     <bpmn:exclusiveGateway id="ExclusiveGateway_Finished" default="SequenceFlow_01j184u">
38       <bpmn:incoming>SequenceFlow_07h9d4y</bpmn:incoming>
39       <bpmn:outgoing>SequenceFlow_1m2eezj</bpmn:outgoing>
40       <bpmn:outgoing>SequenceFlow_0v588sm</bpmn:outgoing>
41       <bpmn:outgoing>SequenceFlow_11530ei</bpmn:outgoing>
42       <bpmn:outgoing>SequenceFlow_01j184u</bpmn:outgoing>
43       <bpmn:outgoing>SequenceFlow_0l7kaba</bpmn:outgoing>
44     </bpmn:exclusiveGateway>
45     <bpmn:sequenceFlow id="SequenceFlow_07h9d4y" sourceRef="Call_ExecuteBB" targetRef="ExclusiveGateway_Finished" />
46     <bpmn:sequenceFlow id="SequenceFlow_1m2eezj" name="Completed = true" sourceRef="ExclusiveGateway_Finished" targetRef="ExclusiveGateway_isTopLevelFlowC">
47       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("completed")==true&&execution.getVariable("isRollback")==false&&execution.getVariable("handlingCode")=="Success"}]]></bpmn:conditionExpression>
48     </bpmn:sequenceFlow>
49     <bpmn:serviceTask id="Task_RetrieveBBExectuionList" name="Retrieve BB Execution List" camunda:expression="${WorkflowAction.selectExecutionList(execution)}">
50       <bpmn:incoming>SequenceFlow_15s0okp</bpmn:incoming>
51       <bpmn:outgoing>SequenceFlow_0vc9go9</bpmn:outgoing>
52     </bpmn:serviceTask>
53     <bpmn:serviceTask id="Task_SendSync" name="Send Sync Ack API Handler" camunda:asyncAfter="true" camunda:expression="${WorkflowActionBBTasks.sendSyncAck(execution)}">
54       <bpmn:incoming>SequenceFlow_0sckerv</bpmn:incoming>
55       <bpmn:outgoing>SequenceFlow_1wb59ic</bpmn:outgoing>
56     </bpmn:serviceTask>
57     <bpmn:serviceTask id="Task_UpdateRequestComplete" name="Update Request To Complete" camunda:expression="${WorkflowActionBBTasks.updateRequestStatusToComplete(execution)}">
58       <bpmn:incoming>SequenceFlow_0kf5sen</bpmn:incoming>
59       <bpmn:outgoing>SequenceFlow_1pz6edz</bpmn:outgoing>
60     </bpmn:serviceTask>
61     <bpmn:sequenceFlow id="SequenceFlow_1pz6edz" sourceRef="Task_UpdateRequestComplete" targetRef="End_WorkflowActionBB" />
62     <bpmn:subProcess id="SubProcess_18226x4" name="Error Handling" triggeredByEvent="true">
63       <bpmn:startEvent id="ErrorStart" name="error">
64         <bpmn:outgoing>SequenceFlow_1edjl5x</bpmn:outgoing>
65         <bpmn:errorEventDefinition />
66       </bpmn:startEvent>
67       <bpmn:endEvent id="ErrorEnd" name="end">
68         <bpmn:incoming>SequenceFlow_0wvzfgf</bpmn:incoming>
69       </bpmn:endEvent>
70       <bpmn:serviceTask id="Task_UpdateDb" name="Update Request To Failed" camunda:expression="${WorkflowActionBBFailure.updateRequestStatusToFailed(execution)}">
71         <bpmn:incoming>SequenceFlow_024g0d1</bpmn:incoming>
72         <bpmn:incoming>SequenceFlow_0eana0l</bpmn:incoming>
73         <bpmn:outgoing>SequenceFlow_0wvzfgf</bpmn:outgoing>
74       </bpmn:serviceTask>
75       <bpmn:sequenceFlow id="SequenceFlow_1edjl5x" sourceRef="ErrorStart" targetRef="ExclusiveGateway_10q79b6" />
76       <bpmn:sequenceFlow id="SequenceFlow_0wvzfgf" sourceRef="Task_UpdateDb" targetRef="ErrorEnd" />
77       <bpmn:exclusiveGateway id="ExclusiveGateway_10q79b6" name="Is Top-Level Flow and Sync Ack not sent?" default="SequenceFlow_024g0d1">
78         <bpmn:incoming>SequenceFlow_1edjl5x</bpmn:incoming>
79         <bpmn:outgoing>SequenceFlow_024g0d1</bpmn:outgoing>
80         <bpmn:outgoing>SequenceFlow_0vi883o</bpmn:outgoing>
81       </bpmn:exclusiveGateway>
82       <bpmn:sequenceFlow id="SequenceFlow_024g0d1" name="no" sourceRef="ExclusiveGateway_10q79b6" targetRef="Task_UpdateDb" />
83       <bpmn:sequenceFlow id="SequenceFlow_0vi883o" name="yes" sourceRef="ExclusiveGateway_10q79b6" targetRef="Task_SendSyncAckError">
84         <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isTopLevelFlow")==true&&execution.getVariable("sentSyncResponse")==false}]]></bpmn:conditionExpression>
85       </bpmn:sequenceFlow>
86       <bpmn:sequenceFlow id="SequenceFlow_0eana0l" sourceRef="Task_SendSyncAckError" targetRef="Task_UpdateDb" />
87       <bpmn:serviceTask id="Task_SendSyncAckError" name="Send Sync Ack API Handler" camunda:asyncAfter="true" camunda:expression="${WorkflowActionBBTasks.sendSyncAck(execution)}">
88         <bpmn:incoming>SequenceFlow_0vi883o</bpmn:incoming>
89         <bpmn:outgoing>SequenceFlow_0eana0l</bpmn:outgoing>
90       </bpmn:serviceTask>
91     </bpmn:subProcess>
92     <bpmn:sequenceFlow id="SequenceFlow_0v588sm" name="Rollback = true" sourceRef="ExclusiveGateway_Finished" targetRef="Task_RollbackExecutionPath">
93       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("handlingCode")=="Rollback"||execution.getVariable("handlingCode")=="RollbackToAssigned"}]]></bpmn:conditionExpression>
94     </bpmn:sequenceFlow>
95     <bpmn:sequenceFlow id="SequenceFlow_1atzsgn" sourceRef="Task_RollbackExecutionPath" targetRef="Task_SelectBB">
96       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isRollbackNeeded")==true}]]></bpmn:conditionExpression>
97     </bpmn:sequenceFlow>
98     <bpmn:serviceTask id="Task_RollbackExecutionPath" name="Rollback Execution Path" camunda:expression="${WorkflowActionBBTasks.rollbackExecutionPath(execution)}">
99       <bpmn:incoming>SequenceFlow_0v588sm</bpmn:incoming>
100       <bpmn:outgoing>SequenceFlow_1atzsgn</bpmn:outgoing>
101       <bpmn:outgoing>SequenceFlow_11dlyzt</bpmn:outgoing>
102     </bpmn:serviceTask>
103     <bpmn:sequenceFlow id="SequenceFlow_0vc9go9" sourceRef="Task_RetrieveBBExectuionList" targetRef="ExclusiveGateway_isTopLevelFlow" />
104     <bpmn:sequenceFlow id="SequenceFlow_11530ei" name="Abort = true" sourceRef="ExclusiveGateway_Finished" targetRef="ExclusiveGateway_isTopLevelFlowAbort">
105       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("handlingCode")=="Abort"}]]></bpmn:conditionExpression>
106     </bpmn:sequenceFlow>
107     <bpmn:serviceTask id="Task_AbortAndCallErrorHandling" name="Update Request To Failed" camunda:expression="${WorkflowActionBBFailure.updateRequestStatusToFailed(execution)}">
108       <bpmn:incoming>SequenceFlow_02ksbt0</bpmn:incoming>
109       <bpmn:outgoing>SequenceFlow_1p8yxu6</bpmn:outgoing>
110     </bpmn:serviceTask>
111     <bpmn:endEvent id="EndEvent_0lzz1ya" name="end">
112       <bpmn:incoming>SequenceFlow_1p8yxu6</bpmn:incoming>
113       <bpmn:incoming>SequenceFlow_1r570x3</bpmn:incoming>
114     </bpmn:endEvent>
115     <bpmn:sequenceFlow id="SequenceFlow_1p8yxu6" sourceRef="Task_AbortAndCallErrorHandling" targetRef="EndEvent_0lzz1ya" />
116     <bpmn:sequenceFlow id="SequenceFlow_1wb59ic" sourceRef="Task_SendSync" targetRef="Task_SelectBB" />
117     <bpmn:sequenceFlow id="SequenceFlow_01j184u" sourceRef="ExclusiveGateway_Finished" targetRef="Task_0a31dkf" />
118     <bpmn:sequenceFlow id="SequenceFlow_005hi8o" sourceRef="Task_0a31dkf" targetRef="Task_SelectBB" />
119     <bpmn:serviceTask id="Task_0a31dkf" name="Check Retry Status" camunda:expression="${WorkflowActionBBTasks.checkRetryStatus(execution)}">
120       <bpmn:incoming>SequenceFlow_01j184u</bpmn:incoming>
121       <bpmn:outgoing>SequenceFlow_005hi8o</bpmn:outgoing>
122     </bpmn:serviceTask>
123     <bpmn:exclusiveGateway id="ExclusiveGateway_isTopLevelFlow" name="Is Top-Level Flow?" default="SequenceFlow_0sckerv">
124       <bpmn:incoming>SequenceFlow_0vc9go9</bpmn:incoming>
125       <bpmn:outgoing>SequenceFlow_0sckerv</bpmn:outgoing>
126       <bpmn:outgoing>SequenceFlow_0unbew4</bpmn:outgoing>
127     </bpmn:exclusiveGateway>
128     <bpmn:sequenceFlow id="SequenceFlow_0sckerv" name="yes" sourceRef="ExclusiveGateway_isTopLevelFlow" targetRef="Task_SendSync" />
129     <bpmn:sequenceFlow id="SequenceFlow_0unbew4" name="no" sourceRef="ExclusiveGateway_isTopLevelFlow" targetRef="Task_SelectBB">
130       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isTopLevelFlow")==false}]]></bpmn:conditionExpression>
131     </bpmn:sequenceFlow>
132     <bpmn:exclusiveGateway id="ExclusiveGateway_isTopLevelFlowAbort" name="Is Top-Level Flow?" default="SequenceFlow_02ksbt0">
133       <bpmn:incoming>SequenceFlow_11530ei</bpmn:incoming>
134       <bpmn:outgoing>SequenceFlow_02ksbt0</bpmn:outgoing>
135       <bpmn:outgoing>SequenceFlow_1r570x3</bpmn:outgoing>
136     </bpmn:exclusiveGateway>
137     <bpmn:sequenceFlow id="SequenceFlow_02ksbt0" name="yes" sourceRef="ExclusiveGateway_isTopLevelFlowAbort" targetRef="Task_AbortAndCallErrorHandling" />
138     <bpmn:sequenceFlow id="SequenceFlow_1r570x3" name="no" sourceRef="ExclusiveGateway_isTopLevelFlowAbort" targetRef="EndEvent_0lzz1ya">
139       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isTopLevelFlow")==false}]]></bpmn:conditionExpression>
140     </bpmn:sequenceFlow>
141     <bpmn:exclusiveGateway id="ExclusiveGateway_isTopLevelFlowC" name="Is Top-Level Flow?" default="SequenceFlow_0kf5sen">
142       <bpmn:incoming>SequenceFlow_1m2eezj</bpmn:incoming>
143       <bpmn:outgoing>SequenceFlow_0x4urgp</bpmn:outgoing>
144       <bpmn:outgoing>SequenceFlow_0kf5sen</bpmn:outgoing>
145     </bpmn:exclusiveGateway>
146     <bpmn:sequenceFlow id="SequenceFlow_0x4urgp" name="no" sourceRef="ExclusiveGateway_isTopLevelFlowC" targetRef="End_WorkflowActionBB">
147       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isTopLevelFlow")==false}]]></bpmn:conditionExpression>
148     </bpmn:sequenceFlow>
149     <bpmn:endEvent id="End_RollbackFailed" name="end">
150       <bpmn:incoming>SequenceFlow_1ui67mc</bpmn:incoming>
151     </bpmn:endEvent>
152     <bpmn:sequenceFlow id="SequenceFlow_11dlyzt" name="Rollback Not Needed" sourceRef="Task_RollbackExecutionPath" targetRef="Task_UpdateRequestToFailed">
153       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isRollbackNeeded")==false}]]></bpmn:conditionExpression>
154     </bpmn:sequenceFlow>
155     <bpmn:serviceTask id="Task_UpdateRequestToFailed" name="Update Request To Failed" camunda:expression="${WorkflowActionBBFailure.updateRequestStatusToFailedWithRollback(execution)}">
156       <bpmn:incoming>SequenceFlow_11dlyzt</bpmn:incoming>
157       <bpmn:incoming>SequenceFlow_0l7kaba</bpmn:incoming>
158       <bpmn:outgoing>SequenceFlow_1ui67mc</bpmn:outgoing>
159     </bpmn:serviceTask>
160     <bpmn:sequenceFlow id="SequenceFlow_0l7kaba" name="Rollback Completed" sourceRef="ExclusiveGateway_Finished" targetRef="Task_UpdateRequestToFailed">
161       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("completed")==true&&execution.getVariable("isRollback")==true&&execution.getVariable("handlingCode")=="Success"}]]></bpmn:conditionExpression>
162     </bpmn:sequenceFlow>
163     <bpmn:sequenceFlow id="SequenceFlow_1ui67mc" sourceRef="Task_UpdateRequestToFailed" targetRef="End_RollbackFailed" />
164     <bpmn:subProcess id="SubProcess_0fuugr9" name="Java Exception Handling Sub Process" triggeredByEvent="true">
165       <bpmn:startEvent id="StartEvent_runtimeError" name="error">
166         <bpmn:outgoing>SequenceFlow_11d126w</bpmn:outgoing>
167         <bpmn:errorEventDefinition errorRef="Error_0kd2o2a" camunda:errorCodeVariable="BPMN_javaExpCode" camunda:errorMessageVariable="BPMN_javaExpMsg" />
168       </bpmn:startEvent>
169       <bpmn:serviceTask id="ServiceTask_HandleRuntimeError" name="Handle Runtime Exception" camunda:expression="${WorkflowAction.handleRuntimeException(execution)}">
170         <bpmn:incoming>SequenceFlow_11d126w</bpmn:incoming>
171         <bpmn:outgoing>SequenceFlow_0w4sx88</bpmn:outgoing>
172       </bpmn:serviceTask>
173       <bpmn:endEvent id="EndEvent__runtimeError">
174         <bpmn:incoming>SequenceFlow_0w4sx88</bpmn:incoming>
175       </bpmn:endEvent>
176       <bpmn:sequenceFlow id="SequenceFlow_11d126w" sourceRef="StartEvent_runtimeError" targetRef="ServiceTask_HandleRuntimeError" />
177       <bpmn:sequenceFlow id="SequenceFlow_0w4sx88" sourceRef="ServiceTask_HandleRuntimeError" targetRef="EndEvent__runtimeError" />
178     </bpmn:subProcess>
179     <bpmn:serviceTask id="ServiceTask_0e2p0xs" name="Update Flow Statistics" camunda:expression="${WorkflowActionBBTasks.updateFlowStatistics(execution)}">
180       <bpmn:incoming>SequenceFlow_0mqrkxv</bpmn:incoming>
181       <bpmn:outgoing>SequenceFlow_0mew9im</bpmn:outgoing>
182     </bpmn:serviceTask>
183     <bpmn:sequenceFlow id="SequenceFlow_0mew9im" sourceRef="ServiceTask_0e2p0xs" targetRef="Call_ExecuteBB" />
184     <bpmn:sequenceFlow id="SequenceFlow_0kf5sen" name="yes" sourceRef="ExclusiveGateway_isTopLevelFlowC" targetRef="Task_UpdateRequestComplete" />
185   </bpmn:process>
186   <bpmn:error id="Error_0kd2o2a" name="java.lang.Exception" errorCode="java.lang.Exception" />
187   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
188     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="WorkflowActionBB">
189       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_WorkflowActionBB">
190         <dc:Bounds x="-241" y="102" width="36" height="36" />
191         <bpmndi:BPMNLabel>
192           <dc:Bounds x="-234" y="138" width="23" height="12" />
193         </bpmndi:BPMNLabel>
194       </bpmndi:BPMNShape>
195       <bpmndi:BPMNShape id="EndEvent_1uv6erv_di" bpmnElement="End_WorkflowActionBB">
196         <dc:Bounds x="1085" y="147" width="36" height="36" />
197         <bpmndi:BPMNLabel>
198           <dc:Bounds x="1094" y="127" width="18" height="12" />
199         </bpmndi:BPMNLabel>
200       </bpmndi:BPMNShape>
201       <bpmndi:BPMNEdge id="SequenceFlow_15s0okp_di" bpmnElement="SequenceFlow_15s0okp">
202         <di:waypoint xsi:type="dc:Point" x="-205" y="120" />
203         <di:waypoint xsi:type="dc:Point" x="-172" y="120" />
204         <bpmndi:BPMNLabel>
205           <dc:Bounds x="-233" y="99" width="90" height="13" />
206         </bpmndi:BPMNLabel>
207       </bpmndi:BPMNEdge>
208       <bpmndi:BPMNShape id="CallActivity_03m7z4y_di" bpmnElement="Call_ExecuteBB">
209         <dc:Bounds x="560" y="80" width="100" height="80" />
210       </bpmndi:BPMNShape>
211       <bpmndi:BPMNEdge id="SequenceFlow_0mqrkxv_di" bpmnElement="SequenceFlow_0mqrkxv">
212         <di:waypoint xsi:type="dc:Point" x="339" y="120" />
213         <di:waypoint xsi:type="dc:Point" x="400" y="120" />
214         <bpmndi:BPMNLabel>
215           <dc:Bounds x="324.5" y="105" width="90" height="0" />
216         </bpmndi:BPMNLabel>
217       </bpmndi:BPMNEdge>
218       <bpmndi:BPMNShape id="ServiceTask_1snenqk_di" bpmnElement="Task_SelectBB">
219         <dc:Bounds x="239" y="80" width="100" height="80" />
220       </bpmndi:BPMNShape>
221       <bpmndi:BPMNShape id="ExclusiveGateway_0m1zt0q_di" bpmnElement="ExclusiveGateway_Finished" isMarkerVisible="true">
222         <dc:Bounds x="692" y="95" width="50" height="50" />
223         <bpmndi:BPMNLabel>
224           <dc:Bounds x="676" y="42" width="0" height="0" />
225         </bpmndi:BPMNLabel>
226       </bpmndi:BPMNShape>
227       <bpmndi:BPMNEdge id="SequenceFlow_07h9d4y_di" bpmnElement="SequenceFlow_07h9d4y">
228         <di:waypoint xsi:type="dc:Point" x="660" y="120" />
229         <di:waypoint xsi:type="dc:Point" x="692" y="120" />
230         <bpmndi:BPMNLabel>
231           <dc:Bounds x="676" y="99" width="0" height="0" />
232         </bpmndi:BPMNLabel>
233       </bpmndi:BPMNEdge>
234       <bpmndi:BPMNEdge id="SequenceFlow_1m2eezj_di" bpmnElement="SequenceFlow_1m2eezj">
235         <di:waypoint xsi:type="dc:Point" x="730" y="132" />
236         <di:waypoint xsi:type="dc:Point" x="761" y="165" />
237         <di:waypoint xsi:type="dc:Point" x="841" y="165" />
238         <bpmndi:BPMNLabel>
239           <dc:Bounds x="749" y="168" width="83" height="12" />
240         </bpmndi:BPMNLabel>
241       </bpmndi:BPMNEdge>
242       <bpmndi:BPMNShape id="ServiceTask_0kn8jt8_di" bpmnElement="Task_RetrieveBBExectuionList">
243         <dc:Bounds x="-172" y="80" width="100" height="80" />
244       </bpmndi:BPMNShape>
245       <bpmndi:BPMNShape id="ServiceTask_0654g3m_di" bpmnElement="Task_SendSync">
246         <dc:Bounds x="46" y="-7" width="100" height="80" />
247       </bpmndi:BPMNShape>
248       <bpmndi:BPMNShape id="ServiceTask_0wzh11j_di" bpmnElement="Task_UpdateRequestComplete">
249         <dc:Bounds x="942" y="206" width="100" height="80" />
250       </bpmndi:BPMNShape>
251       <bpmndi:BPMNEdge id="SequenceFlow_1pz6edz_di" bpmnElement="SequenceFlow_1pz6edz">
252         <di:waypoint xsi:type="dc:Point" x="1042" y="246" />
253         <di:waypoint xsi:type="dc:Point" x="1103" y="246" />
254         <di:waypoint xsi:type="dc:Point" x="1103" y="183" />
255         <bpmndi:BPMNLabel>
256           <dc:Bounds x="1027.5" y="231" width="90" height="0" />
257         </bpmndi:BPMNLabel>
258       </bpmndi:BPMNEdge>
259       <bpmndi:BPMNShape id="SubProcess_18226x4_di" bpmnElement="SubProcess_18226x4" isExpanded="true">
260         <dc:Bounds x="498" y="444" width="438" height="297" />
261       </bpmndi:BPMNShape>
262       <bpmndi:BPMNShape id="StartEvent_184g7f3_di" bpmnElement="ErrorStart">
263         <dc:Bounds x="520" y="639" width="36" height="36" />
264         <bpmndi:BPMNLabel>
265           <dc:Bounds x="526" y="682" width="24" height="12" />
266         </bpmndi:BPMNLabel>
267       </bpmndi:BPMNShape>
268       <bpmndi:BPMNShape id="EndEvent_0l4edvr_di" bpmnElement="ErrorEnd">
269         <dc:Bounds x="880" y="639" width="36" height="36" />
270         <bpmndi:BPMNLabel>
271           <dc:Bounds x="890" y="681" width="18" height="12" />
272         </bpmndi:BPMNLabel>
273       </bpmndi:BPMNShape>
274       <bpmndi:BPMNEdge id="SequenceFlow_0v588sm_di" bpmnElement="SequenceFlow_0v588sm">
275         <di:waypoint xsi:type="dc:Point" x="717" y="145" />
276         <di:waypoint xsi:type="dc:Point" x="717" y="262" />
277         <di:waypoint xsi:type="dc:Point" x="339" y="262" />
278         <bpmndi:BPMNLabel>
279           <dc:Bounds x="597.5" y="272" width="73" height="12" />
280         </bpmndi:BPMNLabel>
281       </bpmndi:BPMNEdge>
282       <bpmndi:BPMNEdge id="SequenceFlow_1atzsgn_di" bpmnElement="SequenceFlow_1atzsgn">
283         <di:waypoint xsi:type="dc:Point" x="289" y="222" />
284         <di:waypoint xsi:type="dc:Point" x="289" y="160" />
285         <bpmndi:BPMNLabel>
286           <dc:Bounds x="259" y="191" width="90" height="0" />
287         </bpmndi:BPMNLabel>
288       </bpmndi:BPMNEdge>
289       <bpmndi:BPMNShape id="ServiceTask_19t1oyr_di" bpmnElement="Task_RollbackExecutionPath">
290         <dc:Bounds x="239" y="222" width="100" height="80" />
291       </bpmndi:BPMNShape>
292       <bpmndi:BPMNEdge id="SequenceFlow_0vc9go9_di" bpmnElement="SequenceFlow_0vc9go9">
293         <di:waypoint xsi:type="dc:Point" x="-72" y="120" />
294         <di:waypoint xsi:type="dc:Point" x="-39" y="120" />
295         <bpmndi:BPMNLabel>
296           <dc:Bounds x="-100" y="105" width="90" height="0" />
297         </bpmndi:BPMNLabel>
298       </bpmndi:BPMNEdge>
299       <bpmndi:BPMNEdge id="SequenceFlow_11530ei_di" bpmnElement="SequenceFlow_11530ei">
300         <di:waypoint xsi:type="dc:Point" x="727" y="105" />
301         <di:waypoint xsi:type="dc:Point" x="764" y="44" />
302         <di:waypoint xsi:type="dc:Point" x="841" y="45" />
303         <bpmndi:BPMNLabel>
304           <dc:Bounds x="756" y="17.269982652857244" width="57" height="12" />
305         </bpmndi:BPMNLabel>
306       </bpmndi:BPMNEdge>
307       <bpmndi:BPMNShape id="ServiceTask_0jo36ez_di" bpmnElement="Task_AbortAndCallErrorHandling">
308         <dc:Bounds x="957" y="-76" width="100" height="80" />
309       </bpmndi:BPMNShape>
310       <bpmndi:BPMNShape id="EndEvent_0lzz1ya_di" bpmnElement="EndEvent_0lzz1ya">
311         <dc:Bounds x="1167" y="27" width="36" height="36" />
312         <bpmndi:BPMNLabel>
313           <dc:Bounds x="1176" y="67" width="18" height="12" />
314         </bpmndi:BPMNLabel>
315       </bpmndi:BPMNShape>
316       <bpmndi:BPMNEdge id="SequenceFlow_1p8yxu6_di" bpmnElement="SequenceFlow_1p8yxu6">
317         <di:waypoint xsi:type="dc:Point" x="1057" y="-36" />
318         <di:waypoint xsi:type="dc:Point" x="1140" y="-36" />
319         <di:waypoint xsi:type="dc:Point" x="1140" y="45" />
320         <di:waypoint xsi:type="dc:Point" x="1167" y="45" />
321         <bpmndi:BPMNLabel>
322           <dc:Bounds x="1155" y="4.5" width="0" height="0" />
323         </bpmndi:BPMNLabel>
324       </bpmndi:BPMNEdge>
325       <bpmndi:BPMNEdge id="SequenceFlow_1wb59ic_di" bpmnElement="SequenceFlow_1wb59ic">
326         <di:waypoint xsi:type="dc:Point" x="146" y="33" />
327         <di:waypoint xsi:type="dc:Point" x="193" y="33" />
328         <di:waypoint xsi:type="dc:Point" x="193" y="120" />
329         <di:waypoint xsi:type="dc:Point" x="239" y="120" />
330         <bpmndi:BPMNLabel>
331           <dc:Bounds x="163" y="77" width="90" height="0" />
332         </bpmndi:BPMNLabel>
333       </bpmndi:BPMNEdge>
334       <bpmndi:BPMNEdge id="SequenceFlow_01j184u_di" bpmnElement="SequenceFlow_01j184u">
335         <di:waypoint xsi:type="dc:Point" x="717" y="95" />
336         <di:waypoint xsi:type="dc:Point" x="717" y="55" />
337         <di:waypoint xsi:type="dc:Point" x="717" y="55" />
338         <di:waypoint xsi:type="dc:Point" x="717" y="4" />
339         <bpmndi:BPMNLabel>
340           <dc:Bounds x="732" y="49" width="0" height="0" />
341         </bpmndi:BPMNLabel>
342       </bpmndi:BPMNEdge>
343       <bpmndi:BPMNEdge id="SequenceFlow_005hi8o_di" bpmnElement="SequenceFlow_005hi8o">
344         <di:waypoint xsi:type="dc:Point" x="667" y="-36" />
345         <di:waypoint xsi:type="dc:Point" x="289" y="-36" />
346         <di:waypoint xsi:type="dc:Point" x="289" y="80" />
347         <bpmndi:BPMNLabel>
348           <dc:Bounds x="433" y="-51" width="90" height="0" />
349         </bpmndi:BPMNLabel>
350       </bpmndi:BPMNEdge>
351       <bpmndi:BPMNShape id="ServiceTask_1c1v3p1_di" bpmnElement="Task_0a31dkf">
352         <dc:Bounds x="667" y="-76" width="100" height="80" />
353       </bpmndi:BPMNShape>
354       <bpmndi:BPMNShape id="ExclusiveGateway_0ptb1yi_di" bpmnElement="ExclusiveGateway_isTopLevelFlow" isMarkerVisible="true">
355         <dc:Bounds x="-39" y="95" width="50" height="50" />
356         <bpmndi:BPMNLabel>
357           <dc:Bounds x="-45" y="145" width="61" height="24" />
358         </bpmndi:BPMNLabel>
359       </bpmndi:BPMNShape>
360       <bpmndi:BPMNEdge id="SequenceFlow_0sckerv_di" bpmnElement="SequenceFlow_0sckerv">
361         <di:waypoint xsi:type="dc:Point" x="-13" y="96" />
362         <di:waypoint xsi:type="dc:Point" x="-13" y="33" />
363         <di:waypoint xsi:type="dc:Point" x="46" y="33" />
364         <bpmndi:BPMNLabel>
365           <dc:Bounds x="-7" y="55" width="19" height="12" />
366         </bpmndi:BPMNLabel>
367       </bpmndi:BPMNEdge>
368       <bpmndi:BPMNEdge id="SequenceFlow_0unbew4_di" bpmnElement="SequenceFlow_0unbew4">
369         <di:waypoint xsi:type="dc:Point" x="11" y="120" />
370         <di:waypoint xsi:type="dc:Point" x="239" y="120" />
371         <bpmndi:BPMNLabel>
372           <dc:Bounds x="119" y="95" width="12" height="12" />
373         </bpmndi:BPMNLabel>
374       </bpmndi:BPMNEdge>
375       <bpmndi:BPMNShape id="ExclusiveGateway_001g41v_di" bpmnElement="ExclusiveGateway_isTopLevelFlowAbort" isMarkerVisible="true">
376         <dc:Bounds x="841" y="20" width="50" height="50" />
377         <bpmndi:BPMNLabel>
378           <dc:Bounds x="836" y="70" width="60" height="24" />
379         </bpmndi:BPMNLabel>
380       </bpmndi:BPMNShape>
381       <bpmndi:BPMNEdge id="SequenceFlow_02ksbt0_di" bpmnElement="SequenceFlow_02ksbt0">
382         <di:waypoint xsi:type="dc:Point" x="866" y="20" />
383         <di:waypoint xsi:type="dc:Point" x="866" y="-37" />
384         <di:waypoint xsi:type="dc:Point" x="957" y="-37" />
385         <bpmndi:BPMNLabel>
386           <dc:Bounds x="872" y="-8.5" width="18" height="12" />
387         </bpmndi:BPMNLabel>
388       </bpmndi:BPMNEdge>
389       <bpmndi:BPMNEdge id="SequenceFlow_1r570x3_di" bpmnElement="SequenceFlow_1r570x3">
390         <di:waypoint xsi:type="dc:Point" x="891" y="45" />
391         <di:waypoint xsi:type="dc:Point" x="1167" y="45" />
392         <bpmndi:BPMNLabel>
393           <dc:Bounds x="1023" y="20" width="12" height="12" />
394         </bpmndi:BPMNLabel>
395       </bpmndi:BPMNEdge>
396       <bpmndi:BPMNShape id="ExclusiveGateway_1er1kam_di" bpmnElement="ExclusiveGateway_isTopLevelFlowC" isMarkerVisible="true">
397         <dc:Bounds x="841" y="140" width="50" height="50" />
398         <bpmndi:BPMNLabel>
399           <dc:Bounds x="836" y="108" width="60" height="24" />
400         </bpmndi:BPMNLabel>
401       </bpmndi:BPMNShape>
402       <bpmndi:BPMNEdge id="SequenceFlow_0x4urgp_di" bpmnElement="SequenceFlow_0x4urgp">
403         <di:waypoint xsi:type="dc:Point" x="891" y="165" />
404         <di:waypoint xsi:type="dc:Point" x="1001" y="165" />
405         <di:waypoint xsi:type="dc:Point" x="1001" y="165" />
406         <di:waypoint xsi:type="dc:Point" x="1085" y="165" />
407         <bpmndi:BPMNLabel>
408           <dc:Bounds x="1037.2153846153847" y="140" width="12" height="12" />
409         </bpmndi:BPMNLabel>
410       </bpmndi:BPMNEdge>
411       <bpmndi:BPMNShape id="EndEvent_1q8eh5e_di" bpmnElement="End_RollbackFailed">
412         <dc:Bounds x="940" y="347" width="36" height="36" />
413         <bpmndi:BPMNLabel>
414           <dc:Bounds x="958" y="399" width="18" height="12" />
415         </bpmndi:BPMNLabel>
416       </bpmndi:BPMNShape>
417       <bpmndi:BPMNEdge id="SequenceFlow_11dlyzt_di" bpmnElement="SequenceFlow_11dlyzt">
418         <di:waypoint xsi:type="dc:Point" x="289" y="302" />
419         <di:waypoint xsi:type="dc:Point" x="289" y="368" />
420         <di:waypoint xsi:type="dc:Point" x="741" y="368" />
421         <bpmndi:BPMNLabel>
422           <dc:Bounds x="340.85361216730035" y="325" width="63" height="24" />
423         </bpmndi:BPMNLabel>
424       </bpmndi:BPMNEdge>
425       <bpmndi:BPMNShape id="ServiceTask_1h154rn_di" bpmnElement="Task_UpdateDb">
426         <dc:Bounds x="713" y="617" width="100" height="80" />
427       </bpmndi:BPMNShape>
428       <bpmndi:BPMNShape id="ServiceTask_1t8n9gd_di" bpmnElement="Task_UpdateRequestToFailed">
429         <dc:Bounds x="741" y="325" width="100" height="80" />
430       </bpmndi:BPMNShape>
431       <bpmndi:BPMNEdge id="SequenceFlow_0l7kaba_di" bpmnElement="SequenceFlow_0l7kaba">
432         <di:waypoint xsi:type="dc:Point" x="723" y="139" />
433         <di:waypoint xsi:type="dc:Point" x="757" y="252" />
434         <di:waypoint xsi:type="dc:Point" x="797" y="252" />
435         <di:waypoint xsi:type="dc:Point" x="797" y="325" />
436         <bpmndi:BPMNLabel>
437           <dc:Bounds x="739.7268586738111" y="255.4388401674105" width="52" height="24" />
438         </bpmndi:BPMNLabel>
439       </bpmndi:BPMNEdge>
440       <bpmndi:BPMNEdge id="SequenceFlow_1edjl5x_di" bpmnElement="SequenceFlow_1edjl5x">
441         <di:waypoint xsi:type="dc:Point" x="556" y="657" />
442         <di:waypoint xsi:type="dc:Point" x="602" y="657" />
443         <bpmndi:BPMNLabel>
444           <dc:Bounds x="534" y="636" width="90" height="12" />
445         </bpmndi:BPMNLabel>
446       </bpmndi:BPMNEdge>
447       <bpmndi:BPMNEdge id="SequenceFlow_0wvzfgf_di" bpmnElement="SequenceFlow_0wvzfgf">
448         <di:waypoint xsi:type="dc:Point" x="813" y="657" />
449         <di:waypoint xsi:type="dc:Point" x="880" y="657" />
450         <bpmndi:BPMNLabel>
451           <dc:Bounds x="801.5" y="636" width="90" height="12" />
452         </bpmndi:BPMNLabel>
453       </bpmndi:BPMNEdge>
454       <bpmndi:BPMNEdge id="SequenceFlow_1ui67mc_di" bpmnElement="SequenceFlow_1ui67mc">
455         <di:waypoint xsi:type="dc:Point" x="841" y="365" />
456         <di:waypoint xsi:type="dc:Point" x="915" y="365" />
457         <di:waypoint xsi:type="dc:Point" x="915" y="365" />
458         <di:waypoint xsi:type="dc:Point" x="940" y="365" />
459         <bpmndi:BPMNLabel>
460           <dc:Bounds x="885" y="359" width="90" height="13" />
461         </bpmndi:BPMNLabel>
462       </bpmndi:BPMNEdge>
463       <bpmndi:BPMNShape id="ExclusiveGateway_10q79b6_di" bpmnElement="ExclusiveGateway_10q79b6" isMarkerVisible="true">
464         <dc:Bounds x="602" y="632" width="50" height="50" />
465         <bpmndi:BPMNLabel>
466           <dc:Bounds x="584" y="686" width="86" height="36" />
467         </bpmndi:BPMNLabel>
468       </bpmndi:BPMNShape>
469       <bpmndi:BPMNEdge id="SequenceFlow_024g0d1_di" bpmnElement="SequenceFlow_024g0d1">
470         <di:waypoint xsi:type="dc:Point" x="652" y="657" />
471         <di:waypoint xsi:type="dc:Point" x="683" y="657" />
472         <di:waypoint xsi:type="dc:Point" x="683" y="657" />
473         <di:waypoint xsi:type="dc:Point" x="713" y="657" />
474         <bpmndi:BPMNLabel>
475           <dc:Bounds x="677" y="634" width="12" height="12" />
476         </bpmndi:BPMNLabel>
477       </bpmndi:BPMNEdge>
478       <bpmndi:BPMNEdge id="SequenceFlow_0vi883o_di" bpmnElement="SequenceFlow_0vi883o">
479         <di:waypoint xsi:type="dc:Point" x="627" y="632" />
480         <di:waypoint xsi:type="dc:Point" x="627" y="548" />
481         <di:waypoint xsi:type="dc:Point" x="713" y="548" />
482         <bpmndi:BPMNLabel>
483           <dc:Bounds x="633" y="584" width="18" height="12" />
484         </bpmndi:BPMNLabel>
485       </bpmndi:BPMNEdge>
486       <bpmndi:BPMNEdge id="SequenceFlow_0eana0l_di" bpmnElement="SequenceFlow_0eana0l">
487         <di:waypoint xsi:type="dc:Point" x="763" y="588" />
488         <di:waypoint xsi:type="dc:Point" x="763" y="617" />
489         <bpmndi:BPMNLabel>
490           <dc:Bounds x="778" y="596.5" width="0" height="12" />
491         </bpmndi:BPMNLabel>
492       </bpmndi:BPMNEdge>
493       <bpmndi:BPMNShape id="ServiceTask_10hs368_di" bpmnElement="Task_SendSyncAckError">
494         <dc:Bounds x="713" y="508" width="100" height="80" />
495       </bpmndi:BPMNShape>
496       <bpmndi:BPMNShape id="SubProcess_0fuugr9_di" bpmnElement="SubProcess_0fuugr9" isExpanded="true">
497         <dc:Bounds x="515" y="792" width="404" height="165" />
498       </bpmndi:BPMNShape>
499       <bpmndi:BPMNShape id="StartEvent_15qkxd7_di" bpmnElement="StartEvent_runtimeError">
500         <dc:Bounds x="570" y="857" width="36" height="36" />
501         <bpmndi:BPMNLabel>
502           <dc:Bounds x="577" y="900" width="24" height="12" />
503         </bpmndi:BPMNLabel>
504       </bpmndi:BPMNShape>
505       <bpmndi:BPMNShape id="ServiceTask_1p4kxh2_di" bpmnElement="ServiceTask_HandleRuntimeError">
506         <dc:Bounds x="690" y="835" width="100" height="80" />
507       </bpmndi:BPMNShape>
508       <bpmndi:BPMNShape id="EndEvent_09e3lu5_di" bpmnElement="EndEvent__runtimeError">
509         <dc:Bounds x="856" y="857" width="36" height="36" />
510         <bpmndi:BPMNLabel>
511           <dc:Bounds x="784" y="897" width="0" height="12" />
512         </bpmndi:BPMNLabel>
513       </bpmndi:BPMNShape>
514       <bpmndi:BPMNEdge id="SequenceFlow_11d126w_di" bpmnElement="SequenceFlow_11d126w">
515         <di:waypoint xsi:type="dc:Point" x="606" y="875" />
516         <di:waypoint xsi:type="dc:Point" x="690" y="875" />
517         <bpmndi:BPMNLabel>
518           <dc:Bounds x="603" y="854" width="0" height="12" />
519         </bpmndi:BPMNLabel>
520       </bpmndi:BPMNEdge>
521       <bpmndi:BPMNEdge id="SequenceFlow_0w4sx88_di" bpmnElement="SequenceFlow_0w4sx88">
522         <di:waypoint xsi:type="dc:Point" x="790" y="875" />
523         <di:waypoint xsi:type="dc:Point" x="856" y="875" />
524         <bpmndi:BPMNLabel>
525           <dc:Bounds x="778" y="854" width="0" height="12" />
526         </bpmndi:BPMNLabel>
527       </bpmndi:BPMNEdge>
528       <bpmndi:BPMNShape id="ServiceTask_0e2p0xs_di" bpmnElement="ServiceTask_0e2p0xs">
529         <dc:Bounds x="400" y="80" width="100" height="80" />
530       </bpmndi:BPMNShape>
531       <bpmndi:BPMNEdge id="SequenceFlow_0mew9im_di" bpmnElement="SequenceFlow_0mew9im">
532         <di:waypoint xsi:type="dc:Point" x="500" y="120" />
533         <di:waypoint xsi:type="dc:Point" x="560" y="120" />
534         <bpmndi:BPMNLabel>
535           <dc:Bounds x="530" y="99" width="0" height="12" />
536         </bpmndi:BPMNLabel>
537       </bpmndi:BPMNEdge>
538       <bpmndi:BPMNEdge id="SequenceFlow_0kf5sen_di" bpmnElement="SequenceFlow_0kf5sen">
539         <di:waypoint xsi:type="dc:Point" x="866" y="190" />
540         <di:waypoint xsi:type="dc:Point" x="866" y="246" />
541         <di:waypoint xsi:type="dc:Point" x="942" y="246" />
542         <bpmndi:BPMNLabel>
543           <dc:Bounds x="872" y="217.6" width="18" height="12" />
544         </bpmndi:BPMNLabel>
545       </bpmndi:BPMNEdge>
546     </bpmndi:BPMNPlane>
547   </bpmndi:BPMNDiagram>
548 </bpmn:definitions>