A2v10.Workflow.Engine
10.1.8309
See the version list below for details.
dotnet add package A2v10.Workflow.Engine --version 10.1.8309
NuGet\Install-Package A2v10.Workflow.Engine -Version 10.1.8309
<PackageReference Include="A2v10.Workflow.Engine" Version="10.1.8309" />
<PackageVersion Include="A2v10.Workflow.Engine" Version="10.1.8309" />
<PackageReference Include="A2v10.Workflow.Engine" />
paket add A2v10.Workflow.Engine --version 10.1.8309
#r "nuget: A2v10.Workflow.Engine, 10.1.8309"
#:package A2v10.Workflow.Engine@10.1.8309
#addin nuget:?package=A2v10.Workflow.Engine&version=10.1.8309
#tool nuget:?package=A2v10.Workflow.Engine&version=10.1.8309
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.
Related Packages
Feedback
A2v10.Workflow.Engine is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.
| Product | Versions 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. |
-
net10.0
- A2v10.Runtime.Interfaces (>= 10.1.8600)
- A2v10.Scheduling.Infrastructure (>= 10.1.8600)
- A2v10.Workflow (>= 10.1.8309)
- A2v10.Workflow.Interfaces (>= 10.1.8307)
- A2v10.Workflow.Serialization (>= 10.1.8307)
- A2v10.Workflow.SqlServer (>= 10.1.8309)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.1)
-
net8.0
- A2v10.Runtime.Interfaces (>= 10.1.8600)
- A2v10.Scheduling.Infrastructure (>= 10.1.8600)
- A2v10.Workflow (>= 10.1.8309)
- A2v10.Workflow.Interfaces (>= 10.1.8307)
- A2v10.Workflow.Serialization (>= 10.1.8307)
- A2v10.Workflow.SqlServer (>= 10.1.8309)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.1)
-
net9.0
- A2v10.Runtime.Interfaces (>= 10.1.8600)
- A2v10.Scheduling.Infrastructure (>= 10.1.8600)
- A2v10.Workflow (>= 10.1.8309)
- A2v10.Workflow.Interfaces (>= 10.1.8307)
- A2v10.Workflow.Serialization (>= 10.1.8307)
- A2v10.Workflow.SqlServer (>= 10.1.8309)
- Microsoft.Extensions.Configuration.Binder (>= 10.0.1)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Hosting.Abstractions (>= 10.0.1)
- Microsoft.Extensions.Logging.Abstractions (>= 10.0.1)
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.8321 | 89 | 2/5/2026 |
| 10.1.8320 | 163 | 1/18/2026 |
| 10.1.8316 | 136 | 1/10/2026 |
| 10.1.8315 | 142 | 1/8/2026 |
| 10.1.8314 | 182 | 1/6/2026 |
| 10.1.8313 | 132 | 12/31/2025 |
| 10.1.8312 | 133 | 12/28/2025 |
| 10.1.8311 | 328 | 12/16/2025 |
| 10.1.8309 | 444 | 12/11/2025 |
| 10.1.8308 | 749 | 12/3/2025 |
| 10.1.8307 | 685 | 12/3/2025 |
| 10.1.8306 | 715 | 12/2/2025 |
| 10.1.8305 | 173 | 11/29/2025 |
| 10.1.8304 | 177 | 11/28/2025 |
| 10.1.8303 | 438 | 11/20/2025 |
| 10.1.8302 | 430 | 11/19/2025 |
| 10.1.8301 | 430 | 11/18/2025 |
| 10.1.8300 | 291 | 11/14/2025 |
| 10.1.8264 | 242 | 10/25/2025 |