Cheat Sheets/Power Automate/greaterOrEquals / lessOrEquals
Power Automate (WDL) function

greaterOrEquals / lessOrEqualsPower 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

Related Workflow Definition Language functions

From Logic & comparison

Used in these tutorials

← Back to the Power Automate (WDL) cheat sheet