I am creating a medium-length Power Automate flow in which I am using a few Apply to Each controls to parse the values in some array variables. A few of these are nested one within another. One of the techniques I use is a Switch control to process the arrays depending on their values. However, I have added a Switch control to a nested Apply to Each control, and that Switch control will not allow me to add steps. As you can see in the screen capture, the "Add an Action" link that typically appears at the bottom of each Case block is missing. I was able to add a single step by "cheating" - creating the step outside of the Switch control and then dragging it in, but then I can't add any further steps because they won't "drop" when I try to drag them in.
I understand that PA has a limit of Switch controls permitted in each flow (25, I think it is), but I am nowhere near that limit. I tried creating a new Switch control within the Apply to Each control, but it behaved the same way. If I create a Switch control outside of the Apply to Each control, it works as expected. So this looks like it is an annoying bug, unless someone knows of a condition that might explain this behavior? Thanks.


Report
All responses (
Answers (