A2v10.Workflow.Engine 10.1.8240

There is a newer version of this package available.
See the version list below for details.
dotnet add package A2v10.Workflow.Engine --version 10.1.8240
                    
NuGet\Install-Package A2v10.Workflow.Engine -Version 10.1.8240
                    
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.8240" />
                    
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.8240" />
                    
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.8240
                    
#r "nuget: A2v10.Workflow.Engine, 10.1.8240"
                    
#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.8240
                    
#: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.8240
                    
Install as a Cake Addin
#tool nuget:?package=A2v10.Workflow.Engine&version=10.1.8240
                    
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
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.

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*/
}

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 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. 
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.8260 244 9/18/2025
10.1.8258 261 9/17/2025
10.1.8257 123 9/14/2025
10.1.8256 62 9/13/2025
10.1.8255 137 9/10/2025
10.1.8254 311 8/25/2025
10.1.8253 107 8/24/2025
10.1.8252 71 8/23/2025
10.1.8251 132 8/17/2025
10.1.8250 82 8/16/2025
10.1.8249 160 8/12/2025
10.1.8248 146 8/10/2025
10.1.8247 264 8/5/2025
10.1.8246 108 7/29/2025
10.1.8245 260 7/26/2025
10.1.8244 260 7/26/2025
10.1.8243 400 7/25/2025
10.1.8242 477 7/24/2025
10.1.8241 524 7/23/2025
10.1.8240 539 7/22/2025
10.1.8239 533 7/22/2025
10.1.8238 157 7/15/2025
10.1.8237 188 7/9/2025
10.1.8236 172 7/1/2025
10.1.8235 183 6/26/2025
10.1.8234 222 6/19/2025
10.1.8233 181 6/14/2025
10.1.8232 300 6/13/2025
10.1.8231 312 6/12/2025
10.1.8230 306 6/11/2025
10.1.8229 193 6/4/2025
10.1.8228 106 5/31/2025
10.1.8227 177 5/29/2025
10.1.8226 168 5/29/2025
10.1.8225 170 5/29/2025
10.1.8224 189 5/20/2025
10.1.8223 262 5/14/2025
10.1.8222 179 5/8/2025
10.1.8221 156 4/27/2025
10.1.8220 245 4/15/2025
10.1.8219 193 3/31/2025
10.1.8218 190 3/31/2025
10.1.8217 190 3/31/2025
10.1.8216 191 3/31/2025
10.1.8215 199 3/12/2025
10.1.8214 154 2/27/2025
10.1.8213 155 2/23/2025
10.1.8212 144 2/23/2025
10.1.8210 161 2/21/2025
10.1.8209 149 2/21/2025
10.1.8208 150 2/20/2025
10.1.8207 140 2/19/2025
10.1.8206 158 2/16/2025
10.1.8205 153 2/8/2025
10.1.8204 150 1/26/2025
10.1.8203 148 1/20/2025
10.1.8202 141 1/18/2025
10.1.8201 173 12/16/2024
10.1.8200 151 11/21/2024
10.1.8162 160 11/3/2024
10.1.8161 158 10/28/2024
10.1.8160 154 10/25/2024
10.1.8159 148 10/25/2024
10.1.8158 136 10/22/2024
10.1.8157 203 10/18/2024
10.1.8156 171 10/10/2024
10.1.8155 148 10/5/2024
10.1.8154 147 9/29/2024
10.1.8153 153 8/28/2024
10.1.8152 185 8/24/2024
10.1.8151 176 8/12/2024
10.1.8150 161 8/7/2024
10.1.8149 145 7/25/2024
10.1.8148 172 7/18/2024
10.1.8147 152 7/16/2024
10.1.8146 156 7/12/2024
10.1.8145 161 7/5/2024
10.1.8144 159 6/28/2024
10.1.8143 170 6/17/2024
10.1.8142 170 6/2/2024
10.1.8141 173 5/30/2024
10.1.8140 168 5/24/2024
10.1.8139 174 5/18/2024
10.1.8138 176 4/7/2024
10.1.8137 188 3/13/2024
10.1.8136 166 2/29/2024
10.1.8135 179 2/26/2024
10.1.8134 177 2/25/2024
10.1.8133 168 2/24/2024
10.1.8132 177 2/14/2024
10.1.8131 187 2/4/2024
10.1.8130 170 1/30/2024
10.1.8129 181 1/24/2024
10.1.8128 171 1/19/2024
10.1.8127 148 1/19/2024
10.1.8126 202 1/7/2024
10.1.8125 224 1/3/2024
10.1.8124 196 12/29/2023
10.1.8123 180 12/26/2023
10.1.8122 186 12/2/2023
10.1.8121 174 11/16/2023
10.1.8120 153 11/16/2023
10.1.8111 147 11/11/2023
10.1.8110 168 11/6/2023
10.1.8109 231 9/3/2023
10.1.8108 216 9/2/2023
10.1.8107 201 8/8/2023
10.1.8106 237 7/23/2023
10.1.8105 246 7/21/2023
10.1.8104 226 7/21/2023
10.1.8103 244 6/8/2023
10.1.8102 260 4/17/2023
10.1.8101 387 12/10/2022
10.1.8100 396 11/28/2022
10.1.8098 507 10/31/2022
10.1.8097 536 10/16/2022
10.1.8096 577 9/16/2022
10.1.8095 559 9/6/2022
10.1.8094 554 9/4/2022
10.1.8093 580 8/17/2022
10.1.8092 619 6/11/2022
10.1.8091 597 6/9/2022
10.1.8090 593 5/20/2022
10.1.8089 647 4/21/2022
10.1.8088 635 2/16/2022
10.1.8087 631 2/16/2022
10.1.8086 628 2/14/2022
10.1.8085 622 2/13/2022
10.1.8084 622 2/9/2022
10.1.8083 642 1/27/2022
10.1.8081 639 1/18/2022
10.1.8080 642 1/18/2022
10.1.8079 479 12/30/2021
10.1.8078 492 12/29/2021
10.1.8077 508 12/15/2021
10.1.8076 493 12/15/2021
10.1.8075 468 12/14/2021
10.1.8074 701 12/11/2021
10.1.8073 488 12/10/2021
10.1.8072 456 12/5/2021
10.1.8071 941 12/3/2021
10.1.8070 1,656 11/26/2021
10.1.8057 921 11/21/2021
10.1.8056 549 11/17/2021
10.1.8055 553 11/13/2021
10.1.8054 541 11/11/2021
10.1.8053 574 11/10/2021
10.1.8051 603 11/7/2021
10.1.8050 594 11/3/2021
10.1.8049 583 11/2/2021
10.1.8048 603 10/5/2021
10.1.8047 582 10/1/2021
10.1.8046 576 9/22/2021
10.1.8045 574 9/21/2021
10.1.8044 623 9/20/2021
10.1.8043 554 9/20/2021
10.1.8042 561 9/20/2021
10.1.8041 560 9/17/2021
10.1.8040 568 9/16/2021
10.1.8036 608 9/16/2021
10.1.8035 613 9/15/2021
10.1.8034 589 9/15/2021
10.1.8033 609 9/15/2021