Skip to main content

Notifications

Power Automate - General Discussion
Answered

Approval inside switch statement - each case simultaneously or in series?

(0) ShareShare
ReportReport
Posted on by 583

Hi,

 

I haven't used approvals before, and couldn't find an answer to this question:

 

I have a flow which is triggered when a SP listitem is changed and a yes/no column is false.

 

The SP list has a choices column with multiple selections enabled.

A switch control checks which choices are selected.

Inside each case an approval process is started.

 

My question: does the switch start all the approvals simultaneously, or does it wait for each separate approval to be confirmed/rejected before it moves on to the next case?

 

I'm writing it in this (convoluted) way because I want the mostly non-tech minded users to only have to push a button for confirmation, instead of replying to a mail.

 

Thanks in advance,

Marc

Categories:
  • Verified answer
    Hardesh15 Profile Picture
    Hardesh15 7,087 on at
    Re: Approval inside switch statement - each case simultaneously or in series?

    @Waegemma  Yes it will apply to whole flow. Approval action will wait for input.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

  • Waegemma Profile Picture
    Waegemma 583 on at
    Re: Approval inside switch statement - each case simultaneously or in series?

    Hi @Hardesh15 ,

     

    You're right about one case at a time,

    what I wanted to know was: does the complete Flow wait on the approval proces inside the matched case?

     

    The multiple choices are extracted one by one in a For Each loop, and then matched in a switch statement against different cases, when a case matches, a Start Approval and Wait begins.

     

    So does this 'Wait' imply the whole Flow waits ?

     

    Greetings,

    Marc

     

  • Hardesh15 Profile Picture
    Hardesh15 7,087 on at
    Re: Approval inside switch statement - each case simultaneously or in series?

    @Waegemma  In Switch once input is matched with your case then it execute that case brach further. Other cases will not be executed only one case at a time.

    Please 'Thumbs Up' the posts that helped you and 'Accept as Solution' if my post answered your question.

    @Hardesh /Gopenly.in

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard