Switch Statements in Power Automate
In this video, UG Expert and Microsoft MVP Kylie Kiser covers Switch Statements in Power Automate, which can be used to create effective flows.
This episode is sponsored by Community Summit North America, the largest independent gathering of the Microsoft Business Applications ecosystem, taking place Oct. 13-17, 2024, in San Antonio, Texas. Register today to connect with thousands of users across the Microsoft business applications ecosystem at the for user, by user event.
Highlights
01:00 — Kylie begins to create a simple flow for the purpose of the example, demonstrating how to implement a Switch Statement.
01:37 — In a Switch Statement, there is a “branch for each case” depending on the input — this would be applicable in any flow that has more than two options. A good example of this, explains Kylie, is in Approvals.
02:11 — The process of adding a Switch Statment to a flow in Power Automate is similar to adding a control, explains Kylie. She sets the parameters for the Switch Statement and also runs a Sentiment Analysis.
04:01 — Once the Switch Statment is set, Kylie runs the flow to test its capabilities.
04:46 — In closing, she notes that Switch Statements are “just a way to streamline your logic, [they] can reduce the number of steps in your flow, and make sure you’re doing this in the most effective way possible.”