max
FEEL built-in function · FEEL list functions
max(list) or max(c1, …, cN)
Returns the largest element. All elements must be comparable with each other.
Parameters
| Parameter | Type | Description |
|---|---|---|
| list | list | comparable values, as one list or as separate arguments |
Examples
max(1, 2, 3)
3
Try it ↑
max([date("2026-01-01"), date("2026-07-24")])
2026-07-24
Try it ↑
Edge cases and null handling
max([1, null, 3][item != null])
3
Try it ↑
Part of FEEL list functions: how positions, nulls and single values behave across all of them, aggregating over lists of contexts, and every function side by side.
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3.4 (built-in functions).