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.7.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>
7 <bpmn:endEvent id="End_WorkflowActionBB" name="end">
8 <bpmn:incoming>SequenceFlow_1rscv7d</bpmn:incoming>
9 <bpmn:incoming>SequenceFlow_0x4urgp</bpmn:incoming>
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 </bpmn:extensionElements>
21 <bpmn:incoming>SequenceFlow_0mqrkxv</bpmn:incoming>
22 <bpmn:outgoing>SequenceFlow_07h9d4y</bpmn:outgoing>
24 <bpmn:sequenceFlow id="SequenceFlow_0mqrkxv" sourceRef="Task_SelectBB" targetRef="Call_ExecuteBB" />
25 <bpmn:serviceTask id="Task_SelectBB" name="Select BB" camunda:expression="${WorkflowActionBBTasks.selectBB(execution)}">
26 <bpmn:incoming>SequenceFlow_1atzsgn</bpmn:incoming>
27 <bpmn:incoming>SequenceFlow_1wb59ic</bpmn:incoming>
28 <bpmn:incoming>SequenceFlow_005hi8o</bpmn:incoming>
29 <bpmn:incoming>SequenceFlow_0unbew4</bpmn:incoming>
30 <bpmn:outgoing>SequenceFlow_0mqrkxv</bpmn:outgoing>
32 <bpmn:exclusiveGateway id="ExclusiveGateway_Finished" default="SequenceFlow_01j184u">
33 <bpmn:incoming>SequenceFlow_07h9d4y</bpmn:incoming>
34 <bpmn:outgoing>SequenceFlow_1m2eezj</bpmn:outgoing>
35 <bpmn:outgoing>SequenceFlow_0v588sm</bpmn:outgoing>
36 <bpmn:outgoing>SequenceFlow_11530ei</bpmn:outgoing>
37 <bpmn:outgoing>SequenceFlow_01j184u</bpmn:outgoing>
38 <bpmn:outgoing>SequenceFlow_0l7kaba</bpmn:outgoing>
39 </bpmn:exclusiveGateway>
40 <bpmn:sequenceFlow id="SequenceFlow_07h9d4y" sourceRef="Call_ExecuteBB" targetRef="ExclusiveGateway_Finished" />
41 <bpmn:sequenceFlow id="SequenceFlow_1m2eezj" name="Completed = true" sourceRef="ExclusiveGateway_Finished" targetRef="ExclusiveGateway_isTopLevelFlowC">
42 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("completed")==true&&execution.getVariable("handlingCode")=="Success"}]]></bpmn:conditionExpression>
44 <bpmn:serviceTask id="Task_RetrieveBBExectuionList" name="Retrieve BB Execution List" camunda:expression="${WorkflowAction.selectExecutionList(execution)}">
45 <bpmn:incoming>SequenceFlow_15s0okp</bpmn:incoming>
46 <bpmn:outgoing>SequenceFlow_0vc9go9</bpmn:outgoing>
48 <bpmn:serviceTask id="Task_SendSync" name="Send Sync Ack API Handler" camunda:asyncAfter="true" camunda:expression="${WorkflowActionBBTasks.sendSyncAck(execution)}">
49 <bpmn:incoming>SequenceFlow_0sckerv</bpmn:incoming>
50 <bpmn:outgoing>SequenceFlow_1wb59ic</bpmn:outgoing>
52 <bpmn:serviceTask id="Task_SetupCompleteMsoProcess" name="Setup Complete MSO Process" camunda:expression="${WorkflowActionBBTasks.setupCompleteMsoProcess(execution)}">
53 <bpmn:incoming>SequenceFlow_0kf5sen</bpmn:incoming>
54 <bpmn:outgoing>SequenceFlow_1pz6edz</bpmn:outgoing>
56 <bpmn:callActivity id="Call_CompleteMsoProcess" name="Call CompleteMsoProcess" calledElement="CompleteMsoProcess">
57 <bpmn:extensionElements>
58 <camunda:in source="CompleteMsoProcessRequest" target="CompleteMsoProcessRequest" />
59 <camunda:in source="mso-request-id" target="mso-request-id" />
60 <camunda:in source="mso-service-instance-id" target="mso-service-instance-id" />
61 <camunda:out source="CMSO_ResponseCode" target="CMSO_ResponseCode" />
62 <camunda:out source="CompleteMsoProcessResponse" target="CompleteMsoProcessResponse" />
63 <camunda:out source="CMSO_ErrorResponse" target="CMSO_ErrorResponse" />
64 </bpmn:extensionElements>
65 <bpmn:incoming>SequenceFlow_1pz6edz</bpmn:incoming>
66 <bpmn:outgoing>SequenceFlow_1rscv7d</bpmn:outgoing>
68 <bpmn:sequenceFlow id="SequenceFlow_1pz6edz" sourceRef="Task_SetupCompleteMsoProcess" targetRef="Call_CompleteMsoProcess" />
69 <bpmn:sequenceFlow id="SequenceFlow_1rscv7d" sourceRef="Call_CompleteMsoProcess" targetRef="End_WorkflowActionBB" />
70 <bpmn:subProcess id="SubProcess_18226x4" name="Error Handling" triggeredByEvent="true">
71 <bpmn:startEvent id="ErrorStart" name="error">
72 <bpmn:outgoing>SequenceFlow_1edjl5x</bpmn:outgoing>
73 <bpmn:errorEventDefinition />
75 <bpmn:endEvent id="ErrorEnd" name="end">
76 <bpmn:incoming>SequenceFlow_0wvzfgf</bpmn:incoming>
78 <bpmn:serviceTask id="Task_UpdateDb" name="Update Request To Failed" camunda:expression="${WorkflowActionBBTasks.updateRequestStatusToFailed(execution)}">
79 <bpmn:incoming>SequenceFlow_024g0d1</bpmn:incoming>
80 <bpmn:incoming>SequenceFlow_0eana0l</bpmn:incoming>
81 <bpmn:outgoing>SequenceFlow_0wvzfgf</bpmn:outgoing>
83 <bpmn:sequenceFlow id="SequenceFlow_1edjl5x" sourceRef="ErrorStart" targetRef="ExclusiveGateway_10q79b6" />
84 <bpmn:sequenceFlow id="SequenceFlow_0wvzfgf" sourceRef="Task_UpdateDb" targetRef="ErrorEnd" />
85 <bpmn:exclusiveGateway id="ExclusiveGateway_10q79b6" name="Is Top-Level Flow and Sync Ack not sent?" default="SequenceFlow_024g0d1">
86 <bpmn:incoming>SequenceFlow_1edjl5x</bpmn:incoming>
87 <bpmn:outgoing>SequenceFlow_024g0d1</bpmn:outgoing>
88 <bpmn:outgoing>SequenceFlow_0vi883o</bpmn:outgoing>
89 </bpmn:exclusiveGateway>
90 <bpmn:sequenceFlow id="SequenceFlow_024g0d1" name="no" sourceRef="ExclusiveGateway_10q79b6" targetRef="Task_UpdateDb" />
91 <bpmn:sequenceFlow id="SequenceFlow_0vi883o" name="yes" sourceRef="ExclusiveGateway_10q79b6" targetRef="Task_SendSyncAckError">
92 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isTopLevelFlow")==true&&execution.getVariable("sentSyncResponse")==false}]]></bpmn:conditionExpression>
94 <bpmn:sequenceFlow id="SequenceFlow_0eana0l" sourceRef="Task_SendSyncAckError" targetRef="Task_UpdateDb" />
95 <bpmn:serviceTask id="Task_SendSyncAckError" name="Send Sync Ack API Handler" camunda:asyncAfter="true" camunda:expression="${WorkflowActionBBTasks.sendSyncAck(execution)}">
96 <bpmn:incoming>SequenceFlow_0vi883o</bpmn:incoming>
97 <bpmn:outgoing>SequenceFlow_0eana0l</bpmn:outgoing>
100 <bpmn:sequenceFlow id="SequenceFlow_0v588sm" name="Rollback = true" sourceRef="ExclusiveGateway_Finished" targetRef="Task_RollbackExecutionPath">
101 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("handlingCode")=="Rollback"}]]></bpmn:conditionExpression>
103 <bpmn:sequenceFlow id="SequenceFlow_1atzsgn" sourceRef="Task_RollbackExecutionPath" targetRef="Task_SelectBB">
104 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isRollbackNeeded")==true}]]></bpmn:conditionExpression>
106 <bpmn:serviceTask id="Task_RollbackExecutionPath" name="Rollback Execution Path" camunda:expression="${WorkflowActionBBTasks.rollbackExecutionPath(execution)}">
107 <bpmn:incoming>SequenceFlow_0v588sm</bpmn:incoming>
108 <bpmn:outgoing>SequenceFlow_1atzsgn</bpmn:outgoing>
109 <bpmn:outgoing>SequenceFlow_11dlyzt</bpmn:outgoing>
111 <bpmn:sequenceFlow id="SequenceFlow_0vc9go9" sourceRef="Task_RetrieveBBExectuionList" targetRef="ExclusiveGateway_isTopLevelFlow" />
112 <bpmn:sequenceFlow id="SequenceFlow_11530ei" name="Abort = true" sourceRef="ExclusiveGateway_Finished" targetRef="ExclusiveGateway_isTopLevelFlowAbort">
113 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("handlingCode")=="Abort"}]]></bpmn:conditionExpression>
115 <bpmn:serviceTask id="Task_AbortAndCallErrorHandling" name="Update Request To Failed" camunda:expression="${WorkflowActionBBTasks.updateRequestStatusToFailed(execution)}">
116 <bpmn:incoming>SequenceFlow_02ksbt0</bpmn:incoming>
117 <bpmn:outgoing>SequenceFlow_1p8yxu6</bpmn:outgoing>
119 <bpmn:endEvent id="EndEvent_0lzz1ya" name="end">
120 <bpmn:incoming>SequenceFlow_1p8yxu6</bpmn:incoming>
121 <bpmn:incoming>SequenceFlow_1r570x3</bpmn:incoming>
123 <bpmn:sequenceFlow id="SequenceFlow_1p8yxu6" sourceRef="Task_AbortAndCallErrorHandling" targetRef="EndEvent_0lzz1ya" />
124 <bpmn:sequenceFlow id="SequenceFlow_1wb59ic" sourceRef="Task_SendSync" targetRef="Task_SelectBB" />
125 <bpmn:sequenceFlow id="SequenceFlow_01j184u" sourceRef="ExclusiveGateway_Finished" targetRef="Task_0a31dkf" />
126 <bpmn:sequenceFlow id="SequenceFlow_005hi8o" sourceRef="Task_0a31dkf" targetRef="Task_SelectBB" />
127 <bpmn:serviceTask id="Task_0a31dkf" name="Check Retry Status" camunda:expression="${WorkflowActionBBTasks.checkRetryStatus(execution)}">
128 <bpmn:incoming>SequenceFlow_01j184u</bpmn:incoming>
129 <bpmn:outgoing>SequenceFlow_005hi8o</bpmn:outgoing>
131 <bpmn:exclusiveGateway id="ExclusiveGateway_isTopLevelFlow" name="Is Top-Level Flow?" default="SequenceFlow_0sckerv">
132 <bpmn:incoming>SequenceFlow_0vc9go9</bpmn:incoming>
133 <bpmn:outgoing>SequenceFlow_0sckerv</bpmn:outgoing>
134 <bpmn:outgoing>SequenceFlow_0unbew4</bpmn:outgoing>
135 </bpmn:exclusiveGateway>
136 <bpmn:sequenceFlow id="SequenceFlow_0sckerv" name="yes" sourceRef="ExclusiveGateway_isTopLevelFlow" targetRef="Task_SendSync" />
137 <bpmn:sequenceFlow id="SequenceFlow_0unbew4" name="no" sourceRef="ExclusiveGateway_isTopLevelFlow" targetRef="Task_SelectBB">
138 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isTopLevelFlow")==false}]]></bpmn:conditionExpression>
140 <bpmn:exclusiveGateway id="ExclusiveGateway_isTopLevelFlowAbort" name="Is Top-Level Flow?" default="SequenceFlow_02ksbt0">
141 <bpmn:incoming>SequenceFlow_11530ei</bpmn:incoming>
142 <bpmn:outgoing>SequenceFlow_02ksbt0</bpmn:outgoing>
143 <bpmn:outgoing>SequenceFlow_1r570x3</bpmn:outgoing>
144 </bpmn:exclusiveGateway>
145 <bpmn:sequenceFlow id="SequenceFlow_02ksbt0" name="yes" sourceRef="ExclusiveGateway_isTopLevelFlowAbort" targetRef="Task_AbortAndCallErrorHandling" />
146 <bpmn:sequenceFlow id="SequenceFlow_1r570x3" name="no" sourceRef="ExclusiveGateway_isTopLevelFlowAbort" targetRef="EndEvent_0lzz1ya">
147 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isTopLevelFlow")==false}]]></bpmn:conditionExpression>
149 <bpmn:exclusiveGateway id="ExclusiveGateway_isTopLevelFlowC" name="Is Top-Level Flow?" default="SequenceFlow_0kf5sen">
150 <bpmn:incoming>SequenceFlow_1m2eezj</bpmn:incoming>
151 <bpmn:outgoing>SequenceFlow_0kf5sen</bpmn:outgoing>
152 <bpmn:outgoing>SequenceFlow_0x4urgp</bpmn:outgoing>
153 </bpmn:exclusiveGateway>
154 <bpmn:sequenceFlow id="SequenceFlow_0kf5sen" name="yes" sourceRef="ExclusiveGateway_isTopLevelFlowC" targetRef="Task_SetupCompleteMsoProcess" />
155 <bpmn:sequenceFlow id="SequenceFlow_0x4urgp" name="no" sourceRef="ExclusiveGateway_isTopLevelFlowC" targetRef="End_WorkflowActionBB">
156 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isTopLevelFlow")==false}]]></bpmn:conditionExpression>
158 <bpmn:endEvent id="End_RollbackFailed" name="end">
159 <bpmn:incoming>SequenceFlow_1ui67mc</bpmn:incoming>
161 <bpmn:sequenceFlow id="SequenceFlow_11dlyzt" name="Rollback Not Needed" sourceRef="Task_RollbackExecutionPath" targetRef="Task_UpdateRequestToFailed">
162 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("isRollbackNeeded")==false}]]></bpmn:conditionExpression>
164 <bpmn:serviceTask id="Task_UpdateRequestToFailed" name="Update Request To Failed" camunda:expression="${WorkflowActionBBTasks.updateRequestStatusToFailed(execution)}">
165 <bpmn:incoming>SequenceFlow_11dlyzt</bpmn:incoming>
166 <bpmn:incoming>SequenceFlow_0l7kaba</bpmn:incoming>
167 <bpmn:outgoing>SequenceFlow_1ui67mc</bpmn:outgoing>
169 <bpmn:sequenceFlow id="SequenceFlow_0l7kaba" name="Rollback Completed" sourceRef="ExclusiveGateway_Finished" targetRef="Task_UpdateRequestToFailed">
170 <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("completed")==true&&execution.getVariable("handlingCode")=="PreformingRollback"}]]></bpmn:conditionExpression>
172 <bpmn:sequenceFlow id="SequenceFlow_1ui67mc" sourceRef="Task_UpdateRequestToFailed" targetRef="End_RollbackFailed" />
173 <bpmn:subProcess id="SubProcess_0fuugr9" name="Java Exception Handling Sub Process" triggeredByEvent="true">
174 <bpmn:startEvent id="StartEvent_runtimeError" name="error">
175 <bpmn:outgoing>SequenceFlow_11d126w</bpmn:outgoing>
176 <bpmn:errorEventDefinition errorRef="Error_0kd2o2a" camunda:errorCodeVariable="BPMN_javaExpCode" camunda:errorMessageVariable="BPMN_javaExpMsg" />
178 <bpmn:serviceTask id="ServiceTask_HandleRuntimeError" name="Handle Runtime Exception" camunda:expression="${WorkflowAction.handleRuntimeException(execution)}">
179 <bpmn:incoming>SequenceFlow_11d126w</bpmn:incoming>
180 <bpmn:outgoing>SequenceFlow_0w4sx88</bpmn:outgoing>
182 <bpmn:endEvent id="EndEvent__runtimeError">
183 <bpmn:incoming>SequenceFlow_0w4sx88</bpmn:incoming>
185 <bpmn:sequenceFlow id="SequenceFlow_11d126w" sourceRef="StartEvent_runtimeError" targetRef="ServiceTask_HandleRuntimeError" />
186 <bpmn:sequenceFlow id="SequenceFlow_0w4sx88" sourceRef="ServiceTask_HandleRuntimeError" targetRef="EndEvent__runtimeError" />
189 <bpmn:error id="Error_0kd2o2a" name="java.lang.Exception" errorCode="java.lang.Exception" />
190 <bpmndi:BPMNDiagram id="BPMNDiagram_1">
191 <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="WorkflowActionBB">
192 <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_WorkflowActionBB">
193 <dc:Bounds x="-52" y="102" width="36" height="36" />
195 <dc:Bounds x="-45" y="138" width="22" height="12" />
198 <bpmndi:BPMNShape id="EndEvent_1uv6erv_di" bpmnElement="End_WorkflowActionBB">
199 <dc:Bounds x="1281" y="147" width="36" height="36" />
201 <dc:Bounds x="1290" y="186" width="19" height="13" />
204 <bpmndi:BPMNEdge id="SequenceFlow_15s0okp_di" bpmnElement="SequenceFlow_15s0okp">
205 <di:waypoint xsi:type="dc:Point" x="-16" y="120" />
206 <di:waypoint xsi:type="dc:Point" x="17" y="120" />
208 <dc:Bounds x="-44.5" y="98.5" width="90" height="13" />
211 <bpmndi:BPMNShape id="CallActivity_03m7z4y_di" bpmnElement="Call_ExecuteBB">
212 <dc:Bounds x="560" y="80" width="100" height="80" />
214 <bpmndi:BPMNEdge id="SequenceFlow_0mqrkxv_di" bpmnElement="SequenceFlow_0mqrkxv">
215 <di:waypoint xsi:type="dc:Point" x="528" y="120" />
216 <di:waypoint xsi:type="dc:Point" x="560" y="120" />
218 <dc:Bounds x="544" y="99" width="0" height="0" />
221 <bpmndi:BPMNShape id="ServiceTask_1snenqk_di" bpmnElement="Task_SelectBB">
222 <dc:Bounds x="428" y="80" width="100" height="80" />
224 <bpmndi:BPMNShape id="ExclusiveGateway_0m1zt0q_di" bpmnElement="ExclusiveGateway_Finished" isMarkerVisible="true">
225 <dc:Bounds x="692" y="95" width="50" height="50" />
227 <dc:Bounds x="676" y="42" width="0" height="0" />
230 <bpmndi:BPMNEdge id="SequenceFlow_07h9d4y_di" bpmnElement="SequenceFlow_07h9d4y">
231 <di:waypoint xsi:type="dc:Point" x="660" y="120" />
232 <di:waypoint xsi:type="dc:Point" x="692" y="120" />
234 <dc:Bounds x="676" y="99" width="0" height="0" />
237 <bpmndi:BPMNEdge id="SequenceFlow_1m2eezj_di" bpmnElement="SequenceFlow_1m2eezj">
238 <di:waypoint xsi:type="dc:Point" x="730" y="132" />
239 <di:waypoint xsi:type="dc:Point" x="761" y="165" />
240 <di:waypoint xsi:type="dc:Point" x="841" y="165" />
242 <dc:Bounds x="749" y="168" width="83" height="12" />
245 <bpmndi:BPMNShape id="ServiceTask_0kn8jt8_di" bpmnElement="Task_RetrieveBBExectuionList">
246 <dc:Bounds x="17" y="80" width="100" height="80" />
248 <bpmndi:BPMNShape id="ServiceTask_0654g3m_di" bpmnElement="Task_SendSync">
249 <dc:Bounds x="235" y="-7" width="100" height="80" />
251 <bpmndi:BPMNShape id="ServiceTask_0wzh11j_di" bpmnElement="Task_SetupCompleteMsoProcess">
252 <dc:Bounds x="900" y="210" width="100" height="80" />
254 <bpmndi:BPMNShape id="CallActivity_1jxi5jq_di" bpmnElement="Call_CompleteMsoProcess">
255 <dc:Bounds x="1027" y="210" width="100" height="80" />
257 <bpmndi:BPMNEdge id="SequenceFlow_1pz6edz_di" bpmnElement="SequenceFlow_1pz6edz">
258 <di:waypoint xsi:type="dc:Point" x="1000" y="250" />
259 <di:waypoint xsi:type="dc:Point" x="1027" y="250" />
261 <dc:Bounds x="1014" y="229" width="0" height="0" />
264 <bpmndi:BPMNEdge id="SequenceFlow_1rscv7d_di" bpmnElement="SequenceFlow_1rscv7d">
265 <di:waypoint xsi:type="dc:Point" x="1127" y="250" />
266 <di:waypoint xsi:type="dc:Point" x="1147" y="250" />
267 <di:waypoint xsi:type="dc:Point" x="1147" y="165" />
268 <di:waypoint xsi:type="dc:Point" x="1281" y="165" />
270 <dc:Bounds x="1117" y="207.5" width="90" height="0" />
273 <bpmndi:BPMNShape id="SubProcess_18226x4_di" bpmnElement="SubProcess_18226x4" isExpanded="true">
274 <dc:Bounds x="498" y="444" width="438" height="297" />
276 <bpmndi:BPMNShape id="StartEvent_184g7f3_di" bpmnElement="ErrorStart">
277 <dc:Bounds x="520" y="639" width="36" height="36" />
279 <dc:Bounds x="526" y="682" width="24" height="12" />
282 <bpmndi:BPMNShape id="EndEvent_0l4edvr_di" bpmnElement="ErrorEnd">
283 <dc:Bounds x="880" y="639" width="36" height="36" />
285 <dc:Bounds x="890" y="681" width="18" height="12" />
288 <bpmndi:BPMNEdge id="SequenceFlow_0v588sm_di" bpmnElement="SequenceFlow_0v588sm">
289 <di:waypoint xsi:type="dc:Point" x="717" y="145" />
290 <di:waypoint xsi:type="dc:Point" x="717" y="262" />
291 <di:waypoint xsi:type="dc:Point" x="528" y="262" />
293 <dc:Bounds x="638.5121951219512" y="272" width="74" height="13" />
296 <bpmndi:BPMNEdge id="SequenceFlow_1atzsgn_di" bpmnElement="SequenceFlow_1atzsgn">
297 <di:waypoint xsi:type="dc:Point" x="478" y="222" />
298 <di:waypoint xsi:type="dc:Point" x="478" y="160" />
300 <dc:Bounds x="448" y="191" width="90" height="0" />
303 <bpmndi:BPMNShape id="ServiceTask_19t1oyr_di" bpmnElement="Task_RollbackExecutionPath">
304 <dc:Bounds x="428" y="222" width="100" height="80" />
306 <bpmndi:BPMNEdge id="SequenceFlow_0vc9go9_di" bpmnElement="SequenceFlow_0vc9go9">
307 <di:waypoint xsi:type="dc:Point" x="117" y="120" />
308 <di:waypoint xsi:type="dc:Point" x="150" y="120" />
310 <dc:Bounds x="134" y="105" width="0" height="0" />
313 <bpmndi:BPMNEdge id="SequenceFlow_11530ei_di" bpmnElement="SequenceFlow_11530ei">
314 <di:waypoint xsi:type="dc:Point" x="727" y="105" />
315 <di:waypoint xsi:type="dc:Point" x="764" y="44" />
316 <di:waypoint xsi:type="dc:Point" x="841" y="45" />
318 <dc:Bounds x="756" y="17.269982652857244" width="57" height="12" />
321 <bpmndi:BPMNShape id="ServiceTask_0jo36ez_di" bpmnElement="Task_AbortAndCallErrorHandling">
322 <dc:Bounds x="957" y="-76" width="100" height="80" />
324 <bpmndi:BPMNShape id="EndEvent_0lzz1ya_di" bpmnElement="EndEvent_0lzz1ya">
325 <dc:Bounds x="1167" y="27" width="36" height="36" />
327 <dc:Bounds x="1176" y="67" width="18" height="12" />
330 <bpmndi:BPMNEdge id="SequenceFlow_1p8yxu6_di" bpmnElement="SequenceFlow_1p8yxu6">
331 <di:waypoint xsi:type="dc:Point" x="1057" y="-36" />
332 <di:waypoint xsi:type="dc:Point" x="1140" y="-36" />
333 <di:waypoint xsi:type="dc:Point" x="1140" y="45" />
334 <di:waypoint xsi:type="dc:Point" x="1167" y="45" />
336 <dc:Bounds x="1155" y="4.5" width="0" height="0" />
339 <bpmndi:BPMNEdge id="SequenceFlow_1wb59ic_di" bpmnElement="SequenceFlow_1wb59ic">
340 <di:waypoint xsi:type="dc:Point" x="335" y="33" />
341 <di:waypoint xsi:type="dc:Point" x="382" y="33" />
342 <di:waypoint xsi:type="dc:Point" x="382" y="120" />
343 <di:waypoint xsi:type="dc:Point" x="428" y="120" />
345 <dc:Bounds x="397" y="76.5" width="0" height="0" />
348 <bpmndi:BPMNEdge id="SequenceFlow_01j184u_di" bpmnElement="SequenceFlow_01j184u">
349 <di:waypoint xsi:type="dc:Point" x="717" y="95" />
350 <di:waypoint xsi:type="dc:Point" x="717" y="55" />
351 <di:waypoint xsi:type="dc:Point" x="717" y="55" />
352 <di:waypoint xsi:type="dc:Point" x="717" y="4" />
354 <dc:Bounds x="732" y="49" width="0" height="0" />
357 <bpmndi:BPMNEdge id="SequenceFlow_005hi8o_di" bpmnElement="SequenceFlow_005hi8o">
358 <di:waypoint xsi:type="dc:Point" x="667" y="-36" />
359 <di:waypoint xsi:type="dc:Point" x="478" y="-36" />
360 <di:waypoint xsi:type="dc:Point" x="478" y="80" />
362 <dc:Bounds x="573" y="-57" width="0" height="0" />
365 <bpmndi:BPMNShape id="ServiceTask_1c1v3p1_di" bpmnElement="Task_0a31dkf">
366 <dc:Bounds x="667" y="-76" width="100" height="80" />
368 <bpmndi:BPMNShape id="ExclusiveGateway_0ptb1yi_di" bpmnElement="ExclusiveGateway_isTopLevelFlow" isMarkerVisible="true">
369 <dc:Bounds x="150" y="95" width="50" height="50" />
371 <dc:Bounds x="144" y="145" width="61" height="24" />
374 <bpmndi:BPMNEdge id="SequenceFlow_0sckerv_di" bpmnElement="SequenceFlow_0sckerv">
375 <di:waypoint xsi:type="dc:Point" x="176" y="96" />
376 <di:waypoint xsi:type="dc:Point" x="176" y="33" />
377 <di:waypoint xsi:type="dc:Point" x="235" y="33" />
379 <dc:Bounds x="182" y="54.5" width="18" height="12" />
382 <bpmndi:BPMNEdge id="SequenceFlow_0unbew4_di" bpmnElement="SequenceFlow_0unbew4">
383 <di:waypoint xsi:type="dc:Point" x="200" y="120" />
384 <di:waypoint xsi:type="dc:Point" x="428" y="120" />
386 <dc:Bounds x="308" y="95" width="12" height="12" />
389 <bpmndi:BPMNShape id="ExclusiveGateway_001g41v_di" bpmnElement="ExclusiveGateway_isTopLevelFlowAbort" isMarkerVisible="true">
390 <dc:Bounds x="841" y="20" width="50" height="50" />
392 <dc:Bounds x="835" y="70" width="61" height="24" />
395 <bpmndi:BPMNEdge id="SequenceFlow_02ksbt0_di" bpmnElement="SequenceFlow_02ksbt0">
396 <di:waypoint xsi:type="dc:Point" x="866" y="20" />
397 <di:waypoint xsi:type="dc:Point" x="866" y="-37" />
398 <di:waypoint xsi:type="dc:Point" x="957" y="-37" />
400 <dc:Bounds x="872" y="-8.5" width="18" height="12" />
403 <bpmndi:BPMNEdge id="SequenceFlow_1r570x3_di" bpmnElement="SequenceFlow_1r570x3">
404 <di:waypoint xsi:type="dc:Point" x="891" y="45" />
405 <di:waypoint xsi:type="dc:Point" x="1167" y="45" />
407 <dc:Bounds x="1023" y="20" width="12" height="12" />
410 <bpmndi:BPMNShape id="ExclusiveGateway_1er1kam_di" bpmnElement="ExclusiveGateway_isTopLevelFlowC" isMarkerVisible="true">
411 <dc:Bounds x="841" y="140" width="50" height="50" />
413 <dc:Bounds x="835" y="108" width="61" height="24" />
416 <bpmndi:BPMNEdge id="SequenceFlow_0kf5sen_di" bpmnElement="SequenceFlow_0kf5sen">
417 <di:waypoint xsi:type="dc:Point" x="866" y="190" />
418 <di:waypoint xsi:type="dc:Point" x="866" y="250" />
419 <di:waypoint xsi:type="dc:Point" x="900" y="250" />
421 <dc:Bounds x="872" y="220" width="18" height="12" />
424 <bpmndi:BPMNEdge id="SequenceFlow_0x4urgp_di" bpmnElement="SequenceFlow_0x4urgp">
425 <di:waypoint xsi:type="dc:Point" x="891" y="165" />
426 <di:waypoint xsi:type="dc:Point" x="1281" y="165" />
428 <dc:Bounds x="1080.2065217391305" y="140" width="13" height="13" />
431 <bpmndi:BPMNShape id="EndEvent_1q8eh5e_di" bpmnElement="End_RollbackFailed">
432 <dc:Bounds x="940" y="347" width="36" height="36" />
434 <dc:Bounds x="958" y="399" width="18" height="12" />
437 <bpmndi:BPMNEdge id="SequenceFlow_11dlyzt_di" bpmnElement="SequenceFlow_11dlyzt">
438 <di:waypoint xsi:type="dc:Point" x="478" y="302" />
439 <di:waypoint xsi:type="dc:Point" x="478" y="368" />
440 <di:waypoint xsi:type="dc:Point" x="741" y="368" />
442 <dc:Bounds x="495" y="324.65" width="62" height="24" />
445 <bpmndi:BPMNShape id="ServiceTask_1h154rn_di" bpmnElement="Task_UpdateDb">
446 <dc:Bounds x="713" y="617" width="100" height="80" />
448 <bpmndi:BPMNShape id="ServiceTask_1t8n9gd_di" bpmnElement="Task_UpdateRequestToFailed">
449 <dc:Bounds x="741" y="325" width="100" height="80" />
451 <bpmndi:BPMNEdge id="SequenceFlow_0l7kaba_di" bpmnElement="SequenceFlow_0l7kaba">
452 <di:waypoint xsi:type="dc:Point" x="723" y="139" />
453 <di:waypoint xsi:type="dc:Point" x="757" y="252" />
454 <di:waypoint xsi:type="dc:Point" x="797" y="252" />
455 <di:waypoint xsi:type="dc:Point" x="797" y="325" />
457 <dc:Bounds x="739.7268586738111" y="255.4388401674105" width="52" height="24" />
460 <bpmndi:BPMNEdge id="SequenceFlow_1edjl5x_di" bpmnElement="SequenceFlow_1edjl5x">
461 <di:waypoint xsi:type="dc:Point" x="556" y="657" />
462 <di:waypoint xsi:type="dc:Point" x="602" y="657" />
464 <dc:Bounds x="534" y="636" width="90" height="12" />
467 <bpmndi:BPMNEdge id="SequenceFlow_0wvzfgf_di" bpmnElement="SequenceFlow_0wvzfgf">
468 <di:waypoint xsi:type="dc:Point" x="813" y="657" />
469 <di:waypoint xsi:type="dc:Point" x="880" y="657" />
471 <dc:Bounds x="801.5" y="636" width="90" height="12" />
474 <bpmndi:BPMNEdge id="SequenceFlow_1ui67mc_di" bpmnElement="SequenceFlow_1ui67mc">
475 <di:waypoint xsi:type="dc:Point" x="841" y="365" />
476 <di:waypoint xsi:type="dc:Point" x="915" y="365" />
477 <di:waypoint xsi:type="dc:Point" x="915" y="365" />
478 <di:waypoint xsi:type="dc:Point" x="940" y="365" />
480 <dc:Bounds x="885" y="358.5" width="90" height="13" />
483 <bpmndi:BPMNShape id="ExclusiveGateway_10q79b6_di" bpmnElement="ExclusiveGateway_10q79b6" isMarkerVisible="true">
484 <dc:Bounds x="602" y="632" width="50" height="50" />
486 <dc:Bounds x="584" y="686" width="86" height="36" />
489 <bpmndi:BPMNEdge id="SequenceFlow_024g0d1_di" bpmnElement="SequenceFlow_024g0d1">
490 <di:waypoint xsi:type="dc:Point" x="652" y="657" />
491 <di:waypoint xsi:type="dc:Point" x="683" y="657" />
492 <di:waypoint xsi:type="dc:Point" x="683" y="657" />
493 <di:waypoint xsi:type="dc:Point" x="713" y="657" />
495 <dc:Bounds x="677" y="634" width="12" height="12" />
498 <bpmndi:BPMNEdge id="SequenceFlow_0vi883o_di" bpmnElement="SequenceFlow_0vi883o">
499 <di:waypoint xsi:type="dc:Point" x="627" y="632" />
500 <di:waypoint xsi:type="dc:Point" x="627" y="548" />
501 <di:waypoint xsi:type="dc:Point" x="713" y="548" />
503 <dc:Bounds x="633" y="584" width="18" height="12" />
506 <bpmndi:BPMNEdge id="SequenceFlow_0eana0l_di" bpmnElement="SequenceFlow_0eana0l">
507 <di:waypoint xsi:type="dc:Point" x="763" y="588" />
508 <di:waypoint xsi:type="dc:Point" x="763" y="617" />
510 <dc:Bounds x="778" y="596.5" width="0" height="12" />
513 <bpmndi:BPMNShape id="ServiceTask_10hs368_di" bpmnElement="Task_SendSyncAckError">
514 <dc:Bounds x="713" y="508" width="100" height="80" />
516 <bpmndi:BPMNShape id="SubProcess_0fuugr9_di" bpmnElement="SubProcess_0fuugr9" isExpanded="true">
517 <dc:Bounds x="515" y="792" width="404" height="165" />
519 <bpmndi:BPMNShape id="StartEvent_15qkxd7_di" bpmnElement="StartEvent_runtimeError">
520 <dc:Bounds x="570" y="857" width="36" height="36" />
522 <dc:Bounds x="577" y="900" width="24" height="12" />
525 <bpmndi:BPMNShape id="ServiceTask_1p4kxh2_di" bpmnElement="ServiceTask_HandleRuntimeError">
526 <dc:Bounds x="690" y="835" width="100" height="80" />
528 <bpmndi:BPMNShape id="EndEvent_09e3lu5_di" bpmnElement="EndEvent__runtimeError">
529 <dc:Bounds x="856" y="857" width="36" height="36" />
531 <dc:Bounds x="784" y="897" width="0" height="12" />
534 <bpmndi:BPMNEdge id="SequenceFlow_11d126w_di" bpmnElement="SequenceFlow_11d126w">
535 <di:waypoint xsi:type="dc:Point" x="606" y="875" />
536 <di:waypoint xsi:type="dc:Point" x="690" y="875" />
538 <dc:Bounds x="603" y="854" width="0" height="12" />
541 <bpmndi:BPMNEdge id="SequenceFlow_0w4sx88_di" bpmnElement="SequenceFlow_0w4sx88">
542 <di:waypoint xsi:type="dc:Point" x="790" y="875" />
543 <di:waypoint xsi:type="dc:Point" x="856" y="875" />
545 <dc:Bounds x="778" y="854" width="0" height="12" />
549 </bpmndi:BPMNDiagram>