Introduction
In this PowerGuideTip26, I'll show you - How to perform a Null check in String Variable or check whether the string variable has value or not in Power Automate.
There are many business use cases, where you need to check in the condition step, whether the string variable has data or not.
In the following example, I am Initializing a String Variable (UserRole) and in a later stage, I am setting a value in it. And in the Condition step (As shown below), I want to check whether this string variable contains data or not. If contains data or not null then proceed with Process A, else proceed with Process B
Algorithm
If UserRole is Empty or UserRole is Empty = true
then perform process A
else perform process B
Used following expression in the condition for String Null check.
empty(variables('UserRole'))
*This post is locked for comments