A2v10.Workflow.Engine 10.1.8325

dotnet add package A2v10.Workflow.Engine --version 10.1.8325
                    
NuGet\Install-Package A2v10.Workflow.Engine -Version 10.1.8325
                    
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="A2v10.Workflow.Engine" Version="10.1.8325" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="A2v10.Workflow.Engine" Version="10.1.8325" />
                    
Directory.Packages.props
<PackageReference Include="A2v10.Workflow.Engine" />
                    
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 A2v10.Workflow.Engine --version 10.1.8325
                    
#r "nuget: A2v10.Workflow.Engine, 10.1.8325"
                    
#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 A2v10.Workflow.Engine@10.1.8325
                    
#: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=A2v10.Workflow.Engine&version=10.1.8325
                    
Install as a Cake Addin
#tool nuget:?package=A2v10.Workflow.Engine&version=10.1.8325
                    
Install as a Cake Tool

About

A2v10.Workflow.Engine is a simple BPMN 2.0 workflow engine for the A2v10 platform applications.

How to use

services.AddWorkflowEngineScoped(opts => {
   opts.NativeTypes = ...
});

// or 
services.AddWorkflowEngineSingleton(opts => {
   opts.NativeTypes = ...
});

// optional
services.ConfigureWorkflow(Configuration);

How to use for A2v10 applications

Initialize in Startup.cs:

services.AddInvokeTargets(a =>
{
    a.RegisterEngine<WorkflowInvokeTarget>("Workflow", InvokeScope.Scoped);
});

Targets in model.json:

{
  "commands":{
    "start": {
      "type": "invokeTarget",
      "target": "Workflow.{Command}",
    }
}

Available commands:

Command Description Arguments Returns
Save Save workflow WorkflowId, Format, Body
Publish Publish workflow WorkflowId WorkflowId, Version
Start Start workflow WorkflowId, Version, Args InstanceId, Result
Create Create workflow WorkflowId, CorrelationId InstanceId
Run Run workflow InstanceId, CorrelationId, Args InstanceId, Result
Resume Resume workflow InstanceId, Bookmark, Reply¹ InstanceId, Result
Message Send message to workflow InstanceId, Message InstanceId
Variables Get instance Variables InstanceId Result
CheckSyntax Check script syntax WorkflowId Errors: []

The Start command is equivalent to Create + Run. The Version is optional. If not specified - the max version will be used.

¹ When the Reply object includes the UserId property with the value $(UserId), the system substitutes this placeholder with the current user Id."

appsettings.json section

"Workflow": {
  "Store": {
    "DataSource": "Connection_String_Name",
    "MultiTenant": false
  }
}

All values (and section) are optional.

Global Workflow Variables

Available variables:

  • Instance is the current workflow instance
{
    Id: string, 
    CorrelationId: string, 
    ExecutionStatus: string
}
  • LastResult is the last received result of an activity Resume or CallActivity invocation.
{
  ... /*all reply properties*/
}
  • CurrentUser is the current user identifier.

Feedback

A2v10.Workflow.Engine is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  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 is compatible.  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 is compatible.  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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on A2v10.Workflow.Engine:

Package Downloads
A2v10.Module.Workflow

A2v10 Platform Application Workflow UI

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
10.1.8325 111 3/7/2026
10.1.8324 114 3/2/2026
10.1.8323 91 2/27/2026
10.1.8322 121 2/21/2026
10.1.8321 103 2/5/2026
10.1.8320 204 1/18/2026
10.1.8316 147 1/10/2026
10.1.8315 152 1/8/2026
10.1.8314 192 1/6/2026
10.1.8313 142 12/31/2025
10.1.8312 143 12/28/2025
10.1.8311 339 12/16/2025
10.1.8309 455 12/11/2025
10.1.8308 765 12/3/2025
10.1.8307 694 12/3/2025
10.1.8306 726 12/2/2025
10.1.8305 182 11/29/2025
10.1.8304 190 11/28/2025
10.1.8303 448 11/20/2025
Loading failed