LTO Network
Search…
Latest version
Getting started
Tutorials
Buying and staking LTO
Mining
Anchoring
Live Contracts
Wallets
LTO wallet
Third-Party Wallets
ERC20 Token Swap
Running a node
Public node
Anchor node
Identity node
Workflow node
Installation Guide
REST API
Libraries
JavaScript
Python
PHP
Java
Go
Protocol
Cryptography
Accounts
Identities
Public layer
Private layer
Powered By
GitBook
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)"
}
]
}
}
}
Previous
REST API
Next
Installation Guide
Last modified
6mo ago
Copy link