web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Automate 101 - N...
Power Apps
Unanswered

Power Automate 101 - Null verses Empty Strings

(1) ShareShare
ReportReport
Posted on by 63

Just want to share a lesson learned on my Power Automate journey! 

A user came to me with a flow error message they did not understand. They were using a Condition connector to compare a SharePoint value to an empty field. 

Due to data sensitivity, I don't have a screen shot of the exact error but here is a close example:

null error PAutomate.png

The thought came across, maybe a recent Microsoft update was made and now blanks in the Condition connector are no longer allowed. After taking a look at this article, Reference guide for expression functions - Azure Logic Apps | Microsoft Learn, I found one of those special Microsoft notes, indicating that with Condition Connectors, null values (null) are converted into empty strings (""), and that the connector behaves differently when you compare with an empty string verses a null value. 

At this point I had a hunch that maybe it was not the end of the comparison causing the issue, but the beginning. We tested using Null() verses an Empty Field in the end of the comparison. 

Sure enough...you are still able to use nothing in place of the end comparison in the Condition Connector...however...you need to be aware if your SharePoint field selected is Null, not empty strings. When a SharePoint Field is Null, it's not available in the return data (I believe it's in JSON).

 

Null Empty Strings Outputs Results.jpg

 

Due to this, if you're using it in a Condition connector, you may retrieve an error, unless you account for Null AND Empty Strings. 

Null Empty String Comparison.JPG

You can do this by using an OR statement in the Condition Connector and listing both scenarios.

I hope this helps someone along their journey. Happy Friday, Happy Solutioning! 

Null Empty Strings Outputs Results.JPG
null error PAutomate.png
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 899

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 499

Last 30 days Overall leaderboard