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 |
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 |
Workflow Timeouts | ⚠️ Partial | Only |
Control Flow Support
Feature | Status | Notes |
|---|---|---|
Sequential Execution | ✅ Supported | Via |
Parallel Execution | ✅ Supported | Via |
Switch/Choice | ✅ Supported | Via |
Loops | ✅ Supported | Via |
Error Handling Flow | ✅ Supported | Via |
Event-Based Execution | ✅ Supported | Via |
Subworkflows | ✅ Supported | Via |
Dynamic Evaluation | ✅ Supported | JQ expressions in most contexts |
Task Types Support
Task Type | Status | Notes |
|---|---|---|
HTTP Calls | ✅ Supported | Any method, headers, query, JSON body, |
OpenAPI Calls | ❌ Not supported | Parsed, but no runtime executor; use |
AsyncAPI Calls | ❌ Not supported | Parsed, but no runtime executor; use |
gRPC Calls | ❌ Not supported | Parsed, but no runtime executor |
GraphQL | ✅ Supported | Send the query and variables as the body of a |
Expression Evaluation | ✅ Supported | Via |
Container Execution | ❌ Not supported | Parsed, but no runtime executor: a |
Script Execution | ⚠️ Partial | Inline |
Event Emission | ✅ Supported | Via |
Wait/Delay | ✅ Supported | Via |
Custom Function Calls | ✅ Supported | Functions declared under |
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 |
Bearer Token | ✅ Supported | For |
OAuth2 | ❌ Not yet supported | A call using it fails with a |
API Keys | ⚠️ No dedicated policy | Pass the key in |
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 |
|
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 |
|
| ⚠️ 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:
Enhanced JQ Support: Extended JQ features for more powerful expressions
Simplified Control Flow: More intuitive control flow constructs
Expanded Error Types: More granular error type hierarchy
Additional Timeout Options: More flexible timeout configurations
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:
Complete 1.0 Support: Full Open Workflow 1.0 specification coverage
Enhanced GraphQL Support: Native GraphQL integration
Advanced Container Orchestration: More sophisticated container execution options
Additional Authentication Methods: Expand authentication options
Enhanced Extension Framework: More powerful extension mechanisms
Native Service Mesh Integration: Direct integration with service mesh platforms
Compatibility Notes
When migrating from other Open Workflow implementations to Lemline, consider:
Expression Evaluation: Verify JQ expressions for compatibility
Error Handling Logic: Test error handling behavior
Event Processing: Validate event processing requirements
Authentication Setup: Adapt authentication configurations
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.