Skip to main content
Community site session details

Community site session details

Session Id : /9IEcsdbFPUWGNDoQf3jJT
Power Automate - Using Flows
Unanswered

Using Switch statement

Like (0) ShareShare
ReportReport
Posted on 26 May 2021 12:30:50 by 25

I have a Flow. The flow returns a list of pre-existing records (D365). I then have a switch statement on one of the fields in those records. The Flow works to the point of the Switch record. While it doesn't fail, none of the Switch Cases execute.

Appreciate any assistance anyone can offer.

 

Peter.

  • Pstork1 Profile Picture
    67,060 Most Valuable Professional on 26 May 2021 at 12:58:36
    Re: Using Switch statement

    If you feed the records to the switch one at a time using an apply to each.  And then evaluate the text field, yes the switch should work whether the value has changed or not.

  • Peter A Clements Profile Picture
    25 on 26 May 2021 at 12:41:35
    Re: Using Switch statement

    Maybe a more specific question might help. Does a Switch statement work when the record is in place and hasn't changed? But the value is different across the list of records returned.

    Peter.

  • Peter A Clements Profile Picture
    25 on 26 May 2021 at 12:36:27
    Re: Using Switch statement

    Hi, it is a text field. That's useful to know tho!

     

    Peter

  • Pstork1 Profile Picture
    67,060 Most Valuable Professional on 26 May 2021 at 12:33:04
    Re: Using Switch statement

    What kind of field are you trying to run the switch on?  Switches are case sensitive and only work on text values.

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1

Featured topics

Restore a deleted flow
Loading complete