forked from sartography/spiff-example-cli
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ExclusiveGateway.bpmn
111 lines (111 loc) · 5.87 KB
/
ExclusiveGateway.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:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:di="http://www.omg.org/spec/DD/20100524/DI" id="Definitions_12gsbff" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="4.2.0">
<bpmn:process id="exgateway" name="ExclusiveGateway" isExecutable="true">
<bpmn:startEvent id="Event_1wr8xgi">
<bpmn:outgoing>Flow_1lxp3vf</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:userTask id="Activity_1qg4avh" name="Trip Info" camunda:formKey="TripInfo">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="location" label="Where are you going" type="enum" defaultValue="cabin">
<camunda:value id="cabin" name="Cabin" />
<camunda:value id="hotel" name="Hotel " />
<camunda:value id="camping" name="Camping" />
</camunda:formField>
<camunda:formField id="spam" label="Do you like spam" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1lxp3vf</bpmn:incoming>
<bpmn:outgoing>Flow_0eema84</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Activity_09e3b3s" name="Spam is bad" camunda:formKey="bad brand">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="bad brand" label="What is a bad spam brand" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>Flow_1f0xngu</bpmn:incoming>
<bpmn:outgoing>Flow_0ire2h7</bpmn:outgoing>
</bpmn:userTask>
<bpmn:userTask id="Activity_0vgw12z" name="Spam is good" camunda:formKey="good brand">
<bpmn:extensionElements>
<camunda:formData>
<camunda:formField id="good brand" label="What is a good spam brand" type="string" />
</camunda:formData>
</bpmn:extensionElements>
<bpmn:incoming>Flow_0ndzufr</bpmn:incoming>
<bpmn:outgoing>Flow_1tju9eo</bpmn:outgoing>
</bpmn:userTask>
<bpmn:sequenceFlow id="Flow_1lxp3vf" sourceRef="Event_1wr8xgi" targetRef="Activity_1qg4avh" />
<bpmn:sequenceFlow id="Flow_0eema84" sourceRef="Activity_1qg4avh" targetRef="Gateway_137eb6a" />
<bpmn:sequenceFlow id="Flow_1f0xngu" name=" Spam is bad" sourceRef="Gateway_137eb6a" targetRef="Activity_09e3b3s">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">spam != "yes"</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:sequenceFlow id="Flow_0ndzufr" name="Spam is good" sourceRef="Gateway_137eb6a" targetRef="Activity_0vgw12z" />
<bpmn:exclusiveGateway id="Gateway_137eb6a" default="Flow_0ndzufr">
<bpmn:incoming>Flow_0eema84</bpmn:incoming>
<bpmn:outgoing>Flow_1f0xngu</bpmn:outgoing>
<bpmn:outgoing>Flow_0ndzufr</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:endEvent id="Event_1ybdvth">
<bpmn:incoming>Flow_1tju9eo</bpmn:incoming>
<bpmn:incoming>Flow_0ire2h7</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_1tju9eo" sourceRef="Activity_0vgw12z" targetRef="Event_1ybdvth" />
<bpmn:sequenceFlow id="Flow_0ire2h7" sourceRef="Activity_09e3b3s" targetRef="Event_1ybdvth" />
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_1">
<bpmndi:BPMNPlane id="BPMNPlane_1" bpmnElement="exgateway">
<bpmndi:BPMNEdge id="Flow_0ndzufr_di" bpmnElement="Flow_0ndzufr">
<di:waypoint x="485" y="120" />
<di:waypoint x="540" y="120" />
<bpmndi:BPMNLabel>
<dc:Bounds x="466" y="83" width="68" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1f0xngu_di" bpmnElement="Flow_1f0xngu">
<di:waypoint x="460" y="145" />
<di:waypoint x="460" y="270" />
<di:waypoint x="540" y="270" />
<bpmndi:BPMNLabel>
<dc:Bounds x="389" y="193" width="62" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1tju9eo_di" bpmnElement="Flow_1tju9eo">
<di:waypoint x="640" y="120" />
<di:waypoint x="712" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0ire2h7_di" bpmnElement="Flow_0ire2h7">
<di:waypoint x="640" y="270" />
<di:waypoint x="730" y="270" />
<di:waypoint x="730" y="138" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_0eema84_di" bpmnElement="Flow_0eema84">
<di:waypoint x="380" y="120" />
<di:waypoint x="435" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_1lxp3vf_di" bpmnElement="Flow_1lxp3vf">
<di:waypoint x="218" y="120" />
<di:waypoint x="280" y="120" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNShape id="Event_1wr8xgi_di" bpmnElement="Event_1wr8xgi">
<dc:Bounds x="182" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_1qg4avh_di" bpmnElement="Activity_1qg4avh">
<dc:Bounds x="280" y="80" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Event_1ybdvth_di" bpmnElement="Event_1ybdvth">
<dc:Bounds x="712" y="102" width="36" height="36" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_1vierh4_di" bpmnElement="Gateway_137eb6a" isMarkerVisible="true">
<dc:Bounds x="435" y="95" width="50" height="50" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_09e3b3s_di" bpmnElement="Activity_09e3b3s">
<dc:Bounds x="540" y="230" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_0vgw12z_di" bpmnElement="Activity_0vgw12z">
<dc:Bounds x="540" y="80" width="100" height="80" />
</bpmndi:BPMNShape>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>