ScratchyDisk.DmnEngine 2.0.1

dotnet add package ScratchyDisk.DmnEngine --version 2.0.1
                    
NuGet\Install-Package ScratchyDisk.DmnEngine -Version 2.0.1
                    
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="ScratchyDisk.DmnEngine" Version="2.0.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="ScratchyDisk.DmnEngine" Version="2.0.1" />
                    
Directory.Packages.props
<PackageReference Include="ScratchyDisk.DmnEngine" />
                    
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 ScratchyDisk.DmnEngine --version 2.0.1
                    
#r "nuget: ScratchyDisk.DmnEngine, 2.0.1"
                    
#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.
#:package ScratchyDisk.DmnEngine@2.0.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=ScratchyDisk.DmnEngine&version=2.0.1
                    
Install as a Cake Addin
#tool nuget:?package=ScratchyDisk.DmnEngine&version=2.0.1
                    
Install as a Cake Tool

ScratchyDisk.DmnEngine

A .NET rule engine that executes decisions defined in DMN (Decision Model and Notation) models. It evaluates decision tables and expression decisions from OMG-standard DMN XML files (versions 1.1, 1.3, 1.3ext, 1.4, 1.5), or from definitions built programmatically using a fluent API.

Expressions are evaluated using a full FEEL (Friendly Enough Expression Language) interpreter built on ANTLR4, supporting the complete expression language including if/then/else, for/in/return, quantifiers, list/context operations, ranges, and ~80 built-in functions.

Quick Start

var def = DmnParser.Parse(fileName);
var ctx = DmnExecutionContextFactory.CreateExecutionContext(def);
ctx.WithInputParameter("input name", inputValue);
var result = ctx.ExecuteDecision("decision name");

You can also create definitions programmatically using the DmnDefinitionBuilder fluent API instead of parsing DMN XML.

Key Features

  • Full FEEL evaluator with ANTLR4 grammar
  • DMN 1.1 through 1.5 with auto-detection
  • All standard decision table hit policies
  • Decision requirement graphs (DRDs) with automatic dependency resolution
  • Fluent builder API for programmatic definitions
  • CLR interop from FEEL expressions
  • Expression caching with configurable scope
  • Thread-safe immutable definitions

Documentation

Full documentation, architecture details, and tools (web-based testbed, CLI runner) are available in the readme at the GitHub repository.

Product Compatible and additional computed target framework versions.
.NET net10.0 is compatible.  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. 
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
2.0.1 185 3/3/2026