cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Zango
Advocate II
Advocate II

Can you use expressions for switch?

Hi, 

 

I have been setting up email reminders for actions approaching/going over their due dates.

 

In a condition I can use "is equal to" and then my expression for the date.

condition and expression workscondition and expression works

But in a switch statement it doesn't bring up the wizard to set the Equals text box to be an expression

switch not prompting expressionswitch not prompting expression

I expected to be able to use content like this

expected expression wizardexpected expression wizard

Is this by design and I should just use multiple conditions?

 

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @Zango 

 

In a switch case action you cannot define a variable or use the dynamic content selector because by default the value of every case in a switch case scneario needs to be static. 

 

You could refer to this blog for more ideas on using the switch case feature and the like ones. 

 

https://sharepointmaven.com/3-ways-to-build-multiple-conditions-in-microsoft-flow/

 

Hope this Helps!

 

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!

View solution in original post

1 REPLY 1
yashag2255
Dual Super User II
Dual Super User II

Hi @Zango 

 

In a switch case action you cannot define a variable or use the dynamic content selector because by default the value of every case in a switch case scneario needs to be static. 

 

You could refer to this blog for more ideas on using the switch case feature and the like ones. 

 

https://sharepointmaven.com/3-ways-to-build-multiple-conditions-in-microsoft-flow/

 

Hope this Helps!

 

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!

View solution in original post

Helpful resources

Announcements
MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

MBAS Attendee Badge

Claim Your Badge & Digital Swag!

Check out how to claim yours today!

secondImage

Are Your Ready?

Test your skills now with the Cloud Skill Challenge.

Top Solution Authors
Users online (50,324)