Showing results for 
Search instead for 
Did you mean: 
Advocate I
Advocate I

Empty choice field value in SharePoint causing flow to fail

Hi There,


I have serveral choice fields that are not required to have value, when I am using that in Microsoft Flow I am getting the following error 



Unable to process template language expressions in action 'Send_an_email' inputs at line '1' and column '1752': 

'The template language expression 'coalesce(body('Get_item')?['Column'],body('Get_item')?['Column']['Value'],'')' cannot be evaluated because property 'Value' cannot be selected. 

Please see for usage details.'.


I am using the coalesce forumla after I got the similar error by just using body('Get_item')?['Column']['Value'],


If I used the below formula I get the empty value if no value is chosen in SharePoint form. 



But when there is a selection I get the value like below




I have also seen several post asking to use a condition action, using it would be very tedious and error prone as I have too many such columns like it.


Please let me knoe if you know how I could implement a logic for empty and non-empty fields


If none works then only option I am left with is to use default values for the choice fields.





Super User III
Super User III

Re: Empty choice field value in SharePoint causing flow to fail

I am not sure if this is what you are looking for, but I was able to check for an empty option column by using the empty() function/expression.


Does this solve your issue?



If I have answered your question, please mark your post as Solved.
If you like my response, please give it a Thumbs Up.

Community Support
Community Support

Re: Empty choice field value in SharePoint causing flow to fail

Hi @dnndev,


Could you please share a screenshot of your flow's configuration?


If you use the coalesce() expression within Microsoft Flow, the function would return the first non-null object in the arguments passed. If the Choice field is not selected with an option on your side, the Choice field would return empty, so the Value property could not be detected within the Choice field.


I agree with @ScottShearer's thought almost, you could also consider take a try to add a empty() function within your Condition box to check if the Choice field is empty.


In addition, I think your thought is available. You could consider take a try to set a Default value for your Choice field within your SharePoint list. 


Best regards,


Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Helper V
Helper V

Re: Empty choice field value in SharePoint causing flow to fail

Stumbled upon this same issue myself. 


Why would the connector assume that "" means 0, if I give no parameter to the field then its accepted as no value. How is the value '' different from a variable with the value ''? this is confusing flow dark magic that I keep having to waste time on.. 


Is there another workaround other than using empty() in a condition? Using conditions means that I now havet to maintain two sharepoint updates instead of just one.


I'm starting to get more and more confused, Flow is supposed to make simpler.. right?


Helpful resources


Super User Program Update

Three Super User rank tiers have been launched!


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021


New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!


Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,011)