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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Using Switch statement
Power Automate
Unanswered

Using Switch statement

(0) ShareShare
ReportReport
Posted on 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.

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    69,554 Most Valuable Professional on at

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

  • Peter A Clements Profile Picture
    25 on at

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

     

    Peter

  • Peter A Clements Profile Picture
    25 on at

    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.

  • Pstork1 Profile Picture
    69,554 Most Valuable Professional on at

    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.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 482

#2
11manish Profile Picture

11manish 280

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard