Simpleflow 1.0.4-beta1

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

// Install Simpleflow as a Cake Tool
#tool nuget:?package=Simpleflow&version=1.0.4-beta1&prerelease                

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,401 10/20/2022
1.0.12-beta2 142 10/17/2022
1.0.12-beta1 147 10/11/2022
1.0.11 427 9/27/2022
1.0.11-beta4 159 9/27/2022
1.0.11-beta3 154 9/21/2022
1.0.10 412 9/5/2022
1.0.9 414 8/23/2022
1.0.8 408 8/18/2022
1.0.7 414 8/16/2022
1.0.5 410 8/12/2022
1.0.4-beta3 159 8/11/2022
1.0.4-beta2 135 8/10/2022
1.0.4-beta1 144 8/9/2022
1.0.3 409 8/4/2022
1.0.3-beta2 154 8/3/2022
1.0.3-beta1 153 8/2/2022
1.0.2 426 7/28/2022
1.0.1 435 7/27/2022
1.0.0 425 7/26/2022
0.1.0-beta06 161 7/25/2022
0.1.0-beta05 148 7/21/2022
0.1.0-beta04 153 7/19/2022
0.1.0-beta03 145 7/15/2022
0.1.0-beta02 167 7/13/2022
0.1.0-beta01 161 7/12/2022