Simpleflow 1.0.12-beta2

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.12-beta2
                    
NuGet\Install-Package Simpleflow -Version 1.0.12-beta2
                    
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.12-beta2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Simpleflow" Version="1.0.12-beta2" />
                    
Directory.Packages.props
<PackageReference Include="Simpleflow" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Simpleflow --version 1.0.12-beta2
                    
#r "nuget: Simpleflow, 1.0.12-beta2"
                    
#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.
#addin nuget:?package=Simpleflow&version=1.0.12-beta2&prerelease
                    
Install Simpleflow as a Cake Addin
#tool nuget:?package=Simpleflow&version=1.0.12-beta2&prerelease
                    
Install Simpleflow as a Cake Tool

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 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 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.  net9.0 was computed.  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. 
.NET Core netcoreapp3.1 is compatible. 
.NET Framework net48 is compatible.  net481 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
1.0.12 9,230 10/20/2022
1.0.12-beta2 160 10/17/2022
1.0.12-beta1 164 10/11/2022
1.0.11 452 9/27/2022
1.0.11-beta4 177 9/27/2022
1.0.11-beta3 172 9/21/2022
1.0.10 436 9/5/2022
1.0.9 436 8/23/2022
1.0.8 434 8/18/2022
1.0.7 435 8/16/2022
1.0.5 438 8/12/2022
1.0.4-beta3 176 8/11/2022
1.0.4-beta2 155 8/10/2022
1.0.4-beta1 162 8/9/2022
1.0.3 431 8/4/2022
1.0.3-beta2 173 8/3/2022
1.0.3-beta1 170 8/2/2022
1.0.2 448 7/28/2022
1.0.1 457 7/27/2022
1.0.0 447 7/26/2022
0.1.0-beta06 178 7/25/2022
0.1.0-beta05 167 7/21/2022
0.1.0-beta04 172 7/19/2022
0.1.0-beta03 163 7/15/2022
0.1.0-beta02 185 7/13/2022
0.1.0-beta01 178 7/12/2022