LTO Network
Search…
Workflow node
LetsFlow is a workflow engine for running processes, described in YAML or JSON.
YAML
JSON
JSON (full)
1
schema: "https://specs.letsflow.io/v0.3.0/scenario#"
2
title: My first scenario
3
4
actors:
5
user:
6
title: The user
7
8
actions:
9
complete:
10
title: Complete the process
11
12
states:
13
initial:
14
on: complete
15
goto: (success)
Copied!
1
{
2
"schema": "https://specs.letsflow.io/v0.3.0/scenario#",
3
"title": "My first scenario",
4
"actors": {
5
"user": {
6
"title": "user"
7
}
8
},
9
"actions": {
10
"complete": {
11
"title": "Complete the process"
12
}
13
},
14
"states": {
15
"initial": {
16
"action": "complete",
17
"transition": "(success)"
18
}
19
}
20
}
Copied!
1
{
2
"$schema": "https://specs.letsflow.io/v0.3.0/scenario#",
3
"title": "My first scenario",
4
"actors": {
5
"user": {
6
"$schema": "https://specs.letsflow.io/v0.3.0/actor#",
7
"title": "user"
8
}
9
},
10
"actions": {
11
"complete": {
12
"title": "Complete the process",
13
"responses": {
14
"ok": {
15
"title": null,
16
"display": "always"
17
"update": [ ]
18
}
19
}
20
}
21
},
22
"states": {
23
"initial": {
24
"actions": [
25
"complete"
26
],
27
"transitions": [
28
{
29
"on": "*.*"
30
"goto": "(success)"
31
}
32
]
33
}
34
}
35
}
Copied!
Copy link