Skip to main content

Function Definition

A Function Definition allows you to define reusable logic within DMN.

Types of Functions

  1. FEEL Function:

    • Logic is defined using a pure FEEL expression.
    • Example: function(a, b) a + b
  2. External Function:

    • Links to logic executed outside the DMN XML.

Syntax

function(parameter1, parameter2)
body_expression