Increased timeout for CreateChildService
[so.git] / bpmn / so-bpmn-building-blocks / src / main / resources / subprocess / BuildingBlock / CreateChildServiceBB.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: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" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_1qv87sb" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.12.0">
3   <bpmn:process id="CreateChildServiceBB" name="CreateChildServiceBB" isExecutable="true">
4     <bpmn:startEvent id="StartEvent_1">
5       <bpmn:outgoing>SequenceFlow_14q7e7i</bpmn:outgoing>
6     </bpmn:startEvent>
7     <bpmn:endEvent id="EndEvent_0il9cjn">
8       <bpmn:incoming>SequenceFlow_143mdyp</bpmn:incoming>
9     </bpmn:endEvent>
10     <bpmn:sequenceFlow id="SequenceFlow_14q7e7i" sourceRef="StartEvent_1" targetRef="Task_1axdixm" />
11     <bpmn:sequenceFlow id="SequenceFlow_0n5pwwk" sourceRef="Task_1axdixm" targetRef="Task_0892y22" />
12     <bpmn:sequenceFlow id="SequenceFlow_0x6xxb8" sourceRef="Task_0892y22" targetRef="Task_1olljx2" />
13     <bpmn:sequenceFlow id="SequenceFlow_0jahgui" sourceRef="Task_1olljx2" targetRef="ExclusiveGateway_1otl9mn" />
14     <bpmn:sequenceFlow id="SequenceFlow_143mdyp" sourceRef="Task_1oyb4b5" targetRef="EndEvent_0il9cjn" />
15     <bpmn:receiveTask id="Task_1olljx2" name="Wait for Completion" messageRef="Message_0kfkpsv">
16       <bpmn:incoming>SequenceFlow_0x6xxb8</bpmn:incoming>
17       <bpmn:outgoing>SequenceFlow_0jahgui</bpmn:outgoing>
18     </bpmn:receiveTask>
19     <bpmn:boundaryEvent id="IntermediateThrowEvent_1gh5vds" name="Timeout" attachedToRef="Task_1olljx2">
20       <bpmn:outgoing>SequenceFlow_0hmy1qr</bpmn:outgoing>
21       <bpmn:timerEventDefinition id="TimerEventDefinition_13keqs7">
22         <bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT14H</bpmn:timeDuration>
23       </bpmn:timerEventDefinition>
24     </bpmn:boundaryEvent>
25     <bpmn:endEvent id="EndEvent_11rdhm9">
26       <bpmn:incoming>SequenceFlow_0hmy1qr</bpmn:incoming>
27       <bpmn:errorEventDefinition id="ErrorEventDefinition_12rxrrg" errorRef="Error_1d6c5q3" />
28     </bpmn:endEvent>
29     <bpmn:sequenceFlow id="SequenceFlow_0hmy1qr" sourceRef="IntermediateThrowEvent_1gh5vds" targetRef="EndEvent_11rdhm9" />
30     <bpmn:exclusiveGateway id="ExclusiveGateway_1otl9mn" name="Child Request Status" default="SequenceFlow_052tga4">
31       <bpmn:incoming>SequenceFlow_0jahgui</bpmn:incoming>
32       <bpmn:outgoing>SequenceFlow_0zfixj7</bpmn:outgoing>
33       <bpmn:outgoing>SequenceFlow_052tga4</bpmn:outgoing>
34     </bpmn:exclusiveGateway>
35     <bpmn:sequenceFlow id="SequenceFlow_0zfixj7" name="Completed" sourceRef="ExclusiveGateway_1otl9mn" targetRef="Task_1oyb4b5">
36       <bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${execution.getVariable("CHILD_SVC_REQ_STATUS")=="COMPLETED"}</bpmn:conditionExpression>
37     </bpmn:sequenceFlow>
38     <bpmn:sequenceFlow id="SequenceFlow_052tga4" name="Failed" sourceRef="ExclusiveGateway_1otl9mn" targetRef="Task_0jc8k6m" />
39     <bpmn:serviceTask id="Task_1axdixm" name="Build Create Request" camunda:expression="${CreateChildServiceBB.buildRequest(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
40       <bpmn:incoming>SequenceFlow_14q7e7i</bpmn:incoming>
41       <bpmn:outgoing>SequenceFlow_0n5pwwk</bpmn:outgoing>
42     </bpmn:serviceTask>
43     <bpmn:serviceTask id="Task_0892y22" name="Send Request" camunda:expression="${CreateChildServiceBB.sendRequest(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
44       <bpmn:incoming>SequenceFlow_0n5pwwk</bpmn:incoming>
45       <bpmn:outgoing>SequenceFlow_0x6xxb8</bpmn:outgoing>
46     </bpmn:serviceTask>
47     <bpmn:serviceTask id="Task_0jc8k6m" name="Handle Failure" camunda:expression="${CreateChildServiceBB.handleFailure(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
48       <bpmn:incoming>SequenceFlow_052tga4</bpmn:incoming>
49     </bpmn:serviceTask>
50     <bpmn:serviceTask id="Task_1oyb4b5" name="Update AAI" camunda:expression="${CreateChildServiceBB.updateRelations(InjectExecution.execute(execution, execution.getVariable(&#34;gBuildingBlockExecution&#34;)))}">
51       <bpmn:incoming>SequenceFlow_0zfixj7</bpmn:incoming>
52       <bpmn:outgoing>SequenceFlow_143mdyp</bpmn:outgoing>
53     </bpmn:serviceTask>
54   </bpmn:process>
55   <bpmn:error id="Error_1d6c5q3" name="MSO Workflow Exception" errorCode="MSOWorkflowException" camunda:errorMessage="Child service creation timeout reached" />
56   <bpmn:message id="Message_0kfkpsv" name="ChildServiceRequest" />
57   <bpmndi:BPMNDiagram id="BPMNDiagram_1">
58     <bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="CreateChildServiceBB">
59       <bpmndi:BPMNEdge id="SequenceFlow_052tga4_di" bpmnElement="SequenceFlow_052tga4">
60         <di:waypoint x="900" y="145" />
61         <di:waypoint x="900" y="230" />
62         <bpmndi:BPMNLabel>
63           <dc:Bounds x="905" y="173" width="30" height="14" />
64         </bpmndi:BPMNLabel>
65       </bpmndi:BPMNEdge>
66       <bpmndi:BPMNEdge id="SequenceFlow_0zfixj7_di" bpmnElement="SequenceFlow_0zfixj7">
67         <di:waypoint x="925" y="120" />
68         <di:waypoint x="1040" y="120" />
69         <bpmndi:BPMNLabel>
70           <dc:Bounds x="957" y="102" width="54" height="14" />
71         </bpmndi:BPMNLabel>
72       </bpmndi:BPMNEdge>
73       <bpmndi:BPMNEdge id="SequenceFlow_0hmy1qr_di" bpmnElement="SequenceFlow_0hmy1qr">
74         <di:waypoint x="730" y="178" />
75         <di:waypoint x="730" y="252" />
76       </bpmndi:BPMNEdge>
77       <bpmndi:BPMNEdge id="SequenceFlow_143mdyp_di" bpmnElement="SequenceFlow_143mdyp">
78         <di:waypoint x="1140" y="120" />
79         <di:waypoint x="1232" y="120" />
80       </bpmndi:BPMNEdge>
81       <bpmndi:BPMNEdge id="SequenceFlow_0jahgui_di" bpmnElement="SequenceFlow_0jahgui">
82         <di:waypoint x="750" y="120" />
83         <di:waypoint x="875" y="120" />
84       </bpmndi:BPMNEdge>
85       <bpmndi:BPMNEdge id="SequenceFlow_0x6xxb8_di" bpmnElement="SequenceFlow_0x6xxb8">
86         <di:waypoint x="570" y="120" />
87         <di:waypoint x="650" y="120" />
88       </bpmndi:BPMNEdge>
89       <bpmndi:BPMNEdge id="SequenceFlow_0n5pwwk_di" bpmnElement="SequenceFlow_0n5pwwk">
90         <di:waypoint x="380" y="120" />
91         <di:waypoint x="470" y="120" />
92       </bpmndi:BPMNEdge>
93       <bpmndi:BPMNEdge id="SequenceFlow_14q7e7i_di" bpmnElement="SequenceFlow_14q7e7i">
94         <di:waypoint x="178" y="120" />
95         <di:waypoint x="280" y="120" />
96       </bpmndi:BPMNEdge>
97       <bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
98         <dc:Bounds x="142" y="102" width="36" height="36" />
99       </bpmndi:BPMNShape>
100       <bpmndi:BPMNShape id="EndEvent_0il9cjn_di" bpmnElement="EndEvent_0il9cjn">
101         <dc:Bounds x="1232" y="102" width="36" height="36" />
102       </bpmndi:BPMNShape>
103       <bpmndi:BPMNShape id="ReceiveTask_1bptt2c_di" bpmnElement="Task_1olljx2">
104         <dc:Bounds x="650" y="80" width="100" height="80" />
105       </bpmndi:BPMNShape>
106       <bpmndi:BPMNShape id="EndEvent_03unhuu_di" bpmnElement="EndEvent_11rdhm9">
107         <dc:Bounds x="712" y="252" width="36" height="36" />
108       </bpmndi:BPMNShape>
109       <bpmndi:BPMNShape id="ExclusiveGateway_1otl9mn_di" bpmnElement="ExclusiveGateway_1otl9mn" isMarkerVisible="true">
110         <dc:Bounds x="875" y="95" width="50" height="50" />
111         <bpmndi:BPMNLabel>
112           <dc:Bounds x="866" y="65" width="70" height="27" />
113         </bpmndi:BPMNLabel>
114       </bpmndi:BPMNShape>
115       <bpmndi:BPMNShape id="ServiceTask_0t3ilvf_di" bpmnElement="Task_1axdixm">
116         <dc:Bounds x="280" y="80" width="100" height="80" />
117       </bpmndi:BPMNShape>
118       <bpmndi:BPMNShape id="ServiceTask_0hbcben_di" bpmnElement="Task_0892y22">
119         <dc:Bounds x="470" y="80" width="100" height="80" />
120       </bpmndi:BPMNShape>
121       <bpmndi:BPMNShape id="ServiceTask_1j024ya_di" bpmnElement="Task_0jc8k6m">
122         <dc:Bounds x="850" y="230" width="100" height="80" />
123       </bpmndi:BPMNShape>
124       <bpmndi:BPMNShape id="Activity_10o8qyu_di" bpmnElement="Task_1oyb4b5">
125         <dc:Bounds x="1040" y="80" width="100" height="80" />
126       </bpmndi:BPMNShape>
127       <bpmndi:BPMNShape id="BoundaryEvent_0g07oag_di" bpmnElement="IntermediateThrowEvent_1gh5vds">
128         <dc:Bounds x="712" y="142" width="36" height="36" />
129         <bpmndi:BPMNLabel>
130           <dc:Bounds x="750" y="173" width="40" height="14" />
131         </bpmndi:BPMNLabel>
132       </bpmndi:BPMNShape>
133     </bpmndi:BPMNPlane>
134   </bpmndi:BPMNDiagram>
135 </bpmn:definitions>