docs(elsa): workflows

This commit is contained in:
SemianiakaVY 2026-09-25 10:35:29 +00:00
parent b5a9db8693
commit 8effa2f66b

24
elsa/workflows.md Normal file
View file

@ -0,0 +1,24 @@
# Workflows
A **workflow definition** is the graph the Elsa engine executes. Definitions are
versioned and can be published independently of the running app.
## Version scopes
| Scope | Shows |
| --- | --- |
| Latest | One row per definition, newest version |
| Published | Only published versions |
| Draft | Only unpublished versions |
| All versions | Every stored version |
## Import / export
Definitions can be exported as JSON and re-imported through **Import** on the
Elsa Flows page. The JSON is the same document the engine stores, so an export
from one tenant can be imported into another.
<w4c-callout type="tip">
Keep the workflow graph small: one responsibility per definition is easier to
version, test and roll back.
</w4c-callout>