Power Automate (WDL) function
greaterOrEquals / lessOrEquals — Power Automate (WDL) function reference
Inclusive comparison.
Syntax
wdl
greaterOrEquals(value, compareTo) / lessOrEquals(value, compareTo)
Examples
wdl
lessOrEquals(variables('age'), 17)→ true / false
wdl
greaterOrEquals(variables('score'), 60)→ true / false
wdl
lessOrEquals(ticks(utcNow()), ticks(item()?['Deadline']))
→ true while the deadline is still in the future
Common mistakes & gotchas
- Same type-matching rule as greater()/less() — both sides must be comparable numbers or date strings, or the expression throws instead of returning false.
- There is no "between" function — a range check needs and(greaterOrEquals(...), lessOrEquals(...)).
Related Workflow Definition Language functions
From Logic & comparison