Workflow Task Types
A workflow's do list contains named tasks. Each entry has exactly one name with a task configuration beneath it. See Supported Features for which configuration variants Lemline can execute.
Task | Purpose |
|---|---|
Group tasks in a nested list | |
Construct a value from literal data and expressions | |
Choose a flow directive using conditions | |
Iterate over a collection | |
Run independent branches concurrently | |
Pause an instance for a duration | |
Catch errors, retry or run a fallback | |
Raise a defined or inline workflow error | |
Publish a CloudEvent | |
Wait for matching CloudEvents | |
Invoke a service or workflow function | |
Invoke a child workflow or other process |
Connect tasks
A task can provide an if condition, configure data with input, output and export, or change the default sequence with then.
See DSL Syntax Reference for workflow-level sections and expression scopes.
Run the Examples
Every example on this page is a complete workflow. Complete the SQLite setup, save each example under the file name used below, and run the commands from the setup directory. With the JAR, substitute java -jar lemline.jar for bin/lemline.
Keep the setup worker running and use a second terminal in the setup directory.
Example | Expected result |
|---|---|
ORD-301 |
|
ORD-302 |
|