Workflow Definition Syntax
A workflow definition is a YAML file, with the following structure:Available stages
As of today, the following stages are supported:Stage | Description |
---|---|
send | Transfers value from a source to a destination. This stage is compatible with ledgers, payments, and wallets. |
wait_event | Makes the workflow instance wait for an event to be emitted by an external system. |
delay | Makes the workflow instance wait for a given amount of time. |
Using variables
Variables can be used in the workflow definition, by using the${}
syntax. Variables will then be expanded according to the values passed at workflow execution time.