be683b9ca6fd03f4db1bc1af20a54df0d7ebaaba
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / MonitorCnfmJob.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_12gnsyw" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.12.0">
3   <bpmn:process id="MonitorCnfmJob" name="MonitorCnfmJob" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1">
5       <bpmn:outgoing>SequenceFlow_1x3tbl0</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:endEvent id="EndEvent_0rf1gde">
8       <bpmn:incoming>SequenceFlow_1543qy7</bpmn:incoming>
9     </bpmn:endEvent>
10     <bpmn:subProcess id="SubProcess_19j0v63">
11       <bpmn:incoming>SequenceFlow_1x3tbl0</bpmn:incoming>
12       <bpmn:outgoing>SequenceFlow_1v4yr3f</bpmn:outgoing>
13       <bpmn:startEvent id="StartEvent_01r97z2">
14         <bpmn:outgoing>SequenceFlow_0s1plu9</bpmn:outgoing>
15       </bpmn:startEvent>
16       <bpmn:exclusiveGateway id="ExclusiveGateway_1hkl6yy" default="SequenceFlow_1vmxw9g">
17         <bpmn:incoming>SequenceFlow_153a3kp</bpmn:incoming>
18         <bpmn:outgoing>SequenceFlow_1vmxw9g</bpmn:outgoing>
19         <bpmn:outgoing>SequenceFlow_0is7myf</bpmn:outgoing>
20       </bpmn:exclusiveGateway>
21       <bpmn:intermediateCatchEvent id="IntermediateCatchEvent_1besn3n" name="Wait between checks" camunda:asyncAfter="true">
22         <bpmn:incoming>SequenceFlow_1vmxw9g</bpmn:incoming>
23         <bpmn:outgoing>SequenceFlow_0etw572</bpmn:outgoing>
24         <bpmn:timerEventDefinition id="TimerEventDefinition_0qgh11t">
25           <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT15S</bpmn:timeDuration>
26         </bpmn:timerEventDefinition>
27       </bpmn:intermediateCatchEvent>
28       <bpmn:endEvent id="EndEvent_1ohsce9">
29         <bpmn:incoming>SequenceFlow_0is7myf</bpmn:incoming>
30       </bpmn:endEvent>
31       <bpmn:sequenceFlow id="SequenceFlow_0s1plu9" sourceRef="StartEvent_01r97z2" targetRef="ServiceTask_17jlnng" />
32       <bpmn:sequenceFlow id="SequenceFlow_0etw572" sourceRef="IntermediateCatchEvent_1besn3n" targetRef="ServiceTask_17jlnng" />
33       <bpmn:serviceTask id="ServiceTask_17jlnng" name="&#10;Get Current Operation Status&#10;" camunda:asyncAfter="true" camunda:expression="${MonitorCnfmCreateJobTask.getCurrentOperationStatus(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
34         <bpmn:incoming>SequenceFlow_0etw572</bpmn:incoming>
35         <bpmn:incoming>SequenceFlow_0s1plu9</bpmn:incoming>
36         <bpmn:outgoing>SequenceFlow_153a3kp</bpmn:outgoing>
37       </bpmn:serviceTask>
38       <bpmn:sequenceFlow id="SequenceFlow_1vmxw9g" sourceRef="ExclusiveGateway_1hkl6yy" targetRef="IntermediateCatchEvent_1besn3n" />
39       <bpmn:sequenceFlow id="SequenceFlow_0is7myf" sourceRef="ExclusiveGateway_1hkl6yy" targetRef="EndEvent_1ohsce9">
40         <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${MonitorCnfmCreateJobTask.hasOperationFinished(InjectExecution.execute(execution, execution.getVariable("gBuildingBlockExecution")))}</bpmn:conditionExpression>
41       </bpmn:sequenceFlow>
42       <bpmn:sequenceFlow id="SequenceFlow_153a3kp" sourceRef="ServiceTask_17jlnng" targetRef="ExclusiveGateway_1hkl6yy" />
43     </bpmn:subProcess>
44     <bpmn:endEvent id="EndEvent_1w3t3t0" name="Timeout Exception">
45       <bpmn:incoming>SequenceFlow_0bcgtzj</bpmn:incoming>
46       <bpmn:terminateEventDefinition id="TerminateEventDefinition_0fjecl3" />
47     </bpmn:endEvent>
48     <bpmn:boundaryEvent id="BoundaryEvent_0xiabzp" name="Overall Wait" attachedToRef="SubProcess_19j0v63">
49       <bpmn:outgoing>SequenceFlow_1i1o9sh</bpmn:outgoing>
50       <bpmn:timerEventDefinition id="TimerEventDefinition_10kqw61">
51         <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT3H</bpmn:timeDuration>
52       </bpmn:timerEventDefinition>
53     </bpmn:boundaryEvent>
54     <bpmn:sequenceFlow id="SequenceFlow_1v4yr3f" sourceRef="SubProcess_19j0v63" targetRef="ServiceTask_1gms128" />
55     <bpmn:sequenceFlow id="SequenceFlow_1i1o9sh" sourceRef="BoundaryEvent_0xiabzp" targetRef="ServiceTask_1s87b92" />
56     <bpmn:sequenceFlow id="SequenceFlow_1x3tbl0" sourceRef="StartEvent_1" targetRef="SubProcess_19j0v63" />
57     <bpmn:serviceTask id="ServiceTask_1s87b92" name="&#10;Time Out Log Failure&#10;" camunda:asyncAfter="true" camunda:expression="${MonitorCnfmCreateJobTask.timeOutLogFailue(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
58       <bpmn:incoming>SequenceFlow_1i1o9sh</bpmn:incoming>
59       <bpmn:outgoing>SequenceFlow_0bcgtzj</bpmn:outgoing>
60     </bpmn:serviceTask>
61     <bpmn:sequenceFlow id="SequenceFlow_0bcgtzj" sourceRef="ServiceTask_1s87b92" targetRef="EndEvent_1w3t3t0" />
62     <bpmn:serviceTask id="ServiceTask_1gms128" name="&#10;Check if operation was successful&#10;" camunda:asyncAfter="true" camunda:expression="${MonitorCnfmCreateJobTask.checkIfOperationWasSuccessful(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
63       <bpmn:incoming>SequenceFlow_1v4yr3f</bpmn:incoming>
64       <bpmn:outgoing>SequenceFlow_1543qy7</bpmn:outgoing>
65     </bpmn:serviceTask>
66     <bpmn:sequenceFlow id="SequenceFlow_1543qy7" sourceRef="ServiceTask_1gms128" targetRef="EndEvent_0rf1gde" />
67   </bpmn:process>
68   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
69     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="MonitorCnfmJob">
70       <bpmndi:BPMNEdge id="SequenceFlow_1543qy7_di" bpmnElement="SequenceFlow_1543qy7">
71         <di:waypoint x="1023" y="118" />
72         <di:waypoint x="1102" y="118" />
73       </bpmndi:BPMNEdge>
74       <bpmndi:BPMNEdge id="SequenceFlow_0bcgtzj_di" bpmnElement="SequenceFlow_0bcgtzj">
75         <di:waypoint x="1023" y="340" />
76         <di:waypoint x="1102" y="340" />
77       </bpmndi:BPMNEdge>
78       <bpmndi:BPMNEdge id="SequenceFlow_1x3tbl0_di" bpmnElement="SequenceFlow_1x3tbl0">
79         <di:waypoint x="197" y="348" />
80         <di:waypoint x="301" y="348" />
81       </bpmndi:BPMNEdge>
82       <bpmndi:BPMNEdge id="SequenceFlow_1i1o9sh_di" bpmnElement="SequenceFlow_1i1o9sh">
83         <di:waypoint x="842" y="340" />
84         <di:waypoint x="923" y="340" />
85       </bpmndi:BPMNEdge>
86       <bpmndi:BPMNEdge id="SequenceFlow_1v4yr3f_di" bpmnElement="SequenceFlow_1v4yr3f">
87         <di:waypoint x="563" y="248" />
88         <di:waypoint x="563" y="118" />
89         <di:waypoint x="923" y="118" />
90       </bpmndi:BPMNEdge>
91       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
92         <dc:Bounds x="161" y="330" width="36" height="36" />
93       </bpmndi:BPMNShape>
94       <bpmndi:BPMNShape id="EndEvent_0rf1gde_di" bpmnElement="EndEvent_0rf1gde">
95         <dc:Bounds x="1102" y="100" width="36" height="36" />
96       </bpmndi:BPMNShape>
97       <bpmndi:BPMNShape id="EndEvent_1w3t3t0_di" bpmnElement="EndEvent_1w3t3t0">
98         <dc:Bounds x="1102" y="322" width="36" height="36" />
99         <bpmndi:BPMNLabel>
100           <dc:Bounds x="1095" y="282" width="49" height="27" />
101         </bpmndi:BPMNLabel>
102       </bpmndi:BPMNShape>
103       <bpmndi:BPMNShape id="ServiceTask_1s87b92_di" bpmnElement="ServiceTask_1s87b92">
104         <dc:Bounds x="923" y="300" width="100" height="80" />
105       </bpmndi:BPMNShape>
106       <bpmndi:BPMNShape id="ServiceTask_1gms128_di" bpmnElement="ServiceTask_1gms128">
107         <dc:Bounds x="923" y="78" width="100" height="80" />
108       </bpmndi:BPMNShape>
109       <bpmndi:BPMNShape id="SubProcess_19j0v63_di" bpmnElement="SubProcess_19j0v63" isExpanded="true">
110         <dc:Bounds x="301" y="248" width="523" height="200" />
111       </bpmndi:BPMNShape>
112       <bpmndi:BPMNEdge id="SequenceFlow_153a3kp_di" bpmnElement="SequenceFlow_153a3kp">
113         <di:waypoint x="525" y="324" />
114         <di:waypoint x="609" y="324" />
115       </bpmndi:BPMNEdge>
116       <bpmndi:BPMNEdge id="SequenceFlow_0is7myf_di" bpmnElement="SequenceFlow_0is7myf">
117         <di:waypoint x="659" y="324" />
118         <di:waypoint x="722" y="324" />
119       </bpmndi:BPMNEdge>
120       <bpmndi:BPMNEdge id="SequenceFlow_1vmxw9g_di" bpmnElement="SequenceFlow_1vmxw9g">
121         <di:waypoint x="634" y="349" />
122         <di:waypoint x="634" y="396" />
123         <di:waypoint x="586" y="396" />
124       </bpmndi:BPMNEdge>
125       <bpmndi:BPMNEdge id="SequenceFlow_0etw572_di" bpmnElement="SequenceFlow_0etw572">
126         <di:waypoint x="550" y="396" />
127         <di:waypoint x="486" y="396" />
128         <di:waypoint x="486" y="367" />
129       </bpmndi:BPMNEdge>
130       <bpmndi:BPMNEdge id="SequenceFlow_0s1plu9_di" bpmnElement="SequenceFlow_0s1plu9">
131         <di:waypoint x="366" y="324" />
132         <di:waypoint x="425" y="324" />
133       </bpmndi:BPMNEdge>
134       <bpmndi:BPMNShape id="StartEvent_01r97z2_di" bpmnElement="StartEvent_01r97z2">
135         <dc:Bounds x="330" y="306" width="36" height="36" />
136       </bpmndi:BPMNShape>
137       <bpmndi:BPMNShape id="ExclusiveGateway_1hkl6yy_di" bpmnElement="ExclusiveGateway_1hkl6yy" isMarkerVisible="true">
138         <dc:Bounds x="609" y="299" width="50" height="50" />
139       </bpmndi:BPMNShape>
140       <bpmndi:BPMNShape id="IntermediateCatchEvent_1besn3n_di" bpmnElement="IntermediateCatchEvent_1besn3n">
141         <dc:Bounds x="550" y="378" width="36" height="36" />
142         <bpmndi:BPMNLabel>
143           <dc:Bounds x="537" y="421" width="67" height="27" />
144         </bpmndi:BPMNLabel>
145       </bpmndi:BPMNShape>
146       <bpmndi:BPMNShape id="EndEvent_1ohsce9_di" bpmnElement="EndEvent_1ohsce9">
147         <dc:Bounds x="722" y="306" width="36" height="36" />
148       </bpmndi:BPMNShape>
149       <bpmndi:BPMNShape id="ServiceTask_17jlnng_di" bpmnElement="ServiceTask_17jlnng">
150         <dc:Bounds x="425" y="284" width="100" height="80" />
151       </bpmndi:BPMNShape>
152       <bpmndi:BPMNShape id="BoundaryEvent_0xiabzp_di" bpmnElement="BoundaryEvent_0xiabzp">
153         <dc:Bounds x="806" y="322" width="36" height="36" />
154         <bpmndi:BPMNLabel>
155           <dc:Bounds x="794" y="361" width="60" height="14" />
156         </bpmndi:BPMNLabel>
157       </bpmndi:BPMNShape>
158     </bpmndi:BPMNPlane>
159   </bpmndi:BPMNDiagram>
160 </bpmn:definitions>