Welcome to deBUG.to Community where you can ask questions and receive answers from Microsoft MVPs and other experts in our community.
0 like 0 dislike
356 views
in Power Automate by 24 29 36

I'm currently developing a Power Automate flow for our product processing system. Each product type such as electronics, clothing, furniture, and consumables requires a different set of actions to be executed. 

To streamline this logic, I’m using the Switch control, where each product type corresponds to a unique case that contains its own set of instructions.
As our product catalog continues to expand, Is there a maximum number of cases that I can define within a single Switch control? If so, what happens if I need to go beyond it?


1 Answer

0 like 0 dislike
by 49 63 113

How many cases can be configured within a Switch control in Power Automate?

In Power Automate, the Switch control supports up to 25 distinct cases. Each case corresponds to a unique value that the switch evaluates, allowing you to branch the flow based on different inputs such as product categories, user roles, or status codes.

Best Practices to avoid this limit

  • Divide your conditions logically across multiple Switches.
  • Handle common or grouped conditions with a Switch, and the remaining with nested Conditions.
  • Use variables and expressions like if() or contains() to direct flow execution dynamically.

See Also: Official Documentation - Power Automate Limits

If you don’t ask, the answer is always NO!
...