-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcloud_host_roaming_workflow.bpmn
More file actions
132 lines (132 loc) · 7.72 KB
/
Copy pathcloud_host_roaming_workflow.bpmn
File metadata and controls
132 lines (132 loc) · 7.72 KB
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
<?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:modeler="http://camunda.org/schema/modeler/1.0" id="Definitions_roaming" targetNamespace="http://bpmn.io/schema/bpmn" exporter="Camunda Modeler" exporterVersion="5.16.0" modeler:executionPlatform="Camunda Platform" modeler:executionPlatformVersion="7.20.0">
<bpmn:process id="cloud-host-roaming-workflow" name="Cloud Host Roaming Migration Workflow" isExecutable="true" camunda:historyTimeToLive="180">
<bpmn:startEvent id="StartEvent_Roaming" name="Start Roaming">
<bpmn:outgoing>Flow_Roaming_1</bpmn:outgoing>
</bpmn:startEvent>
<bpmn:serviceTask id="Activity_PrepareHost" name="Prepare for Migration" camunda:type="external" camunda:topic="prepare-roaming">
<bpmn:incoming>Flow_Roaming_1</bpmn:incoming>
<bpmn:outgoing>Flow_Roaming_2</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_Roaming_1" sourceRef="StartEvent_Roaming" targetRef="Activity_PrepareHost" />
<bpmn:serviceTask id="Activity_MigrateData" name="Migrate Data to Target Host" camunda:type="external" camunda:topic="migrate-roaming">
<bpmn:incoming>Flow_Roaming_2</bpmn:incoming>
<bpmn:outgoing>Flow_Roaming_3</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_Roaming_2" sourceRef="Activity_PrepareHost" targetRef="Activity_MigrateData" />
<bpmn:serviceTask id="Activity_SwitchNetwork" name="Switch Network and Services" camunda:type="external" camunda:topic="switch-roaming">
<bpmn:incoming>Flow_Roaming_3</bpmn:incoming>
<bpmn:outgoing>Flow_Roaming_4</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_Roaming_3" sourceRef="Activity_MigrateData" targetRef="Activity_SwitchNetwork" />
<bpmn:serviceTask id="Activity_VerifyMigration" name="Verify Migration Success" camunda:type="external" camunda:topic="verify-roaming">
<bpmn:incoming>Flow_Roaming_4</bpmn:incoming>
<bpmn:outgoing>Flow_Roaming_5</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_Roaming_4" sourceRef="Activity_SwitchNetwork" targetRef="Activity_VerifyMigration" />
<bpmn:exclusiveGateway id="Gateway_MigrationSuccess" name="Migration Successful?">
<bpmn:incoming>Flow_Roaming_5</bpmn:incoming>
<bpmn:outgoing>Flow_Success</bpmn:outgoing>
<bpmn:outgoing>Flow_Rollback</bpmn:outgoing>
</bpmn:exclusiveGateway>
<bpmn:sequenceFlow id="Flow_Roaming_5" sourceRef="Activity_VerifyMigration" targetRef="Gateway_MigrationSuccess" />
<bpmn:serviceTask id="Activity_Rollback" name="Rollback Migration" camunda:type="external" camunda:topic="rollback-roaming">
<bpmn:incoming>Flow_Rollback</bpmn:incoming>
<bpmn:outgoing>Flow_RollbackEnd</bpmn:outgoing>
</bpmn:serviceTask>
<bpmn:sequenceFlow id="Flow_Rollback" sourceRef="Gateway_MigrationSuccess" targetRef="Activity_Rollback">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${!migrationSuccess}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
<bpmn:endEvent id="EndEvent_Rollback" name="Migration Failed">
<bpmn:incoming>Flow_RollbackEnd</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_RollbackEnd" sourceRef="Activity_Rollback" targetRef="EndEvent_Rollback" />
<bpmn:endEvent id="EndEvent_Success" name="Migration Completed">
<bpmn:incoming>Flow_Success</bpmn:incoming>
</bpmn:endEvent>
<bpmn:sequenceFlow id="Flow_Success" sourceRef="Gateway_MigrationSuccess" targetRef="EndEvent_Success">
<bpmn:conditionExpression xsi:type="bpmn:tFormalExpression">${migrationSuccess}</bpmn:conditionExpression>
</bpmn:sequenceFlow>
</bpmn:process>
<bpmndi:BPMNDiagram id="BPMNDiagram_Roaming">
<bpmndi:BPMNPlane id="BPMNPlane_Roaming" bpmnElement="cloud-host-roaming-workflow">
<bpmndi:BPMNShape id="StartEvent_Roaming_di" bpmnElement="StartEvent_Roaming">
<dc:Bounds x="179" y="270" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="160" y="313" width="74" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_PrepareHost_di" bpmnElement="Activity_PrepareHost">
<dc:Bounds x="270" y="248" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_MigrateData_di" bpmnElement="Activity_MigrateData">
<dc:Bounds x="430" y="248" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_SwitchNetwork_di" bpmnElement="Activity_SwitchNetwork">
<dc:Bounds x="590" y="248" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_VerifyMigration_di" bpmnElement="Activity_VerifyMigration">
<dc:Bounds x="750" y="248" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Gateway_MigrationSuccess_di" bpmnElement="Gateway_MigrationSuccess" isMarkerVisible="true">
<dc:Bounds x="925" y="265" width="50" height="50" />
<bpmndi:BPMNLabel>
<dc:Bounds x="914" y="322" width="72" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="Activity_Rollback_di" bpmnElement="Activity_Rollback">
<dc:Bounds x="900" y="130" width="100" height="80" />
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_Rollback_di" bpmnElement="EndEvent_Rollback">
<dc:Bounds x="932" y="40" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="912" y="6" width="75" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape id="EndEvent_Success_di" bpmnElement="EndEvent_Success">
<dc:Bounds x="1032" y="265" width="36" height="36" />
<bpmndi:BPMNLabel>
<dc:Bounds x="1007" y="308" width="86" height="27" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge id="Flow_Roaming_1_di" bpmnElement="Flow_Roaming_1">
<di:waypoint x="215" y="288" />
<di:waypoint x="270" y="288" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Roaming_2_di" bpmnElement="Flow_Roaming_2">
<di:waypoint x="370" y="288" />
<di:waypoint x="430" y="288" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Roaming_3_di" bpmnElement="Flow_Roaming_3">
<di:waypoint x="530" y="288" />
<di:waypoint x="590" y="288" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Roaming_4_di" bpmnElement="Flow_Roaming_4">
<di:waypoint x="690" y="288" />
<di:waypoint x="750" y="288" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Roaming_5_di" bpmnElement="Flow_Roaming_5">
<di:waypoint x="850" y="288" />
<di:waypoint x="925" y="288" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Rollback_di" bpmnElement="Flow_Rollback">
<di:waypoint x="950" y="265" />
<di:waypoint x="950" y="210" />
<bpmndi:BPMNLabel>
<dc:Bounds x="928" y="235" width="44" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_RollbackEnd_di" bpmnElement="Flow_RollbackEnd">
<di:waypoint x="950" y="130" />
<di:waypoint x="950" y="76" />
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge id="Flow_Success_di" bpmnElement="Flow_Success">
<di:waypoint x="975" y="288" />
<di:waypoint x="1032" y="283" />
<bpmndi:BPMNLabel>
<dc:Bounds x="987" y="270" width="44" height="14" />
</bpmndi:BPMNLabel>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</bpmn:definitions>