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

Switch and Case limits

I am trying to create a machine repair log for my employer.  I created a channel in Microsoft Teams for each machine.  Since Teams is limited to 200 Channels, I had to create three teams.  In Microsoft Forms, I have a form for the person in the field to make notes on machine repairs.  I want each note to automatically go to the Channel for that machine.  I started by using the Switch control.  However, that is limited to a maximum of 25 cases.  I then tried to use multiple Switch controls.  On the eighth Switch control, I was unable to add any cases.  Any ideas for how to accomplish what I want to do, send a form response to one of 250 (or more) Channels based on machine name?

1 ACCEPTED SOLUTION

Accepted Solutions
khaefner
Regular Visitor

I came up with my own work around for this situation.  I created a SharePoint spreadsheet with two columns:  machine name and channel email address.  For my flow, I started with Get Response Details.  I followed this with Get A Row, which finds the row in the spreadsheet that matches the machine name.  Lastly, I used Send an Email Notification with the channel email address column in the Email field.  With only these three items, I was able to accomplish routing notes on over 250 specific machines to the correct Teams channel without using Switches, Cages, or Conditions.  It helped to have someone here willing to listen and contribute, even though she knew nothing about Automate or Forms.

View solution in original post

2 REPLIES 2
khaefner
Regular Visitor

I came up with my own work around for this situation.  I created a SharePoint spreadsheet with two columns:  machine name and channel email address.  For my flow, I started with Get Response Details.  I followed this with Get A Row, which finds the row in the spreadsheet that matches the machine name.  Lastly, I used Send an Email Notification with the channel email address column in the Email field.  With only these three items, I was able to accomplish routing notes on over 250 specific machines to the correct Teams channel without using Switches, Cages, or Conditions.  It helped to have someone here willing to listen and contribute, even though she knew nothing about Automate or Forms.

View solution in original post

 

Hi @khaefner ,

 

Thank for sharing and this indeed a great idea.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

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

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,056)