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

Server Backups Form And A Flow To Email Me When A Failure Is Chosen

Hi,

 

I have a Form with 27 questions about server backups (a question for each backup).  The responses will be Yes, No, Complete With Exception and there's an Other field where I can put in notes.  This form allow multiple answers too.

 

I created a Flow for the first two questions on the Form and they worked great.  Simple conditions to email me when the answer doesn't contain 'Yes'.  I could answer either one individually and not get notified of the other since it was left blank.  

 

I thought I was ready to go down the line and do the other 25 flow conditions, but as soon as I added the third condition (named 'Iron', set up identical to the previous two), the flow started emailing me failures of the other two questions even though no answer was given. 

 

Again, it didn't do this with just the first two items.  So I'm hoping to get some assistance with how I should set this up.  A screenshot of my Flow is below.

 

Form Flow

 

Thanks in advance for your help!

 

 

Jerome

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Server Backups Form And A Flow To Email Me When A Failure Is Chosen

Hi @jeromep,

 

Do you want to send failure emails to you when the answer doesn't contain 'Yes'?

 

I think there is something wrong with the formula within your Condition box of your flow, even though, a specific answer is left blank, the Condition would return true, so the flow would go into "If/yes" branch of your Condition box. 

 

You could consider take a try to modify your flow as below:2.JPG

 

3.JPG

 

Within Condition box, click "Edit in advanced mode", type the following formula:

 

@or(contains(body('Get_response_details')?['r82c1bf4fcdf743c28a0b8d4fe354953b'], 'Yes'),empty(body('Get_response_details')?['r82c1bf4fcdf743c28a0b8d4fe354953b']))

Note: The 'r82c1bf4fcdf743c28a0b8d4fe354953b' in above formula represents the answer to the question within my forms. You could get it with the following steps:

1. Add a Condition, within left input box, type a answer to question dynamic content:4.JPG

 2. Then click "Edit in advanced mode", the answer to question would be converted into following formula:5.JPG

Full Image reference:6.JPG

 

 

Best regards,

Kris

 

 

 

 

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.
4 REPLIES 4
anhthuch4ng
Level 8

Re: Server Backups Form And A Flow To Email Me When A Failure Is Chosen

Hi @jeromep,

 

Thanks for posting to the Flow Forum!

Since your question inquires about set up assistance, and as Flow Community Admin, I will move your thread to the General Flow Discussion Forum so more community members are likely to read and respond.

 

Cheers,

-AT (Flow Community Admin)

jeromep
Level: Powered On

Re: Server Backups Form And A Flow To Email Me When A Failure Is Chosen

Oh okay, apologies on that and thank you!

 

 

Jerome

Community Support Team
Community Support Team

Re: Server Backups Form And A Flow To Email Me When A Failure Is Chosen

Hi @jeromep,

 

Do you want to send failure emails to you when the answer doesn't contain 'Yes'?

 

I think there is something wrong with the formula within your Condition box of your flow, even though, a specific answer is left blank, the Condition would return true, so the flow would go into "If/yes" branch of your Condition box. 

 

You could consider take a try to modify your flow as below:2.JPG

 

3.JPG

 

Within Condition box, click "Edit in advanced mode", type the following formula:

 

@or(contains(body('Get_response_details')?['r82c1bf4fcdf743c28a0b8d4fe354953b'], 'Yes'),empty(body('Get_response_details')?['r82c1bf4fcdf743c28a0b8d4fe354953b']))

Note: The 'r82c1bf4fcdf743c28a0b8d4fe354953b' in above formula represents the answer to the question within my forms. You could get it with the following steps:

1. Add a Condition, within left input box, type a answer to question dynamic content:4.JPG

 2. Then click "Edit in advanced mode", the answer to question would be converted into following formula:5.JPG

Full Image reference:6.JPG

 

 

Best regards,

Kris

 

 

 

 

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.
jeromep
Level: Powered On

Re: Server Backups Form And A Flow To Email Me When A Failure Is Chosen

Awesome.  That seemed to work for these first 3 items on my list, I'll keep going.  Thanks again Kris!

 

 

Jerome

Helpful resources

Announcements
firstImage

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

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 Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 280 members 4,418 guests
Please welcome our newest community members: