Power Automate (WDL) function
toUpper / toLower — Power Automate (WDL) function reference
Change case.
Syntax
wdl
toUpper(text) / toLower(text)
Examples
wdl
toUpper('po-12')→ "PO-12"
A case-insensitive comparison pattern, since equals() itself is case-sensitive.
wdl
equals(toLower(item()?['Email']), toLower(variables('adminEmail')))→ true / false
Capitalizes just the first letter.
wdl
concat(toUpper(substring(item()?['Name'], 0, 1)), toLower(substring(item()?['Name'], 1)))
→ "Powerstack" from "pOWERSTACK"
Common mistakes & gotchas
- Only letters are affected — numbers and symbols pass through unchanged.
- Wrapping both sides of equals() in toLower() (or toUpper()) is the standard pattern for case-insensitive text comparison.
Related Workflow Definition Language functions
From Strings