unary tests (decision table cells)
FEEL language construct
< 10 · [1..10] · 1, 2, 3 · not(1, 2)
A decision table input entry is not a full expression but a unary test: the input value is implicit, so the cell contains only the condition. An empty cell always matches. Because a unary test has no standalone value, test one here by making the implicit input explicit with the in operator.
Syntax elements
| Element | Type | Description |
|---|---|---|
| comparison | unary test | < 10, >= 5, and so on; the input is implicit |
| range | unary test | [1..10], (0..100] |
| alternatives | unary test | comma-separated values, matching any of them |
Examples
5 in (< 10)
true
Try it ↑
5 in [1..10]
true
Try it ↑
5 in (1, 3, 5)
true
Try it ↑
not(5 in (1, 2))
true
Try it ↑
Related constructs
in · range / interval · comparison and boolean operators
Related functions
Defined by the OMG DMN 1.6 specification, chapter 10.3 (the FEEL grammar and semantics).