Simpleflow 1.0.9
See the version list below for details.
dotnet add package Simpleflow --version 1.0.9
NuGet\Install-Package Simpleflow -Version 1.0.9
<PackageReference Include="Simpleflow" Version="1.0.9" />
paket add Simpleflow --version 1.0.9
#r "nuget: Simpleflow, 1.0.9"
// Install Simpleflow as a Cake Addin #addin nuget:?package=Simpleflow&version=1.0.9 // Install Simpleflow as a Cake Tool #tool nuget:?package=Simpleflow&version=1.0.9
Simpleflow
Simpleflow is a lightweight dynamic rule engine to execute dynamic rules and workflows using intuitive script concepts. Simpleflow allows access to the process objects or methods in script securely. Methods can be registered as activities with Simpleflow engine, which is extensible to enrich or monitor the execution flow. Simpleflow is secure and efficient to run dynamic rules and workflow.
Get Started
Install package via Nuget. Using the NuGet package manager console within Visual Studio run the following command:
Install-Package Simpleflow
Try the following Simpleflow script:
using Simpleflow;
// Simpleflow Script
var script =
@"
# Declare and initialize variables
let today = $GetCurrentDate()
# Write rules
rule when arg.UniversalId == 2
and (arg.New or arg.Verified) then
message 'Hello, World! 🌄'
end rule
# Output
output today
";
// Execute Script
FlowOutput result = SimpleflowEngine.Run(script, new {UniversalId = 2, New=true, Verified=false} );
// Access result
Console.WriteLine(result.Messages[0]);
Console.WriteLine(result.Output["today"]);
Output
Hello, World! 🌄
<current system date and time>
Please see the full documentation on how to use this library.
License
The code is available as open source under the terms of the Apache 2.0 License. Please see the LICENSE file in this repository.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. 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. |
.NET Core | netcoreapp3.1 is compatible. |
-
.NETCoreApp 3.1
- Antlr4.Runtime.Standard (>= 4.10.1)
- Microsoft.Extensions.Caching.Memory (>= 6.0.1)
-
net6.0
- Antlr4.Runtime.Standard (>= 4.10.1)
- Microsoft.Extensions.Caching.Memory (>= 6.0.1)
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 |
---|---|---|
1.0.12 | 2,705 | 10/20/2022 |
1.0.12-beta2 | 144 | 10/17/2022 |
1.0.12-beta1 | 149 | 10/11/2022 |
1.0.11 | 431 | 9/27/2022 |
1.0.11-beta4 | 161 | 9/27/2022 |
1.0.11-beta3 | 156 | 9/21/2022 |
1.0.10 | 416 | 9/5/2022 |
1.0.9 | 416 | 8/23/2022 |
1.0.8 | 414 | 8/18/2022 |
1.0.7 | 416 | 8/16/2022 |
1.0.5 | 416 | 8/12/2022 |
1.0.4-beta3 | 161 | 8/11/2022 |
1.0.4-beta2 | 137 | 8/10/2022 |
1.0.4-beta1 | 146 | 8/9/2022 |
1.0.3 | 411 | 8/4/2022 |
1.0.3-beta2 | 156 | 8/3/2022 |
1.0.3-beta1 | 155 | 8/2/2022 |
1.0.2 | 428 | 7/28/2022 |
1.0.1 | 437 | 7/27/2022 |
1.0.0 | 427 | 7/26/2022 |
0.1.0-beta06 | 163 | 7/25/2022 |
0.1.0-beta05 | 150 | 7/21/2022 |
0.1.0-beta04 | 155 | 7/19/2022 |
0.1.0-beta03 | 147 | 7/15/2022 |
0.1.0-beta02 | 169 | 7/13/2022 |
0.1.0-beta01 | 163 | 7/12/2022 |