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

Using switch and conditions in one flow

Hi all,

 

I need to build a flow that triggers an email to a group of account reps if certain conditions are met.  Each account rep manges several states.

 

Do I create the switch first based on their states then the condition (for example - if x = strongly disagree and x = disagree or y is less than or equal to 6.  

 

I created multiple cases for each account rep but emails were being triggered regardless of the 2nd condition needing to be met.  

 

I put the email trigger in " If No".  What do I p;ut in "If yes"?

What am I missing in my flow?

 

Help is greatly appreciated.

 

1 ACCEPTED SOLUTION

Accepted Solutions
LisaChoi
Level: Powered On

Re: Using switch and conditions in one flow

Hi again,

 

I did solve this afterall.  

 

Basically I combined a condition and nested the switch function and set it to If No.

 

nested condition.PNG

 

 

View solution in original post

4 REPLIES 4
Super User
Super User

Re: Using switch and conditions in one flow

@LisaChoi 

Hi there - Could you post a pic of your Flow?  That might help determine the best path.  If anything, maybe a sketch of how you think it should move would get us going.

 

Switches are fun, and I like the direction you're going.  I would caution against 'hard-coding' specific email addresses in the Flow just to make maintenance easier.  Also, where is the survey happening? and are you using any kind of xRM solution (D365CE)?

 

Keep us posted, you'll get this!

-Ed-

 

If you liked this reply, please give it a thumbs up! If this reply has answered your question or resolved your challenge, please consider marking it as a Solution. This helps other users find it more easily via search.

LisaChoi
Level: Powered On

Re: Using switch and conditions in one flow

switch and case.PNG

 

case 2.PNG

 

Photos uploaded.  The big question I have is 1.  How do I get the logic to trigger on the "Strongly Disagree", "Disagree", and < than or equal to 6 as well as all of the other states?  Should I chunk this out in smaller steps?

 

Lisa

LisaChoi
Level: Powered On

Re: Using switch and conditions in one flow

Also, the surveys are happening in Microsoft Forms.  I want to keep things super out of box as possible as we are resource limited and need to be able to support this without a lot of overhead.

LisaChoi
Level: Powered On

Re: Using switch and conditions in one flow

Hi again,

 

I did solve this afterall.  

 

Basically I combined a condition and nested the switch function and set it to If No.

 

nested condition.PNG

 

 

View solution in original post

Helpful resources

Announcements
firstImage

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

firstImage

Incoming: New and improved badges!

Look out for new contribution recognition badges coming SOON!

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

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Solution Authors
Top Kudoed Authors
Users online (3,846)