Flows

Format

FBL expecting flows to be presented as YAML files with following format:
1
# [optional] flow version, used for informational purposes only.
2
version: 1.0.0
3
4
# [optional] flow description, used for informational purposes only.
5
description: |-
6
Plugn invoker.
7
8
# [optional] flow runtime dependencies
9
requires:
10
# [optional] fbl version requirements
11
fbl: '>=1.1.0'
12
13
# [optional] required plugins and their versions
14
plugins:
15
'@fbl-plugins/http': '>=0.1.0'
16
17
# [optional] required native applications presented in the PATH environment variable
18
applications:
19
- echo
20
21
# [required] entry point
22
pipeline:
23
# Pipeline may only have one root action ID (or alias).
24
# Value format is specific to the action. Each action may have its own format and requirements.
25
exec:
26
command: echo
27
args:
28
- 'Hello World'
29
30
# Metadata field.
31
# Each action may have zero or more additional metadata fields associated with it.
32
# All metadata fields should start with dollar sign ($).
33
$title: 'Say hello'
Copied!
In most cases you will use flow control action handlers as a starting point of your flow.
Last modified 3yr ago
Copy link