Hi there,
I want to send emails to different users based on triggers. If form is submitted (Microsoft Form) and submitter selects State "Delaware" form should send email notification to user a. However if form is submitted and submitter selects State "Arkansas - AR", form should send email notification to user b.
I set up my flow as a condition for first state, then another condition for 2nd state.
And
State is equal to "Delaware - DE"
Or
I am pleased with the level of quality is equal to "Strongly Disagree"
If yes
(blank)
If no
Send an email notification
Condition 2
And
State is equal to Arkansas - AR
Or
I am pleased with the quality of service is equal to Strongly Disagree
If yes
(blank)
If no
Send an email notification
Should I do this differently?
Thanks, Barry for the suggestion. I added the switch to my flow and works great. I do need to add a less than or equal to in the flow. I thought if I added additional conditions to it? A less than or equal to? Or more conditions? Do I keep adding switches?
Thanks,
Lisa
This is exactly what I was looking for. I was also able to add a condition to my case because I also need to add specific conditions "less than or equal to" and add other states.
Thanks again for steering me in the right direction!
Lisa
Hi @LisaChoi ,
Using Switch-case to correspond to different options seems to be more suitable for your needs.
Image reference:
Please take a try.
Best Regards,
Hi @LisaChoi,
Conditions are fine to handle these situations, but you might also consider using a Switch action to handle some of the logic. Instead of have multiple And/Or Conditions, first implement a Switch action to handle the State part, and then a condition that handles the quality of service piece. "Switch" allows you to define what happens on different values--such as a different state-- and allows the Flow to "fall through" to a default. The default essentially means: what happens if none of these cases are true?
Take care!
Ashley
If this response provided an answer to your question please mark it as a solution.
If you liked my reply, please give it a thumbs up! Thank you!
WarrenBelz
146,524
Most Valuable Professional
RandyHayes
76,287
Super User 2024 Season 1
Pstork1
65,906
Most Valuable Professional