-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathwfx.workflow.remote.access.yml
54 lines (42 loc) · 1.19 KB
/
wfx.workflow.remote.access.yml
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
# SPDX-FileCopyrightText: 2023 Siemens AG
# SPDX-License-Identifier: Apache-2.0
---
name: wfx.workflow.remote.access
states:
- name: OPEN
description: Instructs the client to open remote access
- name: OPENING
description: The client is preparing the remote access
- name: OPENED
description: The client has activated remote access
- name: CLOSED
description: The remote access has been shut down again
- name: FAILED
description: Something went wrong
- name: CANCELED
description: The request was canceled
transitions:
######################################################################
## Happy Path
######################################################################
- from: OPEN
to: OPENING
eligible: CLIENT
- from: OPENING
to: OPENED
eligible: CLIENT
- from: OPENED
to: CLOSED
eligible: CLIENT
- from: OPENED
to: CLOSED
eligible: WFX
######################################################################
## Abort and Error Scenarios
######################################################################
- from: OPENING
to: FAILED
eligible: CLIENT
- from: OPEN
to: CANCELED
eligible: WFX