Skip to Content
Flower BPM 3.8.0 is released 🎉 See what's new
DocsDMN ReferenceLiteral and Boxed Expressions
Documentation· 2 min read· Updated November 2026

Literal and Boxed Expressions

The logic of a DMN decision is a boxed expression: a FEEL expression in a standard graphical box. The decision table is one of them. The others:

Boxed expressionWhat it isExample
Literal expressionOne FEEL expression in a boxif score >= 80 then "low" else "high"
ContextNamed entries, each a boxed expression, and an optional final result; later entries can use earlier onesnet: amount * 0.84, tax: amount - net, result {net: net, tax: tax}
InvocationA call of a business knowledge model with values for its parametersRisk score with age = customer.age, income = customer.income
RelationA table of values: a list of contexts with the same columnsA price list of products and prices
ListA vertical list of boxed expressionsThree thresholds, one per row
Function definitionParameters and a body, the logic of a business knowledge modelfunction(amount, rate) amount * rate
Conditional (DMN 1.4)if, then and else, each in its own boxIf VIP, then the VIP table, else the standard table
Filter (DMN 1.4)A list and a conditionThe open orders
Iterator (DMN 1.4)for, some or every over a list, in boxesThe amount of every order

The Literal Expression

The literal expression is the simplest logic: one FEEL expression whose value is the result of the decision. It suits calculations and short rules:

DecisionLiteral expression
Net priceorder.amount * (1 - discount.percent / 100)
Approverif order.amount >= 10000 then "CFO" else if order.amount >= 1000 then "Manager" else "Team lead"
Deadlinetoday() + duration("P5D")
Is urgentcontains(lower case(summary), "urgent") or priority = "Highest"

Since FEEL itself has contexts, lists, if, for, some, every and filters, a literal expression can express what the context, list, conditional, filter and iterator boxes draw. The boxes make large logic easier to read, the result is the same.

In Flower BPM

Boxed expressionWhat Flower BPM does
Decision tableEvaluated, with every hit policy. See Hit Policies.
Literal expressionEvaluated with FEEL. The result is the value of the expression (a number, a text, a context, a list).
Context, invocation, relation, list, function definition, conditional, filter, iteratorNot evaluated. A decision with such logic gets an error when it runs: The decision … is no decision table and no literal expression, the result is null, and the process goes on.

To use such logic in Flower BPM, write it as a literal expression (a FEEL context {net: ..., tax: ...}, a list, if ... then ... else, for), or split it into decisions that require each other in the DRD. The DMN modeler of Flower BPM offers decision tables and literal expressions. See DMN Coverage.

Last updated on