docs(elsa): workflows
This commit is contained in:
parent
b5a9db8693
commit
8effa2f66b
24
elsa/workflows.md
Normal file
24
elsa/workflows.md
Normal 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>
|
||||
Loading…
Reference in a new issue