Lemline documentation Help

Open Workflow DSL Supported Features

This reference documents which features of the Open Workflow DSL v1.0 are currently supported in Lemline, and any implementation-specific details or limitations.

Implementation Status Overview

Lemline implements a subset of the Open Workflow DSL 1.0 specification, with more features being added in each release. This document provides a comprehensive view of what's currently supported and what's planned for future releases.

Core Features Support

Feature

Status

Notes

YAML Definition Format

✅ Supported

Primary format for workflow definitions

JSON Definition Format

⚠️ Partial

Basic JSON support available

Workflow Metadata

✅ Supported

Full support for namespace, name, version

Workflow Input/Output

✅ Supported

Including schema validation and the workflow-level input.from and output.as

States Definition

✅ Supported

Via task constructs

Expression Language

✅ Supported

JQ expressions, evaluated by jackson-jq.

Workflow Variables

✅ Supported

Context and scope variables

Error Handling

✅ Supported

Try/catch and retry mechanisms. A failed HTTP call raises a communication error whose status is the HTTP status

Workflow Timeouts

⚠️ Partial

Only listen task timeouts are enforced; workflow-level timeouts and timeouts on other tasks are ignored. HTTP calls use fixed limits (15 s connect, 30 s per request)

Control Flow Support

Feature

Status

Notes

Sequential Execution

✅ Supported

Via do construct

Parallel Execution

✅ Supported

Via fork construct

Switch/Choice

✅ Supported

Via switch construct.

Loops

✅ Supported

Via for and while constructs

Error Handling Flow

✅ Supported

Via try/catch constructs

Event-Based Execution

✅ Supported

Via listen construct

Subworkflows

✅ Supported

Via run construct

Dynamic Evaluation

✅ Supported

JQ expressions in most contexts

Task Types Support

Task Type

Status

Notes

HTTP Calls

✅ Supported

Any method, headers, query, JSON body, basic and bearer authentication, redirects with redirect: true. URI templates such as {id} are not expanded: build the URI with an expression

OpenAPI Calls

❌ Not supported

Parsed, but no runtime executor; use call: http

AsyncAPI Calls

❌ Not supported

Parsed, but no runtime executor; use emit and listen

gRPC Calls

❌ Not supported

Parsed, but no runtime executor

GraphQL

✅ Supported

Send the query and variables as the body of a call: http POST

Expression Evaluation

✅ Supported

Via set construct

Container Execution

❌ Not supported

Parsed, but no runtime executor: a run.container task fails when it runs

Script Execution

⚠️ Partial

Inline code, or a source.endpoint with an absolute file:// URI, in JavaScript or Python; other URI schemes are refused

Event Emission

✅ Supported

Via emit construct

Wait/Delay

✅ Supported

Via wait construct

Custom Function Calls

✅ Supported

Functions declared under use.functions, or read from a catalog declared under use.catalogs

Event Features Support

Feature

Status

Notes

Event Consumption

✅ Supported

Various strategies supported

Event Correlation

✅ Supported

Including complex conditions

Event Filtering

✅ Supported

JQ-based filtering

Event Timeouts

✅ Supported

For event waiting operations

CloudEvents Format

✅ Supported

Full CloudEvents compliance

Event Batching

✅ Supported

For efficient processing

Error Handling Support

Feature

Status

Notes

Error Definition

✅ Supported

Custom error types

Try/Catch

✅ Supported

Comprehensive error catching

Retry Policies

✅ Supported

Various backoff strategies

Custom Error Handling

✅ Supported

Error-specific handling logic

Compensation

✅ Supported

For transaction rollback

Error Propagation

✅ Supported

Across workflow boundaries

Authentication Support

Feature

Status

Notes

Basic Auth

✅ Supported

For call: http

Bearer Token

✅ Supported

For call: http

OAuth2

❌ Not yet supported

A call using it fails with a runtime error titled Unsupported OAuth2 authentication

API Keys

⚠️ No dedicated policy

Pass the key in headers or query, read from $secrets

mTLS

❌ Not supported

OIDC

❌ Not supported

Digest

❌ Not supported

Extension and Integration Support

Feature

Status

Notes

Custom Extensions

⚠️ Partial

Basic extension framework available

Function Catalog

⚠️ Partial

name:version@catalog reads <endpoint>/functions/<name>/<version>/function.yaml from an http, https or file endpoint, or from the built-in global catalog; endpoints with authentication are not supported (example)

Service Discovery

⚠️ Partial

Basic support via configuration

Metrics Integration

✅ Supported

Prometheus, JMX, etc.

Tracing Integration

✅ Supported

OpenTelemetry support

Kubernetes Integration

✅ Supported

Native Kubernetes support

Schema Validation

Feature

Status

Notes

JSON Schema

✅ Supported

Draft 2020-12 for workflow input, task input and output, and exports

String formats

✅ Supported

email, uri, date, time, date-time, ipv4 and uuid are checked

contentMediaType

⚠️ Annotation only

The content of the string is not checked

Tooling

Feature

Status

Notes

Mock configuration

✅ Supported

YAML or JSON files

Specification Deviations

In some areas, Lemline introduces minor deviations from the Open Workflow Specification to enhance usability or performance:

  1. Enhanced JQ Support: Extended JQ features for more powerful expressions

  2. Simplified Control Flow: More intuitive control flow constructs

  3. Expanded Error Types: More granular error type hierarchy

  4. Additional Timeout Options: More flexible timeout configurations

  5. Expanded Authentication Options: Additional authentication mechanisms

These deviations maintain compatibility with the core specification while providing additional capabilities.

Version Support

Lemline currently supports these versions of the Open Workflow Specification:

  • 1.0 (partial support)

  • 0.8 (better coverage)

  • 0.7 (extensive coverage)

Implementation Roadmap

Features planned for upcoming releases:

  1. Complete 1.0 Support: Full Open Workflow 1.0 specification coverage

  2. Enhanced GraphQL Support: Native GraphQL integration

  3. Advanced Container Orchestration: More sophisticated container execution options

  4. Additional Authentication Methods: Expand authentication options

  5. Enhanced Extension Framework: More powerful extension mechanisms

  6. Native Service Mesh Integration: Direct integration with service mesh platforms

Compatibility Notes

When migrating from other Open Workflow implementations to Lemline, consider:

  1. Expression Evaluation: Verify JQ expressions for compatibility

  2. Error Handling Logic: Test error handling behavior

  3. Event Processing: Validate event processing requirements

  4. Authentication Setup: Adapt authentication configurations

  5. Extension Usage: Review any custom extensions

Testing Specification Conformance

Lemline has no standalone validation command. lemline definition post parses each definition file and reports the files it cannot read; run the workflow in a test environment (for example with lemline listen --mock-config <file>) to check its behavior.

25 November 2026