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

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. 

abm
Super User III
Super User III

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

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
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (1,842)