A2v10.Workflow.Engine
10.1.8261
dotnet add package A2v10.Workflow.Engine --version 10.1.8261
NuGet\Install-Package A2v10.Workflow.Engine -Version 10.1.8261
<PackageReference Include="A2v10.Workflow.Engine" Version="10.1.8261" />
<PackageVersion Include="A2v10.Workflow.Engine" Version="10.1.8261" />
<PackageReference Include="A2v10.Workflow.Engine" />
paket add A2v10.Workflow.Engine --version 10.1.8261
#r "nuget: A2v10.Workflow.Engine, 10.1.8261"
#:package A2v10.Workflow.Engine@10.1.8261
#addin nuget:?package=A2v10.Workflow.Engine&version=10.1.8261
#tool nuget:?package=A2v10.Workflow.Engine&version=10.1.8261
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.
appsettings.json section
"Workflow": {
"Store": {
"DataSource": "Connection_String_Name",
"MultiTenant": false
}
}
All values (and section) are optional.
Related Packages
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 | 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 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. |
-
net8.0
- A2v10.Runtime.Interfaces (>= 10.1.8122)
- A2v10.Scheduling.Infrastructure (>= 10.1.8500)
- A2v10.Workflow (>= 10.1.8260)
- A2v10.Workflow.Interfaces (>= 10.1.8260)
- A2v10.Workflow.Serialization (>= 10.1.8260)
- A2v10.Workflow.SqlServer (>= 10.1.8261)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.9)
-
net9.0
- A2v10.Runtime.Interfaces (>= 10.1.8122)
- A2v10.Scheduling.Infrastructure (>= 10.1.8500)
- A2v10.Workflow (>= 10.1.8260)
- A2v10.Workflow.Interfaces (>= 10.1.8260)
- A2v10.Workflow.Serialization (>= 10.1.8260)
- A2v10.Workflow.SqlServer (>= 10.1.8261)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.9)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Hosting.Abstractions (>= 9.0.9)
- Microsoft.Extensions.Logging.Abstractions (>= 9.0.9)
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.8261 | 110 | 9/25/2025 |
10.1.8260 | 297 | 9/18/2025 |
10.1.8258 | 313 | 9/17/2025 |
10.1.8257 | 126 | 9/14/2025 |
10.1.8256 | 75 | 9/13/2025 |
10.1.8255 | 150 | 9/10/2025 |
10.1.8254 | 327 | 8/25/2025 |
10.1.8253 | 118 | 8/24/2025 |
10.1.8252 | 87 | 8/23/2025 |
10.1.8251 | 147 | 8/17/2025 |
10.1.8250 | 98 | 8/16/2025 |
10.1.8249 | 172 | 8/12/2025 |
10.1.8248 | 161 | 8/10/2025 |
10.1.8247 | 291 | 8/5/2025 |
10.1.8246 | 120 | 7/29/2025 |
10.1.8245 | 296 | 7/26/2025 |
10.1.8244 | 292 | 7/26/2025 |
10.1.8243 | 430 | 7/25/2025 |
10.1.8242 | 493 | 7/24/2025 |
10.1.8241 | 529 | 7/23/2025 |
10.1.8240 | 553 | 7/22/2025 |
10.1.8239 | 547 | 7/22/2025 |
10.1.8238 | 167 | 7/15/2025 |
10.1.8237 | 203 | 7/9/2025 |
10.1.8236 | 188 | 7/1/2025 |
10.1.8235 | 197 | 6/26/2025 |
10.1.8234 | 240 | 6/19/2025 |
10.1.8233 | 184 | 6/14/2025 |
10.1.8232 | 314 | 6/13/2025 |
10.1.8231 | 316 | 6/12/2025 |
10.1.8230 | 316 | 6/11/2025 |
10.1.8229 | 207 | 6/4/2025 |
10.1.8228 | 120 | 5/31/2025 |
10.1.8227 | 177 | 5/29/2025 |
10.1.8226 | 178 | 5/29/2025 |
10.1.8225 | 180 | 5/29/2025 |
10.1.8224 | 199 | 5/20/2025 |
10.1.8223 | 274 | 5/14/2025 |
10.1.8222 | 189 | 5/8/2025 |
10.1.8221 | 166 | 4/27/2025 |
10.1.8220 | 255 | 4/15/2025 |
10.1.8219 | 203 | 3/31/2025 |
10.1.8218 | 200 | 3/31/2025 |
10.1.8217 | 190 | 3/31/2025 |
10.1.8216 | 201 | 3/31/2025 |
10.1.8215 | 209 | 3/12/2025 |
10.1.8214 | 164 | 2/27/2025 |
10.1.8213 | 155 | 2/23/2025 |
10.1.8212 | 154 | 2/23/2025 |
10.1.8210 | 171 | 2/21/2025 |
10.1.8209 | 149 | 2/21/2025 |
10.1.8208 | 160 | 2/20/2025 |
10.1.8207 | 150 | 2/19/2025 |
10.1.8206 | 168 | 2/16/2025 |
10.1.8205 | 163 | 2/8/2025 |
10.1.8204 | 160 | 1/26/2025 |
10.1.8203 | 159 | 1/20/2025 |
10.1.8202 | 151 | 1/18/2025 |
10.1.8201 | 173 | 12/16/2024 |
10.1.8200 | 161 | 11/21/2024 |
10.1.8162 | 170 | 11/3/2024 |
10.1.8161 | 169 | 10/28/2024 |
10.1.8160 | 164 | 10/25/2024 |
10.1.8159 | 159 | 10/25/2024 |
10.1.8158 | 146 | 10/22/2024 |
10.1.8157 | 213 | 10/18/2024 |
10.1.8156 | 181 | 10/10/2024 |
10.1.8155 | 160 | 10/5/2024 |
10.1.8154 | 157 | 9/29/2024 |
10.1.8153 | 163 | 8/28/2024 |
10.1.8152 | 185 | 8/24/2024 |
10.1.8151 | 186 | 8/12/2024 |
10.1.8150 | 172 | 8/7/2024 |
10.1.8149 | 155 | 7/25/2024 |
10.1.8148 | 182 | 7/18/2024 |
10.1.8147 | 152 | 7/16/2024 |
10.1.8146 | 167 | 7/12/2024 |
10.1.8145 | 171 | 7/5/2024 |
10.1.8144 | 159 | 6/28/2024 |
10.1.8143 | 170 | 6/17/2024 |
10.1.8142 | 180 | 6/2/2024 |
10.1.8141 | 183 | 5/30/2024 |
10.1.8140 | 178 | 5/24/2024 |
10.1.8139 | 174 | 5/18/2024 |
10.1.8138 | 186 | 4/7/2024 |
10.1.8137 | 198 | 3/13/2024 |
10.1.8136 | 176 | 2/29/2024 |
10.1.8135 | 189 | 2/26/2024 |
10.1.8134 | 177 | 2/25/2024 |
10.1.8133 | 169 | 2/24/2024 |
10.1.8132 | 187 | 2/14/2024 |
10.1.8131 | 197 | 2/4/2024 |
10.1.8130 | 180 | 1/30/2024 |
10.1.8129 | 191 | 1/24/2024 |
10.1.8128 | 173 | 1/19/2024 |
10.1.8127 | 148 | 1/19/2024 |
10.1.8126 | 212 | 1/7/2024 |
10.1.8125 | 234 | 1/3/2024 |
10.1.8124 | 206 | 12/29/2023 |
10.1.8123 | 180 | 12/26/2023 |
10.1.8122 | 197 | 12/2/2023 |
10.1.8121 | 184 | 11/16/2023 |
10.1.8120 | 163 | 11/16/2023 |
10.1.8111 | 158 | 11/11/2023 |
10.1.8110 | 178 | 11/6/2023 |
10.1.8109 | 241 | 9/3/2023 |
10.1.8108 | 227 | 9/2/2023 |
10.1.8107 | 211 | 8/8/2023 |
10.1.8106 | 247 | 7/23/2023 |
10.1.8105 | 257 | 7/21/2023 |
10.1.8104 | 237 | 7/21/2023 |
10.1.8103 | 254 | 6/8/2023 |
10.1.8102 | 270 | 4/17/2023 |
10.1.8101 | 397 | 12/10/2022 |
10.1.8100 | 406 | 11/28/2022 |
10.1.8098 | 517 | 10/31/2022 |
10.1.8097 | 546 | 10/16/2022 |
10.1.8096 | 588 | 9/16/2022 |
10.1.8095 | 570 | 9/6/2022 |
10.1.8094 | 565 | 9/4/2022 |
10.1.8093 | 591 | 8/17/2022 |
10.1.8092 | 630 | 6/11/2022 |
10.1.8091 | 608 | 6/9/2022 |
10.1.8090 | 606 | 5/20/2022 |
10.1.8089 | 648 | 4/21/2022 |
10.1.8088 | 647 | 2/16/2022 |
10.1.8087 | 643 | 2/16/2022 |
10.1.8086 | 640 | 2/14/2022 |
10.1.8085 | 636 | 2/13/2022 |
10.1.8084 | 634 | 2/9/2022 |
10.1.8083 | 644 | 1/27/2022 |
10.1.8081 | 640 | 1/18/2022 |
10.1.8080 | 654 | 1/18/2022 |
10.1.8079 | 491 | 12/30/2021 |
10.1.8078 | 506 | 12/29/2021 |
10.1.8077 | 509 | 12/15/2021 |
10.1.8076 | 505 | 12/15/2021 |
10.1.8075 | 469 | 12/14/2021 |
10.1.8074 | 713 | 12/11/2021 |
10.1.8073 | 489 | 12/10/2021 |
10.1.8072 | 469 | 12/5/2021 |
10.1.8071 | 953 | 12/3/2021 |
10.1.8070 | 1,668 | 11/26/2021 |
10.1.8057 | 922 | 11/21/2021 |
10.1.8056 | 572 | 11/17/2021 |
10.1.8055 | 565 | 11/13/2021 |
10.1.8054 | 553 | 11/11/2021 |
10.1.8053 | 586 | 11/10/2021 |
10.1.8051 | 616 | 11/7/2021 |
10.1.8050 | 606 | 11/3/2021 |
10.1.8049 | 595 | 11/2/2021 |
10.1.8048 | 615 | 10/5/2021 |
10.1.8047 | 583 | 10/1/2021 |
10.1.8046 | 589 | 9/22/2021 |
10.1.8045 | 586 | 9/21/2021 |
10.1.8044 | 637 | 9/20/2021 |
10.1.8043 | 566 | 9/20/2021 |
10.1.8042 | 573 | 9/20/2021 |
10.1.8041 | 572 | 9/17/2021 |
10.1.8040 | 580 | 9/16/2021 |
10.1.8036 | 620 | 9/16/2021 |
10.1.8035 | 625 | 9/15/2021 |
10.1.8034 | 601 | 9/15/2021 |
10.1.8033 | 622 | 9/15/2021 |