FEEL

every … satisfies

FEEL language construct

every name in list satisfies condition

The universal quantifier: true when the condition holds for every element of the list. An empty list satisfies it vacuously, which is the usual source of surprise when a validation rule passes for a record with no line items.

Syntax elements

ElementTypeDescription
namenamethe iteration variable
listlist or rangethe elements to test
satisfiesbooleanthe condition evaluated per element

Examples

every x in [1,5,9] satisfies x > 0
every x in [] satisfies x > 100
every item in [{qty: 1}, {qty: 2}] satisfies item.qty > 0

Related constructs

some … satisfies · for … in … return

Related functions

all · count

Defined by the OMG DMN 1.6 specification, chapter 10.3 (the FEEL grammar and semantics).