LTO Network
Search…
Workflow node
LetsFlow is a workflow engine for running processes, described in YAML or JSON.
YAML
JSON
JSON (full)
schema: "https://specs.letsflow.io/v0.3.0/scenario#"
title: My first scenario
actors:
user:
title: The user
actions:
complete:
title: Complete the process
states:
initial:
on: complete
goto: (success)
{
"schema": "https://specs.letsflow.io/v0.3.0/scenario#",
"title": "My first scenario",
"actors": {
"user": {
"title": "user"
}
},
"actions": {
"complete": {
"title": "Complete the process"
}
},
"states": {
"initial": {
"action": "complete",
"transition": "(success)"
}
}
}
{
"$schema": "https://specs.letsflow.io/v0.3.0/scenario#",
"title": "My first scenario",
"actors": {
"user": {
"$schema": "https://specs.letsflow.io/v0.3.0/actor#",
"title": "user"
}
},
"actions": {
"complete": {
"title": "Complete the process",
"responses": {
"ok": {
"title": null,
"display": "always"
"update": [ ]
}
}
}
},
"states": {
"initial": {
"actions": [
"complete"
],
"transitions": [
{
"on": "*.*"
"goto": "(success)"
}
]
}
}
}
Copy link