Workflow Core is a lightweight embeddable workflow engine for .NET Standard that tracks long-running multi-step processes. It offers fluent and JSON/YAML definitions with pluggable persistence.
Overview
Workflow Core targets .NET Standard with an embeddable workflow engine for long-running processes that span multiple tasks and need durable state. It supports pluggable persistence and concurrency providers for multi-node clusters.
Workflows can be defined through a fluent API or JSON and YAML definitions via the WorkFlowCore.DSL package. Samples cover sagas with compensation, parallel and synchronous foreach, events, human tasks, branching, loops, scheduled jobs, dependency injection, and REST exposure.
Persistence providers ship separately for memory, MongoDB, Cosmos DB, DynamoDB, SQL databases, Redis, Oracle, and others. Optional search index plugins include Elasticsearch, and extensions mention Microsoft.Extensions.AI.
A related Conductor project provides a stand-alone workflow server that uses Workflow Core internally, documented separately from the library.
Key features
- .NET Standard embeddable engine
- Fluent workflow API
- JSON and YAML DSL definitions
- Pluggable persistence providers
- Saga compensation patterns
- Human approval workflows
- Event and activity worker steps
- Optional Elasticsearch indexing
Use cases
- Orchestrating long-running .NET jobs
- Modeling saga transactions
- Persisting workflow state across nodes
- Mixing automated and human steps