WorkflowEngine.NETCore-ProviderForMongoDB 23.0.1

dotnet add package WorkflowEngine.NETCore-ProviderForMongoDB --version 23.0.1
                    
NuGet\Install-Package WorkflowEngine.NETCore-ProviderForMongoDB -Version 23.0.1
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="WorkflowEngine.NETCore-ProviderForMongoDB" Version="23.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="WorkflowEngine.NETCore-ProviderForMongoDB" Version="23.0.1" />
                    
Directory.Packages.props
<PackageReference Include="WorkflowEngine.NETCore-ProviderForMongoDB" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add WorkflowEngine.NETCore-ProviderForMongoDB --version 23.0.1
                    
#r "nuget: WorkflowEngine.NETCore-ProviderForMongoDB, 23.0.1"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package WorkflowEngine.NETCore-ProviderForMongoDB@23.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=WorkflowEngine.NETCore-ProviderForMongoDB&version=23.0.1
                    
Install as a Cake Addin
#tool nuget:?package=WorkflowEngine.NETCore-ProviderForMongoDB&version=23.0.1
                    
Install as a Cake Tool

WorkflowEngine.NETCore-ProviderForMongoDB

NuGet version NuGet downloads

WorkflowEngine.NETCore-ProviderForMongoDB is the MongoDB persistence provider for Workflow Engine by Optimajet. It stores schemes, process instances, parameters, timers and transition history in MongoDB. It can also be used with the MongoDB API for Azure Cosmos DB.

Product page · Installation guide · Documentation · Release notes

Install

dotnet add package WorkflowEngine.NETCore-ProviderForMongoDB

The package depends on WorkflowEngine.NETCore-Core.

Configure the runtime

using System.Xml.Linq;
using OptimaJet.Workflow.Core.Builder;
using OptimaJet.Workflow.Core.Parser;
using OptimaJet.Workflow.Core.Runtime;
using OptimaJet.Workflow.MongoDB;

var connectionString = Environment.GetEnvironmentVariable("WORKFLOW_CONNECTION_STRING")
    ?? throw new InvalidOperationException("Set WORKFLOW_CONNECTION_STRING for your database.");

var provider = new MongoDBProvider(connectionString);
var runtime = new WorkflowRuntime()
    .WithBuilder(new WorkflowBuilder<XElement>(provider, new XmlWorkflowParser(), provider).WithDefaultCache())
    .WithPersistenceProvider(provider)
    .Start();

// Stop this runtime when the application finishes processing workflows.
await runtime.ShutdownAsync();

Call ShutdownAsync() for each WorkflowRuntime during application shutdown.

Database setup

The provider targets .NET Standard 2.0 and creates the required MongoDB collections and indexes at runtime. It does not use WorkflowEngine.NETCore-Migrator or relational SQL migration scripts.

Grant the database user permission to create collections and indexes when the application starts against a new database.

Licensing and support

Workflow Engine is commercial software. Workflow Engine Free can be used within the limits and attribution terms in the EULA. A trial key is available for evaluating licensed capabilities.

Source repository and issues

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed.  net9.0 was computed.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net472 is compatible.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on WorkflowEngine.NETCore-ProviderForMongoDB:

Package Downloads
WorkflowEngine.NET-Server

Workfow Server is a ready-to-use Workflow Engine-based application that you can deploy into your infrastructure. It can be integrated with NodeJS, PHP, Ruby, .NET, or Java applications via a REST API. Workflow Server is a key component for managing the lifecycle of business objects within your enterprise. Key features: - Rest API - Manage schemes and processes with GET and POST requests to Workflow Server. - Web UI - Enjoy a responsive web-based interface, enabling you to make change on the fly. - Business Flow - Get form names depending on user role or type for each workflow instance. - Reports - Visualize process states, and key information on schemes, processes and performance.

OptimaJet.Workflow.Api.Mongo

MongoDB integration for Workflow Engine API by Optimajet. Registers the MongoDB API data provider and Workflow Engine persistence provider through AddWorkflowApiMongo.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
23.0.1 0 10/30/2026
23.0.0 142 10/27/2026
22.1.0 294 8/18/2026
22.0.0 277 7/16/2026
21.1.3 337 6/25/2026
21.1.2 264 6/18/2026
21.1.1 224 5/25/2026
21.1.0 157 5/19/2026
21.0.0 195 4/24/2026
20.0.9 190 4/17/2026
20.0.8 631 4/1/2026
20.0.7 198 3/19/2026
20.0.6 178 2/24/2026
20.0.5 304 2/6/2026
20.0.4 372 12/29/2025
20.0.3 925 12/2/2025
20.0.2 543 11/21/2025
20.0.1 446 11/10/2025
20.0.0 397 10/30/2025
19.0.0 470 9/18/2025
Loading failed