Showing results for 
Search instead for 
Did you mean: 

Flow and SharePoint: How to Check for Empty Fields

I have found quite a few people asking about empty fields and how to check in Microsoft Flow that these fields are empty. In this post, I'm going through the options.


I'm going to start my Flow with a trigger When an item is created or modified. I'm selecting my testlist and I'm putting in a Condition to test a text field called Description.




Additionally I'm creating a condition that uses the empty expression.


And finally I create a condition that uses the expression null




Then I create an item and my flow will start. Would you expect that each of these conditions gives you the same result? Well have a look at the output below:




Only the last condition actually works, so why is that?


To explain this, I'm going to have a look at the SharePoint REST api. by visiting the following URL in my browser:'testlist')/items(14)



This collects item 14 from my testlist.


When investigating the output from the REST API, you can see that the value of the description field isn't an empty string but it is set to null instead. Hence all the string operation will not work.









Meet Our Blog Authors
  • Working daily with Microsoft Cloud to deliver the needs of my company, my customers and various Microsoft communities and forums. | Office 365 | Flow | PowerShell | PowerApps | SharePoint |
  • Co-founder of, Office 365 and SharePoint expert. Passionate about design and development of easy to use, convenient and flexible products.
  • Microsoft Business Apps MVP. Owner of ThriveFast, an Office 365 consulting company.
  • 7x Microsoft Business Solutions MVP (CRM)
  • I'm keen in MS technologies, SharePoint, Office 365 and development for them
  • Daniel is a Business Productivity Consultant & Microsoft Business Solutions MVP who is very enthusiastic about all things Office 365, Microsoft Flow, PowerApps, Azure & SharePoint (Online). Since the preview, Daniel has been working with Microsoft Flow and later on with Microsoft PowerApps. That led to him being awarded an MVP Award for Business Solutions. He loves to blog, present and evangelize about improving productivity in the modern workspace with these amazing tools!
  • Michelle is an Office 365 solution architect in Twin Cities, MN. She has been delivering business collaboration solutions for years with her focus on SharePoint and Office 365. Michelle is a recent board member of the Minnesota Office 365 User Group and has been a member of the SharePoint community since 2009. She is a frequent speaker at MNSPUG and SharePoint Saturday and co-chaired the Legal SharePoint User Group for 4 years. Her most frequent projects have involved rolling out a large deployment of Office 365, SharePoint Online intranet, build of a "CHAMPS" Office 365 user adoption program and most recently, SharePoint On-Premise to Online Migration. Michelle is very excited about cloud technology as it is shifting her IT Pro focus to collaboration strategy and technical adoption.
  • I'm a Microsoft Office Servers and Services MVP with a special interest in SharePoint, Office 365, Microsoft Flow, Microsoft Teams and PowerApps. I work at Triad Group Plc (
  • Passionate #Programmer #SharePoint #SPFx #Office365 #MSFlow | C-sharpCorner MVP | SharePoint StackOverflow, Github, PnP contributor