Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Switch statement is being skipped in Do-until

(0) ShareShare
ReportReport
Posted on by

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

 

 

  • Verified answer
    Community Power Platform Member Profile Picture
    on at
    Re: Switch statement is being skipped in Do-until
    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'.
  • GabrielStJohn Profile Picture
    on at
    Re: Switch statement is being skipped in Do-until

    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

  • v-yuazh-msft Profile Picture
    on at
    Re: Switch statement is being skipped in Do-until

    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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,631 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,991 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow