web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Switch statement is be...
Power Automate
Answered

Switch statement is being skipped in Do-until

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hello,

 

I have a flow process for approving a file upon upload. Everything is going well until I get to a switch statement nested in a switch statement nested in a do-until. The switch will only work with one of my options. When I select the other option the actions are skipped and the flow goes back to the top of the do-until. Has anyone else run into an issue like this?

OPRGApprovalFlow.png

 

 

Categories:
I have the same question (0)
  • v-yuazh-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Could you please share a full screenshot of the configuration of your flow?

     

    I couldn't find the switch that you mentioned in the screenshot that you mentioned.

     

    Please share more details so we would try to provide a proper workaround for you.

     

    Best regards,

    Alice

  • GabrielStJohn Profile Picture
    Microsoft Employee on at

    Hey, @Anonymous!

     

    It appears as though @v-yuazh-msft would like some more information in order to further assist you properly with your issue. Please share any additional information that was requested in order to decrease the amount of time that it will take for you to be assisted!

     

    Thank you for being an active member of the Flow Community!

    -Gabriel
    Flow Community Manager

  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at
    Hi @v-yuazh-msft, I apologize for the delay. I was able to get my issue figured out. I have an update file properties action that had an invalid expression inside of it. This was causing the flow the skip over the update file properties and the set variable action. I was having trouble seeing that this was causing the issue because in the run history the do until was showing as 'running'.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 237 Super User 2026 Season 1

#2
David_MA Profile Picture

David_MA 173 Super User 2026 Season 1

#3
Kalathiya Profile Picture

Kalathiya 95 Super User 2026 Season 1

Last 30 days Overall leaderboard