Power Automate (WDL) function
not — Power Automate (WDL) function reference
Invert a condition.
Syntax
wdl
not(expression)
Examples
wdl
not(empty(variables('rows')))→ true / false
wdl
not(contains(item()?['Tags'], 'Excluded'))
→ true / false
wdl
not(and(variables('isApproved'), variables('isPaid')))→ true / false
Common mistakes & gotchas
- not() takes exactly one boolean argument — not(a, b) is invalid, unlike and()/or().
- not(null) throws rather than returning true; make sure the inner expression always resolves to an actual boolean (via empty()/equals(), etc.) before negating it.
Related Workflow Definition Language functions
From Logic & comparison