-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy paths002Xor1.bpmn
111 lines (111 loc) · 5.8 KB
/
s002Xor1.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
<?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:camunda="http://camunda.org/schema/1.0/bpmn" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" id="Definitions_1rhjooo" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.6.0">
<bpmn:collaboration id="s002Xor1">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="group-locations" value="[toPlant,planted,toSpray,sprayed]" />
<camunda:property name="base-locations" value="[f1,f2,f3,f4,f5,f6,r1,r2,b,m]" />
<camunda:property name="initial-space" value="{toPlant:[f1,f2,f3,f4,f5,f6], planted:[], toSpray:[], sprayed:[]}" />
<camunda:property name="transitions" value="[(f1,f2),(f2,f1),(f2,f3),(f3,f2),(f2,b),(b,f5),(f4,f5),(f5,f4),(f5,f6),(f6,f5),(f6,m),(m,f6),(m,f5)]" />
</camunda:properties>
</bpmn:extensionElements>
<bpmn:participant id="P" name="P" processRef="PId" />
</bpmn:collaboration>
<bpmn:process id="PId" name="P" isExecutable="true">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="initial-location" value="f1" />
</camunda:properties>
</bpmn:extensionElements>
<bpmn:startEvent id="StartEvent_1" name="start ">
<bpmn:outgoing>Flow_09a8um7</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:endEvent id="end_moved" name="end (moved) ">
<bpmn:incoming>Flow_0llicsy</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_09a8um7" sourceRef="StartEvent_1" targetRef="Gateway_0bb8o1z" />
<bpmn:sequenceFlow id="Flow_0llicsy" sourceRef="Activity_0z782bb" targetRef="end_moved" />
<bpmn:exclusiveGateway id="Gateway_0bb8o1z" default="Flow_14b309w">
<bpmn:incoming>Flow_09a8um7</bpmn:incoming>
<bpmn:outgoing>Flow_18ptpdh</bpmn:outgoing>
<bpmn:outgoing>Flow_14b309w</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_18ptpdh" name="z: all reachable zones left to be planted" sourceRef="Gateway_0bb8o1z" targetRef="Activity_0z782bb">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="variable" value="z" />
<camunda:property name="type" value="all" />
<camunda:property name="formula" value="(reachable and toPlant)" />
</camunda:properties>
</bpmn:extensionElements>
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">z : all (reachable and toPlant)</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:endEvent id="end_in_place" name="end (in place) ">
<bpmn:incoming>Flow_14b309w</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_14b309w" name="there are no such zones" sourceRef="Gateway_0bb8o1z" targetRef="end_in_place" />
<bpmn:task id="Activity_0z782bb" name="move to some zone in z">
<bpmn:extensionElements>
<camunda:properties>
<camunda:property name="action" value="move to z" />
</camunda:properties>
</bpmn:extensionElements>
<bpmn:incoming>Flow_18ptpdh</bpmn:incoming>
<bpmn:outgoing>Flow_0llicsy</bpmn:outgoing>
</bpmn:task>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="s002Xor1">
<bpmndi:BPMNShape id="Participant_0tx4fwz_di" bpmnElement="P" isHorizontal="true">
<dc:Bounds x="129" y="40" width="600" height="250" />
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_14b309w_di" bpmnElement="Flow_14b309w">
<di:waypoint x="290" y="185" />
<di:waypoint x="290" y="230" />
<di:waypoint x="642" y="230" />
<bpmndi:BPMNLabel>
<dc:Bounds x="347" y="196" width="86" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_18ptpdh_di" bpmnElement="Flow_18ptpdh">
<di:waypoint x="315" y="160" />
<di:waypoint x="480" y="160" />
<bpmndi:BPMNLabel>
<dc:Bounds x="356" y="103" width="75" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0llicsy_di" bpmnElement="Flow_0llicsy">
<di:waypoint x="580" y="160" />
<di:waypoint x="642" y="160" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_09a8um7_di" bpmnElement="Flow_09a8um7">
<di:waypoint x="215" y="160" />
<di:waypoint x="265" y="160" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="_BPMNShape_StartEvent_2" bpmnElement="StartEvent_1">
<dc:Bounds x="179" y="142" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="187" y="185" width="22" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_0fkborc_di" bpmnElement="end_moved">
<dc:Bounds x="642" y="142" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="630" y="185" width="62" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_0bb8o1z_di" bpmnElement="Gateway_0bb8o1z" isMarkerVisible="true">
<dc:Bounds x="265" y="135" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1hpd68d_di" bpmnElement="end_in_place">
<dc:Bounds x="642" y="212" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="628" y="255" width="67" height="40" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_053b3ly_di" bpmnElement="Activity_0z782bb">
<dc:Bounds x="480" y="120" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>