cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Frequent Visitor

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
Highlighted
Super User III
Super User III

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!

Learn more from my blog

Power Automate Video Tutorials
Highlighted
Frequent Visitor

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. 

Highlighted
Super User III
Super User III

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!

Learn more from my blog

Power Automate Video Tutorials
Highlighted
Super User III
Super User III

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!

Learn more from my blog

Power Automate Video Tutorials
Highlighted
Frequent Visitor

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
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,389)