A2v10.Workflow.Engine 10.1.8214

dotnet add package A2v10.Workflow.Engine --version 10.1.8214                
NuGet\Install-Package A2v10.Workflow.Engine -Version 10.1.8214                
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.8214" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add A2v10.Workflow.Engine --version 10.1.8214                
#r "nuget: A2v10.Workflow.Engine, 10.1.8214"                
#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.
// Install A2v10.Workflow.Engine as a Cake Addin
#addin nuget:?package=A2v10.Workflow.Engine&version=10.1.8214

// Install A2v10.Workflow.Engine as a Cake Tool
#tool nuget:?package=A2v10.Workflow.Engine&version=10.1.8214                

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 InstanceId
Run Run workflow InstanceId, Args InstanceId, Result
Resume Resume workflow InstanceId, Bookmark, Reply 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": true
  }
}

All values (and section) are optional.

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
10.1.8214 85 2/27/2025
10.1.8213 95 2/23/2025
10.1.8212 87 2/23/2025
10.1.8210 100 2/21/2025
10.1.8209 90 2/21/2025
10.1.8208 91 2/20/2025
10.1.8207 83 2/19/2025
10.1.8206 100 2/16/2025
10.1.8205 92 2/8/2025
10.1.8204 94 1/26/2025
10.1.8203 92 1/20/2025
10.1.8202 84 1/18/2025
10.1.8201 113 12/16/2024
10.1.8200 101 11/21/2024
10.1.8162 106 11/3/2024
10.1.8161 103 10/28/2024
10.1.8160 99 10/25/2024
10.1.8159 97 10/25/2024
10.1.8158 83 10/22/2024
10.1.8157 153 10/18/2024
10.1.8156 100 10/10/2024
10.1.8155 97 10/5/2024
10.1.8154 93 9/29/2024
10.1.8153 101 8/28/2024
10.1.8152 133 8/24/2024
10.1.8151 121 8/12/2024
10.1.8150 106 8/7/2024
10.1.8149 92 7/25/2024
10.1.8148 117 7/18/2024
10.1.8147 102 7/16/2024
10.1.8146 106 7/12/2024
10.1.8145 109 7/5/2024
10.1.8144 110 6/28/2024
10.1.8143 122 6/17/2024
10.1.8142 123 6/2/2024
10.1.8141 122 5/30/2024
10.1.8140 118 5/24/2024
10.1.8139 120 5/18/2024
10.1.8138 128 4/7/2024
10.1.8137 138 3/13/2024
10.1.8136 115 2/29/2024
10.1.8135 126 2/26/2024
10.1.8134 124 2/25/2024
10.1.8133 117 2/24/2024
10.1.8132 126 2/14/2024
10.1.8131 140 2/4/2024
10.1.8130 119 1/30/2024
10.1.8129 132 1/24/2024
10.1.8128 122 1/19/2024
10.1.8127 102 1/19/2024
10.1.8126 155 1/7/2024
10.1.8125 174 1/3/2024
10.1.8124 147 12/29/2023
10.1.8123 128 12/26/2023
10.1.8122 170 12/2/2023
10.1.8121 155 11/16/2023
10.1.8120 133 11/16/2023
10.1.8111 133 11/11/2023
10.1.8110 146 11/6/2023
10.1.8109 192 9/3/2023
10.1.8108 179 9/2/2023
10.1.8107 154 8/8/2023
10.1.8106 192 7/23/2023
10.1.8105 198 7/21/2023
10.1.8104 181 7/21/2023
10.1.8103 188 6/8/2023
10.1.8102 207 4/17/2023
10.1.8101 333 12/10/2022
10.1.8100 342 11/28/2022
10.1.8098 450 10/31/2022
10.1.8097 471 10/16/2022
10.1.8096 517 9/16/2022
10.1.8095 499 9/6/2022
10.1.8094 491 9/4/2022
10.1.8093 518 8/17/2022
10.1.8092 553 6/11/2022
10.1.8091 529 6/9/2022
10.1.8090 526 5/20/2022
10.1.8089 576 4/21/2022
10.1.8088 560 2/16/2022
10.1.8087 558 2/16/2022
10.1.8086 554 2/14/2022
10.1.8085 548 2/13/2022
10.1.8084 545 2/9/2022
10.1.8083 564 1/27/2022
10.1.8081 563 1/18/2022
10.1.8080 564 1/18/2022
10.1.8079 403 12/30/2021
10.1.8078 412 12/29/2021
10.1.8077 431 12/15/2021
10.1.8076 419 12/15/2021
10.1.8075 392 12/14/2021
10.1.8074 628 12/11/2021
10.1.8073 409 12/10/2021
10.1.8072 382 12/5/2021
10.1.8071 868 12/3/2021
10.1.8070 1,576 11/26/2021
10.1.8057 842 11/21/2021
10.1.8056 471 11/17/2021
10.1.8055 474 11/13/2021
10.1.8054 464 11/11/2021
10.1.8053 498 11/10/2021
10.1.8051 527 11/7/2021
10.1.8050 515 11/3/2021
10.1.8049 505 11/2/2021
10.1.8048 520 10/5/2021
10.1.8047 506 10/1/2021
10.1.8046 490 9/22/2021
10.1.8045 495 9/21/2021
10.1.8044 546 9/20/2021
10.1.8043 478 9/20/2021
10.1.8042 483 9/20/2021
10.1.8041 483 9/17/2021
10.1.8040 489 9/16/2021
10.1.8036 535 9/16/2021
10.1.8035 539 9/15/2021
10.1.8034 516 9/15/2021
10.1.8033 531 9/15/2021