Simpleflow 1.0.5

There is a newer version of this package available.
See the version list below for details.
dotnet add package Simpleflow --version 1.0.5                
NuGet\Install-Package Simpleflow -Version 1.0.5                
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="Simpleflow" Version="1.0.5" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Simpleflow --version 1.0.5                
#r "nuget: Simpleflow, 1.0.5"                
#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 Simpleflow as a Cake Addin
#addin nuget:?package=Simpleflow&version=1.0.5

// Install Simpleflow as a Cake Tool
#tool nuget:?package=Simpleflow&version=1.0.5                

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.

NuGet version (Simpleflow) Github Workflow (Simpleflow)

Simpleflow .NET Rule and Workflow Engine

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 flowScript = 
@" 
    # Declare and initialize variables
    let text  = ""Hello, World! 🌄""
    let today = $GetCurrentDateTime ( timezone: ""Eastern Standard Time"" )

    # Write rules
    rule when arg.UniversalId == 2 and (arg.New or arg.Verified)  then
         message text
    end rule
    
    # Output
    output today
";

// Execute Script
FlowOutput result = SimpleflowEngine.Run(flowScript, 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 Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  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. 
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
1.0.12 2,617 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