cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Shinmaru
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
abm
Super User
Super User

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 blogPower Automate Video Tutorials
Shinmaru
Frequent Visitor

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. 

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 blogPower Automate Video Tutorials
abm
Super User
Super User

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 blogPower Automate Video Tutorials
Shinmaru
Frequent Visitor

 

 

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
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Users online (3,040)