Merge "Updated to send back actual exception message"
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / ExecuteBuildingBlock.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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:camunda="http://camunda.org/schema/1.0/bpmn" id="Definitions_1" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="1.4.0">
3   <bpmn:process id="ExecuteBuildingBlock" name="ExecuteBuildingBlock" isExecutable="true">
4     <bpmn:startEvent id="Start_ExecuteBuildingBlock" name="start">
5       <bpmn:outgoing>SequenceFlow_0rq4c5r</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:callActivity id="Call_BBToExecute" name="BB to Execute" calledElement="${flowToBeCalled}">
8       <bpmn:extensionElements>
9         <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
10         <camunda:out source="WorkflowException" target="WorkflowException" />
11         <camunda:in source="mso-request-id" target="mso-request-id" />
12         <camunda:out source="WorkflowExceptionErrorMessage" target="WorkflowExceptionErrorMessage" />
13         <camunda:out source="StatusMessage" target="StatusMessage" />
14         <camunda:in source="isRollback" target="isRollback" />
15       </bpmn:extensionElements>
16       <bpmn:incoming>SequenceFlow_19wuics</bpmn:incoming>
17       <bpmn:outgoing>SequenceFlow_01h9qmz</bpmn:outgoing>
18     </bpmn:callActivity>
19     <bpmn:sequenceFlow id="SequenceFlow_0rq4c5r" sourceRef="Start_ExecuteBuildingBlock" targetRef="Task_BBInputSetup" />
20     <bpmn:sequenceFlow id="SequenceFlow_0uzwjrq" sourceRef="Task_BBInputSetup" targetRef="StatusPolicy" />
21     <bpmn:serviceTask id="Task_BBInputSetup" name="BB Input Setup" camunda:expression="${BBInputSetup.execute(execution)}">
22       <bpmn:incoming>SequenceFlow_0rq4c5r</bpmn:incoming>
23       <bpmn:outgoing>SequenceFlow_0uzwjrq</bpmn:outgoing>
24     </bpmn:serviceTask>
25     <bpmn:endEvent id="End_ExecuteBuildingBlock" name="end">
26       <bpmn:incoming>SequenceFlow_16lmcxp</bpmn:incoming>
27     </bpmn:endEvent>
28     <bpmn:sequenceFlow id="SequenceFlow_01h9qmz" sourceRef="Call_BBToExecute" targetRef="Task_PostValidate" />
29     <bpmn:sequenceFlow id="Continue" name="Continue" sourceRef="CheckOrchestrationStatusValidationResults" targetRef="Task_PreValidate" />
30     <bpmn:serviceTask id="StatusPolicy" name="StatusPolicy" camunda:expression="${OrchestrationStatusValidator.validateOrchestrationStatus(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
31       <bpmn:incoming>SequenceFlow_0uzwjrq</bpmn:incoming>
32       <bpmn:outgoing>SequenceFlow_0je0y25</bpmn:outgoing>
33     </bpmn:serviceTask>
34     <bpmn:exclusiveGateway id="CheckOrchestrationStatusValidationResults" name="Check OrchestrationStatus Validation Results" default="Continue">
35       <bpmn:incoming>SequenceFlow_0je0y25</bpmn:incoming>
36       <bpmn:outgoing>Continue</bpmn:outgoing>
37       <bpmn:outgoing>SequenceFlow_1j0vskt</bpmn:outgoing>
38     </bpmn:exclusiveGateway>
39     <bpmn:sequenceFlow id="SequenceFlow_0je0y25" sourceRef="StatusPolicy" targetRef="CheckOrchestrationStatusValidationResults" />
40     <bpmn:subProcess id="SubProcess_0tv8zda" name="Error Handling&#10;&#10;" triggeredByEvent="true">
41       <bpmn:serviceTask id="Task_QueryRainyDayTable" name="QueryRainyDayTable" camunda:expression="${ExecuteBuildingBlockRainyDay.queryRainyDayTable(execution,true)}">
42         <bpmn:incoming>SequenceFlow_0vdeqxv</bpmn:incoming>
43         <bpmn:outgoing>SequenceFlow_0a62t4c</bpmn:outgoing>
44       </bpmn:serviceTask>
45       <bpmn:exclusiveGateway id="ExclusiveGateway_1aonzik" name="Check HandlingCode" default="SequenceFlow_0h8v45y">
46         <bpmn:incoming>SequenceFlow_0a62t4c</bpmn:incoming>
47         <bpmn:incoming>SequenceFlow_05le7o3</bpmn:incoming>
48         <bpmn:outgoing>SequenceFlow_0fwsjva</bpmn:outgoing>
49         <bpmn:outgoing>SequenceFlow_0h8v45y</bpmn:outgoing>
50         <bpmn:outgoing>SequenceFlow_1xh5ngw</bpmn:outgoing>
51         <bpmn:outgoing>SequenceFlow_0xyd2zl</bpmn:outgoing>
52         <bpmn:outgoing>SequenceFlow_1g7oq3t</bpmn:outgoing>
53       </bpmn:exclusiveGateway>
54       <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_RetryTimer" name="RetryTimer">
55         <bpmn:incoming>SequenceFlow_0ndt8ft</bpmn:incoming>
56         <bpmn:outgoing>SequenceFlow_07a1ytc</bpmn:outgoing>
57         <bpmn:timerEventDefinition>
58           <bpmn:timeDuration xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("RetryDuration")}]]></bpmn:timeDuration>
59         </bpmn:timerEventDefinition>
60       </bpmn:intermediateCatchEvent>
61       <bpmn:exclusiveGateway id="ExclusiveGateway_0ey4zpt" name="Retries Left?">
62         <bpmn:incoming>SequenceFlow_0fwsjva</bpmn:incoming>
63         <bpmn:outgoing>SequenceFlow_1wbevp0</bpmn:outgoing>
64         <bpmn:outgoing>SequenceFlow_0541bid</bpmn:outgoing>
65       </bpmn:exclusiveGateway>
66       <bpmn:serviceTask id="Task_SetRetryTimer" name="Set Retry Timer" camunda:expression="${ExecuteBuildingBlockRainyDay.setRetryTimer(execution)}">
67         <bpmn:incoming>SequenceFlow_1wbevp0</bpmn:incoming>
68         <bpmn:outgoing>SequenceFlow_0ndt8ft</bpmn:outgoing>
69       </bpmn:serviceTask>
70       <bpmn:sequenceFlow id="SequenceFlow_0a62t4c" sourceRef="Task_QueryRainyDayTable" targetRef="ExclusiveGateway_1aonzik" />
71       <bpmn:sequenceFlow id="SequenceFlow_0h8v45y" name="Rollback or Abort" sourceRef="ExclusiveGateway_1aonzik" targetRef="EndEvent_0mvmk3i" />
72       <bpmn:sequenceFlow id="SequenceFlow_0fwsjva" name="Retry" sourceRef="ExclusiveGateway_1aonzik" targetRef="ExclusiveGateway_0ey4zpt">
73         <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("handlingCode")=="Retry"}]]></bpmn:conditionExpression>
74       </bpmn:sequenceFlow>
75       <bpmn:sequenceFlow id="SequenceFlow_0ndt8ft" sourceRef="Task_SetRetryTimer" targetRef="IntermediateCatchEvent_RetryTimer" />
76       <bpmn:sequenceFlow id="SequenceFlow_07a1ytc" sourceRef="IntermediateCatchEvent_RetryTimer" targetRef="EndEvent_1sez2lh" />
77       <bpmn:sequenceFlow id="SequenceFlow_1wbevp0" name="yes" sourceRef="ExclusiveGateway_0ey4zpt" targetRef="Task_SetRetryTimer">
78         <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("retryCount")<execution.getVariable("maxRetries")}]]></bpmn:conditionExpression>
79       </bpmn:sequenceFlow>
80       <bpmn:endEvent id="EndEvent_0mvmk3i">
81         <bpmn:incoming>SequenceFlow_0h8v45y</bpmn:incoming>
82       </bpmn:endEvent>
83       <bpmn:endEvent id="EndEvent_1sez2lh" name="end">
84         <bpmn:incoming>SequenceFlow_07a1ytc</bpmn:incoming>
85         <bpmn:terminateEventDefinition />
86       </bpmn:endEvent>
87       <bpmn:sequenceFlow id="SequenceFlow_0541bid" name="no" sourceRef="ExclusiveGateway_0ey4zpt" targetRef="Task_QuerySecondaryPolicy" />
88       <bpmn:sequenceFlow id="SequenceFlow_12ps9at" sourceRef="Task_QuerySecondaryPolicy" targetRef="EndEvent_0ex9298" />
89       <bpmn:endEvent id="EndEvent_0ex9298" name="end">
90         <bpmn:incoming>SequenceFlow_12ps9at</bpmn:incoming>
91       </bpmn:endEvent>
92       <bpmn:serviceTask id="Task_QuerySecondaryPolicy" name="Query Secondary Policy" camunda:expression="${ExecuteBuildingBlockRainyDay.queryRainyDayTable(execution,false)}">
93         <bpmn:incoming>SequenceFlow_0541bid</bpmn:incoming>
94         <bpmn:incoming>SequenceFlow_1g7oq3t</bpmn:incoming>
95         <bpmn:outgoing>SequenceFlow_12ps9at</bpmn:outgoing>
96       </bpmn:serviceTask>
97       <bpmn:sequenceFlow id="SequenceFlow_0vdeqxv" sourceRef="Task_UpdateExtErrorSource" targetRef="Task_QueryRainyDayTable" />
98       <bpmn:sequenceFlow id="SequenceFlow_09synl9" sourceRef="StartEvent_0tmcs9g" targetRef="Task_UpdateExtErrorSource" />
99       <bpmn:startEvent id="StartEvent_0tmcs9g">
100         <bpmn:outgoing>SequenceFlow_09synl9</bpmn:outgoing>
101         <bpmn:errorEventDefinition camunda:errorCodeVariable="WorkflowExceptionCode" camunda:errorMessageVariable="WorkflowExceptionMessage" />
102       </bpmn:startEvent>
103       <bpmn:serviceTask id="Task_UpdateExtErrorSource" name="Update ExtErrorSource" camunda:expression="${ExecuteBuildingBlockRainyDay.updateExtSystemErrorSource(execution)}">
104         <bpmn:incoming>SequenceFlow_09synl9</bpmn:incoming>
105         <bpmn:outgoing>SequenceFlow_0vdeqxv</bpmn:outgoing>
106       </bpmn:serviceTask>
107       <bpmn:sequenceFlow id="SequenceFlow_05le7o3" sourceRef="PauseForManualTaskRainyDay" targetRef="ExclusiveGateway_1aonzik" />
108       <bpmn:sequenceFlow id="SequenceFlow_1xh5ngw" name="Manual" sourceRef="ExclusiveGateway_1aonzik" targetRef="PauseForManualTaskRainyDay">
109         <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("handlingCode")=="Manual"}]]></bpmn:conditionExpression>
110       </bpmn:sequenceFlow>
111       <bpmn:sequenceFlow id="SequenceFlow_0xyd2zl" name="Skip" sourceRef="ExclusiveGateway_1aonzik" targetRef="Task_setHandlingCodeSuccessOnSkip">
112         <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("handlingCode")=="Skip"}]]></bpmn:conditionExpression>
113       </bpmn:sequenceFlow>
114       <bpmn:serviceTask id="Task_setHandlingCodeSuccessOnSkip" name="Set Handling Code to Success" camunda:expression="${ExecuteBuildingBlockRainyDay.setHandlingStatusSuccess(execution)}">
115         <bpmn:incoming>SequenceFlow_0xyd2zl</bpmn:incoming>
116         <bpmn:outgoing>SequenceFlow_1ynai9j</bpmn:outgoing>
117       </bpmn:serviceTask>
118       <bpmn:callActivity id="PauseForManualTaskRainyDay" name="Pause for Manual Task Rainy Day" calledElement="PauseForManualTaskRainyDay">
119         <bpmn:extensionElements>
120           <camunda:out source="responseValueTask" target="handlingCode" />
121           <camunda:in source="gBuildingBlockExecution" target="gBuildingBlockExecution" />
122           <camunda:in source="rainyDayServiceType" target="rainyDayServiceType" />
123           <camunda:in source="rainyDayVnfType" target="rainyDayVnfType" />
124           <camunda:in source="WorkflowException" target="WorkflowException" />
125           <camunda:in source="rainyDayVnfName" target="rainyDayVnfName" />
126         </bpmn:extensionElements>
127         <bpmn:incoming>SequenceFlow_1xh5ngw</bpmn:incoming>
128         <bpmn:outgoing>SequenceFlow_05le7o3</bpmn:outgoing>
129       </bpmn:callActivity>
130       <bpmn:endEvent id="EndEvent_1py1er4" name="end">
131         <bpmn:incoming>SequenceFlow_1ynai9j</bpmn:incoming>
132       </bpmn:endEvent>
133       <bpmn:sequenceFlow id="SequenceFlow_1ynai9j" sourceRef="Task_setHandlingCodeSuccessOnSkip" targetRef="EndEvent_1py1er4" />
134       <bpmn:sequenceFlow id="SequenceFlow_1g7oq3t" name="Timeout" sourceRef="ExclusiveGateway_1aonzik" targetRef="Task_QuerySecondaryPolicy">
135         <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("handlingCode")=="Timeout"}]]></bpmn:conditionExpression>
136       </bpmn:sequenceFlow>
137     </bpmn:subProcess>
138     <bpmn:sequenceFlow id="SequenceFlow_16lmcxp" sourceRef="Task_setHandlingCodeSuccess" targetRef="End_ExecuteBuildingBlock" />
139     <bpmn:sequenceFlow id="SequenceFlow_1j0vskt" name="Silent Success" sourceRef="CheckOrchestrationStatusValidationResults" targetRef="Task_setHandlingCodeSuccess">
140       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression"><![CDATA[${execution.getVariable("orchestrationStatusValidationResult").name() ==  "SILENT_SUCCESS"}]]></bpmn:conditionExpression>
141     </bpmn:sequenceFlow>
142     <bpmn:serviceTask id="Task_setHandlingCodeSuccess" name="Set Handling Code To Success" camunda:expression="${ExecuteBuildingBlockRainyDay.setHandlingStatusSuccess(execution)}">
143       <bpmn:incoming>SequenceFlow_1j0vskt</bpmn:incoming>
144       <bpmn:incoming>SequenceFlow_12a4hhf</bpmn:incoming>
145       <bpmn:outgoing>SequenceFlow_16lmcxp</bpmn:outgoing>
146     </bpmn:serviceTask>
147     <bpmn:sequenceFlow id="SequenceFlow_19wuics" sourceRef="Task_PreValidate" targetRef="Call_BBToExecute" />
148     <bpmn:sequenceFlow id="SequenceFlow_12a4hhf" sourceRef="Task_PostValidate" targetRef="Task_setHandlingCodeSuccess" />
149     <bpmn:serviceTask id="Task_PreValidate" name="PreValidate" camunda:expression="${BuildingBlockValidatorRunner.preValidate(execution.getVariable(&#34;flowToBeCalled&#34;), InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
150       <bpmn:incoming>Continue</bpmn:incoming>
151       <bpmn:outgoing>SequenceFlow_19wuics</bpmn:outgoing>
152     </bpmn:serviceTask>
153     <bpmn:serviceTask id="Task_PostValidate" name="PostValidate" camunda:expression="${BuildingBlockValidatorRunner.postValidate(execution.getVariable(&#34;flowToBeCalled&#34;), InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
154       <bpmn:incoming>SequenceFlow_01h9qmz</bpmn:incoming>
155       <bpmn:outgoing>SequenceFlow_12a4hhf</bpmn:outgoing>
156     </bpmn:serviceTask>
157   </bpmn:process>
158   <bpmn:error id="Error_0tnktdw" name="Error" errorCode="java.lang.Exception" />
159   <bpmn:error id="Error_17zcdbk" name="Bpmn Error" />
160   <bpmn:error id="Error_123q3fr" name="Error_1h13m8l" />
161   <bpmn:error id="Error_1ivyybb" name="Error_1e4p3cf" />
162   <bpmn:error id="Error_1c60d7i" name="Error_0qrs661" />
163   <bpmn:error id="Error_1owi18u" name="Error_2eiqdl7" />
164   <bpmn:error id="Error_0snha16" />
165   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
166     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="ExecuteBuildingBlock">
167       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="Start_ExecuteBuildingBlock">
168         <dc:Bounds x="111" y="162" width="36" height="36" />
169         <bpmndi:BPMNLabel>
170           <dc:Bounds x="119" y="198" width="22" height="12" />
171         </bpmndi:BPMNLabel>
172       </bpmndi:BPMNShape>
173       <bpmndi:BPMNShape id="CallActivity_0n67obl_di" bpmnElement="Call_BBToExecute">
174         <dc:Bounds x="749" y="140" width="100" height="80" />
175       </bpmndi:BPMNShape>
176       <bpmndi:BPMNEdge id="SequenceFlow_0rq4c5r_di" bpmnElement="SequenceFlow_0rq4c5r">
177         <di:waypoint xsi:type="dc:Point" x="147" y="180" />
178         <di:waypoint xsi:type="dc:Point" x="184" y="180" />
179         <bpmndi:BPMNLabel>
180           <dc:Bounds x="120.5" y="165" width="90" height="0" />
181         </bpmndi:BPMNLabel>
182       </bpmndi:BPMNEdge>
183       <bpmndi:BPMNEdge id="SequenceFlow_0uzwjrq_di" bpmnElement="SequenceFlow_0uzwjrq">
184         <di:waypoint xsi:type="dc:Point" x="284" y="180" />
185         <di:waypoint xsi:type="dc:Point" x="321" y="180" />
186         <bpmndi:BPMNLabel>
187           <dc:Bounds x="257.5" y="165" width="90" height="0" />
188         </bpmndi:BPMNLabel>
189       </bpmndi:BPMNEdge>
190       <bpmndi:BPMNShape id="ServiceTask_1jcuk3b_di" bpmnElement="Task_BBInputSetup">
191         <dc:Bounds x="184" y="140" width="100" height="80" />
192       </bpmndi:BPMNShape>
193       <bpmndi:BPMNShape id="EndEvent_0ahsxzi_di" bpmnElement="End_ExecuteBuildingBlock">
194         <dc:Bounds x="1221" y="162" width="36" height="36" />
195         <bpmndi:BPMNLabel>
196           <dc:Bounds x="1230" y="202" width="18" height="12" />
197         </bpmndi:BPMNLabel>
198       </bpmndi:BPMNShape>
199       <bpmndi:BPMNEdge id="SequenceFlow_01h9qmz_di" bpmnElement="SequenceFlow_01h9qmz">
200         <di:waypoint xsi:type="dc:Point" x="849" y="180" />
201         <di:waypoint xsi:type="dc:Point" x="906" y="180" />
202         <bpmndi:BPMNLabel>
203           <dc:Bounds x="832.5" y="159" width="90" height="12" />
204         </bpmndi:BPMNLabel>
205       </bpmndi:BPMNEdge>
206       <bpmndi:BPMNShape id="ExclusiveGateway_0ey4zpt_di" bpmnElement="ExclusiveGateway_0ey4zpt" isMarkerVisible="true">
207         <dc:Bounds x="695" y="478" width="50" height="50" />
208         <bpmndi:BPMNLabel>
209           <dc:Bounds x="691" y="453" width="62" height="12" />
210         </bpmndi:BPMNLabel>
211       </bpmndi:BPMNShape>
212       <bpmndi:BPMNShape id="IntermediateCatchEvent_0qjyidb_di" bpmnElement="IntermediateCatchEvent_RetryTimer">
213         <dc:Bounds x="939" y="485" width="36" height="36" />
214         <bpmndi:BPMNLabel>
215           <dc:Bounds x="930" y="460" width="55" height="12" />
216         </bpmndi:BPMNLabel>
217       </bpmndi:BPMNShape>
218       <bpmndi:BPMNShape id="ExclusiveGateway_1aonzik_di" bpmnElement="ExclusiveGateway_1aonzik" isMarkerVisible="true">
219         <dc:Bounds x="542" y="478" width="50" height="50" />
220         <bpmndi:BPMNLabel>
221           <dc:Bounds x="533" y="440" width="68" height="24" />
222         </bpmndi:BPMNLabel>
223       </bpmndi:BPMNShape>
224       <bpmndi:BPMNEdge id="SequenceFlow_1wbevp0_di" bpmnElement="SequenceFlow_1wbevp0">
225         <di:waypoint xsi:type="dc:Point" x="745" y="503" />
226         <di:waypoint xsi:type="dc:Point" x="810" y="503" />
227         <bpmndi:BPMNLabel>
228           <dc:Bounds x="763" y="478" width="18" height="12" />
229         </bpmndi:BPMNLabel>
230       </bpmndi:BPMNEdge>
231       <bpmndi:BPMNEdge id="SequenceFlow_0fwsjva_di" bpmnElement="SequenceFlow_0fwsjva">
232         <di:waypoint xsi:type="dc:Point" x="592" y="503" />
233         <di:waypoint xsi:type="dc:Point" x="695" y="503" />
234         <bpmndi:BPMNLabel>
235           <dc:Bounds x="630" y="511" width="27" height="12" />
236         </bpmndi:BPMNLabel>
237       </bpmndi:BPMNEdge>
238       <bpmndi:BPMNEdge id="SequenceFlow_0h8v45y_di" bpmnElement="SequenceFlow_0h8v45y">
239         <di:waypoint xsi:type="dc:Point" x="567" y="528" />
240         <di:waypoint xsi:type="dc:Point" x="567" y="584" />
241         <bpmndi:BPMNLabel>
242           <dc:Bounds x="575" y="549" width="84" height="12" />
243         </bpmndi:BPMNLabel>
244       </bpmndi:BPMNEdge>
245       <bpmndi:BPMNShape id="ServiceTask_1tifgqh_di" bpmnElement="Task_QueryRainyDayTable">
246         <dc:Bounds x="399" y="463" width="100" height="80" />
247       </bpmndi:BPMNShape>
248       <bpmndi:BPMNEdge id="SequenceFlow_0ndt8ft_di" bpmnElement="SequenceFlow_0ndt8ft">
249         <di:waypoint xsi:type="dc:Point" x="910" y="503" />
250         <di:waypoint xsi:type="dc:Point" x="939" y="503" />
251         <bpmndi:BPMNLabel>
252           <dc:Bounds x="925" y="482" width="0" height="0" />
253         </bpmndi:BPMNLabel>
254       </bpmndi:BPMNEdge>
255       <bpmndi:BPMNEdge id="SequenceFlow_07a1ytc_di" bpmnElement="SequenceFlow_07a1ytc">
256         <di:waypoint xsi:type="dc:Point" x="975" y="503" />
257         <di:waypoint xsi:type="dc:Point" x="1013" y="503" />
258         <bpmndi:BPMNLabel>
259           <dc:Bounds x="994" y="482" width="0" height="0" />
260         </bpmndi:BPMNLabel>
261       </bpmndi:BPMNEdge>
262       <bpmndi:BPMNShape id="ServiceTask_1obvxht_di" bpmnElement="Task_SetRetryTimer">
263         <dc:Bounds x="810" y="463" width="100" height="80" />
264       </bpmndi:BPMNShape>
265       <bpmndi:BPMNEdge id="SequenceFlow_0kdjsnx_di" bpmnElement="Continue">
266         <di:waypoint xsi:type="dc:Point" x="508" y="180" />
267         <di:waypoint xsi:type="dc:Point" x="582" y="180" />
268         <bpmndi:BPMNLabel>
269           <dc:Bounds x="524.6653543307086" y="159" width="43" height="12" />
270         </bpmndi:BPMNLabel>
271       </bpmndi:BPMNEdge>
272       <bpmndi:BPMNShape id="ServiceTask_0brnbqx_di" bpmnElement="StatusPolicy">
273         <dc:Bounds x="321" y="140" width="100" height="80" />
274       </bpmndi:BPMNShape>
275       <bpmndi:BPMNShape id="ExclusiveGateway_0f8ghh3_di" bpmnElement="CheckOrchestrationStatusValidationResults" isMarkerVisible="true">
276         <dc:Bounds x="458" y="155" width="50" height="50" />
277         <bpmndi:BPMNLabel>
278           <dc:Bounds x="442" y="209" width="87" height="48" />
279         </bpmndi:BPMNLabel>
280       </bpmndi:BPMNShape>
281       <bpmndi:BPMNEdge id="SequenceFlow_0je0y25_di" bpmnElement="SequenceFlow_0je0y25">
282         <di:waypoint xsi:type="dc:Point" x="421" y="180" />
283         <di:waypoint xsi:type="dc:Point" x="458" y="180" />
284         <bpmndi:BPMNLabel>
285           <dc:Bounds x="394.5" y="159" width="90" height="12" />
286         </bpmndi:BPMNLabel>
287       </bpmndi:BPMNEdge>
288       <bpmndi:BPMNEdge id="SequenceFlow_0a62t4c_di" bpmnElement="SequenceFlow_0a62t4c">
289         <di:waypoint xsi:type="dc:Point" x="499" y="503" />
290         <di:waypoint xsi:type="dc:Point" x="542" y="503" />
291         <bpmndi:BPMNLabel>
292           <dc:Bounds x="521" y="482" width="0" height="0" />
293         </bpmndi:BPMNLabel>
294       </bpmndi:BPMNEdge>
295       <bpmndi:BPMNShape id="SubProcess_0tv8zda_di" bpmnElement="SubProcess_0tv8zda" isExpanded="true">
296         <dc:Bounds x="171" y="299" width="1020" height="432" />
297       </bpmndi:BPMNShape>
298       <bpmndi:BPMNShape id="EndEvent_0mvmk3i_di" bpmnElement="EndEvent_0mvmk3i">
299         <dc:Bounds x="549" y="584" width="36" height="36" />
300         <bpmndi:BPMNLabel>
301           <dc:Bounds x="567" y="624" width="0" height="0" />
302         </bpmndi:BPMNLabel>
303       </bpmndi:BPMNShape>
304       <bpmndi:BPMNShape id="EndEvent_1aww7yx_di" bpmnElement="EndEvent_1sez2lh">
305         <dc:Bounds x="1013" y="485" width="36" height="36" />
306         <bpmndi:BPMNLabel>
307           <dc:Bounds x="1024" y="525" width="18" height="12" />
308         </bpmndi:BPMNLabel>
309       </bpmndi:BPMNShape>
310       <bpmndi:BPMNEdge id="SequenceFlow_16lmcxp_di" bpmnElement="SequenceFlow_16lmcxp">
311         <di:waypoint xsi:type="dc:Point" x="1163" y="180" />
312         <di:waypoint xsi:type="dc:Point" x="1221" y="180" />
313         <bpmndi:BPMNLabel>
314           <dc:Bounds x="1147" y="159" width="90" height="12" />
315         </bpmndi:BPMNLabel>
316       </bpmndi:BPMNEdge>
317       <bpmndi:BPMNEdge id="SequenceFlow_1j0vskt_di" bpmnElement="SequenceFlow_1j0vskt">
318         <di:waypoint xsi:type="dc:Point" x="483" y="155" />
319         <di:waypoint xsi:type="dc:Point" x="483" y="84" />
320         <di:waypoint xsi:type="dc:Point" x="1113" y="84" />
321         <di:waypoint xsi:type="dc:Point" x="1113" y="140" />
322         <bpmndi:BPMNLabel>
323           <dc:Bounds x="764.2235294117647" y="63" width="72" height="12" />
324         </bpmndi:BPMNLabel>
325       </bpmndi:BPMNEdge>
326       <bpmndi:BPMNShape id="ServiceTask_0z9izx5_di" bpmnElement="Task_setHandlingCodeSuccess">
327         <dc:Bounds x="1063" y="140" width="100" height="80" />
328       </bpmndi:BPMNShape>
329       <bpmndi:BPMNEdge id="SequenceFlow_19wuics_di" bpmnElement="SequenceFlow_19wuics">
330         <di:waypoint xsi:type="dc:Point" x="682" y="180" />
331         <di:waypoint xsi:type="dc:Point" x="749" y="180" />
332         <bpmndi:BPMNLabel>
333           <dc:Bounds x="670.5" y="159" width="90" height="12" />
334         </bpmndi:BPMNLabel>
335       </bpmndi:BPMNEdge>
336       <bpmndi:BPMNEdge id="SequenceFlow_12a4hhf_di" bpmnElement="SequenceFlow_12a4hhf">
337         <di:waypoint xsi:type="dc:Point" x="1006" y="180" />
338         <di:waypoint xsi:type="dc:Point" x="1063" y="180" />
339         <bpmndi:BPMNLabel>
340           <dc:Bounds x="989.5" y="159" width="90" height="12" />
341         </bpmndi:BPMNLabel>
342       </bpmndi:BPMNEdge>
343       <bpmndi:BPMNShape id="ServiceTask_1pf5f6w_di" bpmnElement="Task_PreValidate">
344         <dc:Bounds x="582" y="140" width="100" height="80" />
345       </bpmndi:BPMNShape>
346       <bpmndi:BPMNShape id="ServiceTask_02w4792_di" bpmnElement="Task_PostValidate">
347         <dc:Bounds x="906" y="140" width="100" height="80" />
348       </bpmndi:BPMNShape>
349       <bpmndi:BPMNEdge id="SequenceFlow_0541bid_di" bpmnElement="SequenceFlow_0541bid">
350         <di:waypoint xsi:type="dc:Point" x="720" y="528" />
351         <di:waypoint xsi:type="dc:Point" x="720" y="552" />
352         <bpmndi:BPMNLabel>
353           <dc:Bounds x="732" y="529" width="12" height="12" />
354         </bpmndi:BPMNLabel>
355       </bpmndi:BPMNEdge>
356       <bpmndi:BPMNEdge id="SequenceFlow_12ps9at_di" bpmnElement="SequenceFlow_12ps9at">
357         <di:waypoint xsi:type="dc:Point" x="770" y="592" />
358         <di:waypoint xsi:type="dc:Point" x="842" y="592" />
359         <bpmndi:BPMNLabel>
360           <dc:Bounds x="806" y="571" width="0" height="0" />
361         </bpmndi:BPMNLabel>
362       </bpmndi:BPMNEdge>
363       <bpmndi:BPMNShape id="EndEvent_05vw85n_di" bpmnElement="EndEvent_0ex9298">
364         <dc:Bounds x="842" y="574" width="36" height="36" />
365         <bpmndi:BPMNLabel>
366           <dc:Bounds x="852" y="614" width="18" height="12" />
367         </bpmndi:BPMNLabel>
368       </bpmndi:BPMNShape>
369       <bpmndi:BPMNShape id="ServiceTask_11f2c91_di" bpmnElement="Task_QuerySecondaryPolicy">
370         <dc:Bounds x="670" y="552" width="100" height="80" />
371       </bpmndi:BPMNShape>
372       <bpmndi:BPMNEdge id="SequenceFlow_0vdeqxv_di" bpmnElement="SequenceFlow_0vdeqxv">
373         <di:waypoint xsi:type="dc:Point" x="364" y="503" />
374         <di:waypoint xsi:type="dc:Point" x="399" y="503" />
375         <bpmndi:BPMNLabel>
376           <dc:Bounds x="382" y="482" width="0" height="0" />
377         </bpmndi:BPMNLabel>
378       </bpmndi:BPMNEdge>
379       <bpmndi:BPMNShape id="StartEvent_0tmcs9g_di" bpmnElement="StartEvent_0tmcs9g">
380         <dc:Bounds x="199" y="485" width="36" height="36" />
381         <bpmndi:BPMNLabel>
382           <dc:Bounds x="127" y="521" width="0" height="0" />
383         </bpmndi:BPMNLabel>
384       </bpmndi:BPMNShape>
385       <bpmndi:BPMNEdge id="SequenceFlow_09synl9_di" bpmnElement="SequenceFlow_09synl9">
386         <di:waypoint xsi:type="dc:Point" x="235" y="503" />
387         <di:waypoint xsi:type="dc:Point" x="264" y="503" />
388         <bpmndi:BPMNLabel>
389           <dc:Bounds x="250" y="482" width="0" height="0" />
390         </bpmndi:BPMNLabel>
391       </bpmndi:BPMNEdge>
392       <bpmndi:BPMNShape id="ServiceTask_10v49qn_di" bpmnElement="Task_UpdateExtErrorSource">
393         <dc:Bounds x="264" y="463" width="100" height="80" />
394       </bpmndi:BPMNShape>
395       <bpmndi:BPMNEdge id="SequenceFlow_05le7o3_di" bpmnElement="SequenceFlow_05le7o3">
396         <di:waypoint xsi:type="dc:Point" x="617" y="377" />
397         <di:waypoint xsi:type="dc:Point" x="659" y="377" />
398         <di:waypoint xsi:type="dc:Point" x="659" y="421" />
399         <di:waypoint xsi:type="dc:Point" x="580" y="491" />
400         <bpmndi:BPMNLabel>
401           <dc:Bounds x="674" y="399" width="0" height="0" />
402         </bpmndi:BPMNLabel>
403       </bpmndi:BPMNEdge>
404       <bpmndi:BPMNEdge id="SequenceFlow_1xh5ngw_di" bpmnElement="SequenceFlow_1xh5ngw">
405         <di:waypoint xsi:type="dc:Point" x="553" y="492" />
406         <di:waypoint xsi:type="dc:Point" x="462" y="423" />
407         <di:waypoint xsi:type="dc:Point" x="462" y="377" />
408         <di:waypoint xsi:type="dc:Point" x="517" y="377" />
409         <bpmndi:BPMNLabel>
410           <dc:Bounds x="468" y="400" width="35" height="12" />
411         </bpmndi:BPMNLabel>
412       </bpmndi:BPMNEdge>
413       <bpmndi:BPMNEdge id="SequenceFlow_0xyd2zl_di" bpmnElement="SequenceFlow_0xyd2zl">
414         <di:waypoint xsi:type="dc:Point" x="553" y="514" />
415         <di:waypoint xsi:type="dc:Point" x="449" y="589" />
416         <bpmndi:BPMNLabel>
417           <dc:Bounds x="506" y="549.4997153461163" width="21" height="12" />
418         </bpmndi:BPMNLabel>
419       </bpmndi:BPMNEdge>
420       <bpmndi:BPMNShape id="ServiceTask_0ohzi8e_di" bpmnElement="Task_setHandlingCodeSuccessOnSkip">
421         <dc:Bounds x="399" y="589" width="100" height="80" />
422       </bpmndi:BPMNShape>
423       <bpmndi:BPMNShape id="CallActivity_0szwp51_di" bpmnElement="PauseForManualTaskRainyDay">
424         <dc:Bounds x="517" y="337" width="100" height="80" />
425       </bpmndi:BPMNShape>
426       <bpmndi:BPMNShape id="EndEvent_1py1er4_di" bpmnElement="EndEvent_1py1er4">
427         <dc:Bounds x="304" y="611" width="36" height="36" />
428         <bpmndi:BPMNLabel>
429           <dc:Bounds x="313" y="647" width="18" height="12" />
430         </bpmndi:BPMNLabel>
431       </bpmndi:BPMNShape>
432       <bpmndi:BPMNEdge id="SequenceFlow_1ynai9j_di" bpmnElement="SequenceFlow_1ynai9j">
433         <di:waypoint xsi:type="dc:Point" x="399" y="629" />
434         <di:waypoint xsi:type="dc:Point" x="340" y="629" />
435         <bpmndi:BPMNLabel>
436           <dc:Bounds x="370" y="604" width="0" height="0" />
437         </bpmndi:BPMNLabel>
438       </bpmndi:BPMNEdge>
439       <bpmndi:BPMNEdge id="SequenceFlow_1g7oq3t_di" bpmnElement="SequenceFlow_1g7oq3t">
440         <di:waypoint xsi:type="dc:Point" x="583" y="512" />
441         <di:waypoint xsi:type="dc:Point" x="670" y="562" />
442         <bpmndi:BPMNLabel>
443           <dc:Bounds x="649" y="533" width="39" height="12" />
444         </bpmndi:BPMNLabel>
445       </bpmndi:BPMNEdge>
446     </bpmndi:BPMNPlane>
447   </bpmndi:BPMNDiagram>
448 </bpmn:definitions>