-
Notifications
You must be signed in to change notification settings - Fork 1
/
Resource activation Subprocess(V1).bpmn
142 lines (142 loc) · 7.63 KB
/
Resource activation Subprocess(V1).bpmn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
<?xml version="1.0" encoding="UTF-8"?>
<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:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:zeebe="http://camunda.org/schema/zeebe/1.0" xmlns:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_0fjy707" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.22.0" modeler:executionPlatform="Camunda Cloud" modeler:executionPlatformVersion="8.3.0">
<bpmn:process id="Process_ResourceReview" name="ResourceReview" isExecutable="true">
<bpmn:startEvent id="StartEvent_1" name="Request for Resource">
<bpmn:outgoing>Flow_1hp0k60</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:sequenceFlow id="Flow_1hp0k60" sourceRef="StartEvent_1" targetRef="ReviewResourceOrder" />
<bpmn:exclusiveGateway id="Gateway_18yjsmv" name="Resource available?">
<bpmn:incoming>Flow_1ujrd3o</bpmn:incoming>
<bpmn:outgoing>Flow_1kf2vwg</bpmn:outgoing>
<bpmn:outgoing>Flow_1tm8vbd</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_1ujrd3o" sourceRef="ReviewResourceOrder" targetRef="Gateway_18yjsmv" />
<bpmn:sequenceFlow id="Flow_1kf2vwg" name="Yes" sourceRef="Gateway_18yjsmv" targetRef="Gateway_0rrs3q7">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=matches(isResourceAvailable, "true")</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:endEvent id="Event_1gcc1db">
<bpmn:incoming>Flow_0x08o4i</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_0x08o4i" sourceRef="Activity_0gavhg1" targetRef="Event_1gcc1db" />
<bpmn:sequenceFlow id="Flow_1tm8vbd" name="No" sourceRef="Gateway_18yjsmv" targetRef="Activity_1tqfhm1">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">=matches(isResourceAvailable, "false")</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:userTask id="ReviewResourceOrder" name="Review Resource Order">
<bpmn:extensionElements>
<zeebe:assignmentDefinition candidateGroups="=["ResourceManagers"]" />
</bpmn:extensionElements>
<bpmn:incoming>Flow_1hp0k60</bpmn:incoming>
<bpmn:outgoing>Flow_1ujrd3o</bpmn:outgoing>
</bpmn:userTask>
<bpmn:serviceTask id="Activity_1tqfhm1" name="notify customer about the new date">
<bpmn:extensionElements>
<zeebe:taskDefinition type="NotifyInstallationDate" />
</bpmn:extensionElements>
<bpmn:incoming>Flow_1tm8vbd</bpmn:incoming>
<bpmn:outgoing>Flow_18ff356</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:intermediateCatchEvent id="Event_Resource" name="Wait">
<bpmn:extensionElements />
<bpmn:incoming>Flow_18ff356</bpmn:incoming>
<bpmn:outgoing>Flow_0qyfg1r</bpmn:outgoing>
<bpmn:timerEventDefinition id="TimerEventDefinition_0y66tmn">
<bpmn:timeDuration xsi:type="bpmn:tFormalExpression">PT15S</bpmn:timeDuration>
</bpmn:timerEventDefinition>
</bpmn:intermediateCatchEvent>
<bpmn:sequenceFlow id="Flow_18ff356" sourceRef="Activity_1tqfhm1" targetRef="Event_Resource" />
<bpmn:serviceTask id="Activity_0gavhg1" name="deliver the resources">
<bpmn:extensionElements>
<zeebe:ioMapping>
<zeebe:output source="=true" target="resourseDelivery" />
</zeebe:ioMapping>
<zeebe:taskDefinition type="DeliverResourcesToBranch" />
</bpmn:extensionElements>
<bpmn:incoming>Flow_00gn42x</bpmn:incoming>
<bpmn:outgoing>Flow_0x08o4i</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:exclusiveGateway id="Gateway_0rrs3q7">
<bpmn:incoming>Flow_1kf2vwg</bpmn:incoming>
<bpmn:incoming>Flow_0qyfg1r</bpmn:incoming>
<bpmn:outgoing>Flow_00gn42x</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_00gn42x" sourceRef="Gateway_0rrs3q7" targetRef="Activity_0gavhg1" />
<bpmn:sequenceFlow id="Flow_0qyfg1r" sourceRef="Event_Resource" targetRef="Gateway_0rrs3q7" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="Process_ResourceReview">
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="192" y="122" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="181" y="165" width="59" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1sdfd60_di" bpmnElement="ReviewResourceOrder">
<dc:Bounds x="270" y="100" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_18yjsmv_di" bpmnElement="Gateway_18yjsmv" isMarkerVisible="true">
<dc:Bounds x="405" y="115" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="405" y="86" width="50" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1em3wmf_di" bpmnElement="Activity_1tqfhm1">
<dc:Bounds x="490" y="230" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0ncfhzv_di" bpmnElement="Event_Resource">
<dc:Bounds x="625" y="252" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="632" y="295" width="22" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0rrs3q7_di" bpmnElement="Gateway_0rrs3q7" isMarkerVisible="true">
<dc:Bounds x="665" y="115" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_135le43_di" bpmnElement="Activity_0gavhg1">
<dc:Bounds x="750" y="100" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1gcc1db_di" bpmnElement="Event_1gcc1db">
<dc:Bounds x="892" y="122" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_1hp0k60_di" bpmnElement="Flow_1hp0k60">
<di:waypoint x="228" y="140" />
<di:waypoint x="270" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1ujrd3o_di" bpmnElement="Flow_1ujrd3o">
<di:waypoint x="370" y="140" />
<di:waypoint x="405" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1kf2vwg_di" bpmnElement="Flow_1kf2vwg">
<di:waypoint x="455" y="140" />
<di:waypoint x="665" y="140" />
<bpmndi:BPMNLabel>
<dc:Bounds x="451" y="122" width="18" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1tm8vbd_di" bpmnElement="Flow_1tm8vbd">
<di:waypoint x="430" y="165" />
<di:waypoint x="430" y="270" />
<di:waypoint x="490" y="270" />
<bpmndi:BPMNLabel>
<dc:Bounds x="452" y="253" width="15" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0x08o4i_di" bpmnElement="Flow_0x08o4i">
<di:waypoint x="850" y="140" />
<di:waypoint x="892" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_18ff356_di" bpmnElement="Flow_18ff356">
<di:waypoint x="590" y="270" />
<di:waypoint x="625" y="270" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_00gn42x_di" bpmnElement="Flow_00gn42x">
<di:waypoint x="715" y="140" />
<di:waypoint x="750" y="140" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0qyfg1r_di" bpmnElement="Flow_0qyfg1r">
<di:waypoint x="661" y="270" />
<di:waypoint x="690" y="270" />
<di:waypoint x="690" y="165" />
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>