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

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

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.

View solution in original post

4 REPLIES 4
anhthuch4ng Post Prodigy
Post Prodigy

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
Regular Visitor

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

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.

View solution in original post

jeromep
Regular Visitor

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

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Automate Community!

firstImage

Now Live: Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

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!

sixthImage

Community Summit North America

The top training and networking event across the globe for Microsoft Business Applications

Top Solution Authors
Users online (7,356)