cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Shinmaru
Level: Powered On

Form - Empty field check on Flow

Hello, 

 

I can't figure out how to check if a field in a Microsoft Form (generic text field) is empty. 

 

My goal is: 

When a form is completed, Flow send a mail to a specified mail adress, which contain the content of the form.

It should look like:

 

image.png

 

image.png

 

But i want to add a formula, that check IF the field (let's say Field N°3) wasn't filled by the user, and if so, don't write the mail "Answer for field N°3"

 

So, the mail will not be full of "Answer N°X" with a blank space under, but only for the field that was filled. 

------------------------------

 

I'm pretty new in Flow, and i'll take any possible clue as answer. 

 

Regards. 

Shinmaru

5 REPLIES 5
Super User
Super User

Re: Form - Empty field check on Flow

Hi @Shinmaru 

 

Check this post

 

https://faustocapellan.com/2017/10/25/check-for-null-value-using-flow/

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Shinmaru
Level: Powered On

Re: Form - Empty field check on Flow

Hello, 

 

And thanks for the answer and the time you dedicated to me. 

 

Unfortunately, this does not answer my problem, i mean, it's a possible answer, but since the "Edit in advance mode" option doesn't exist anymore, is there any equivalent for the "coalesce" function in Dynamics Formula? (Can't find any)  

 

Or else, is there any other way to check if a field from a Forms is blank in Flow? 


Regards, 

 

Shinmaru. 

Super User
Super User

Re: Form - Empty field check on Flow

Hi @Shinmaru 

 

Yes can't see the advanced mode Smiley Sad so what I did is add a compose action and map the the response. See the code view of compose step.

 

co1.png

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks

 



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Super User
Super User

Re: Form - Empty field check on Flow

Hi @Shinmaru 

 

If the below reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!



Shinmaru
Level: Powered On

Re: Form - Empty field check on Flow

 

 

And once again, thanks for the dedicated time. 

 

I get how to insert the "compose" step. But can't figure 2 things. 

 

- First one: In your picture, what exactly is in your condition?
Why the "Question 1" is in the left box, and what is exactly the function in the right box.
Shouldn't you compare the output of your "Compose" step to true? Like below.

Captureflow.PNG

 

 

- Second one: 

Why, in the "Compose" step, in your picture, it shows "Question 1" that give you this code, while, on my side, when i set this code, it doesn't transform graphically in the box of the field i want to check. 

Same result if i try it in reverse, if i set my question first, it doesn't set the same code: 

Captureflow2.PNG

 

Regards, Shinmaru

Helpful resources

Announcements
firstImage

New & Improved Power Automate Community Cookbook

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

thirdimage

Power Automate Community User Group Member Badge

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

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors (Last 30 Days)
Users online (4,980)