Cheat Sheets/Power Automate/bool
Power Automate (WDL) function

boolPower Automate (WDL) function reference

Convert to boolean.

Syntax

wdl
bool(value)

Examples

wdl
bool('true')
true
wdl
bool(parameters('FeatureFlagEnabled'))
true / false
wdl
if(bool(item()?['IsActive']), 'Active', 'Inactive')
"Active" / "Inactive"

Common mistakes & gotchas

Related Workflow Definition Language functions

From Type conversion

← Back to the Power Automate (WDL) cheat sheet