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

Switch case works on all but one

Hi All,

 

I've implemented a switch case with a MS Form as the source using a dropdown list where user has to select one option from:

 

- Part-Time

- Fixed Term

- Permanent 

 

The first two (Part-Time and Fixed Term) work fine and it will generate the relevant word document, but when it comes to Permanent, the switch defaults to the default case. 

 

I've amended the switch to run on the first MS Form in case it was that and checked spelling but nothing. Can anyone advise please? Thanks

 

tambo_0-1619599838273.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
ViditGholam
Super User
Super User

Hi @tambo there is a space issue hence it is not matching.

Check out my output (It happened with me as well even my case was going in default what I did was the output coming in switch is "Permanent(Space bar)" which doesn't matches your "Permanent" in your case hence put "Permanent(Space bar)")

ViditGholam_0-1619602802972.png

Hope that helps !

Let me know in case of any Issues.
If this resolves your issue please mark this post as answered and hit me a thumps up.
Thanks and Regards,
 Vidit 

 

View solution in original post

2 REPLIES 2
ViditGholam
Super User
Super User

Hi @tambo there is a space issue hence it is not matching.

Check out my output (It happened with me as well even my case was going in default what I did was the output coming in switch is "Permanent(Space bar)" which doesn't matches your "Permanent" in your case hence put "Permanent(Space bar)")

ViditGholam_0-1619602802972.png

Hope that helps !

Let me know in case of any Issues.
If this resolves your issue please mark this post as answered and hit me a thumps up.
Thanks and Regards,
 Vidit 

 

View solution in original post

ViditGholam
Super User
Super User

My output without a space after Permanent 

ViditGholam_1-1619603032676.png

Hope that helps !

Let me know in case of any Issues.
If this resolves your issue please mark this post as answered and hit me a thumps up.
Thanks and Regards,
 Vidit 

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (1,215)