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 / Switch Case always ski...
Power Automate
Unanswered

Switch Case always skipping to default even when values match

(0) ShareShare
ReportReport
Posted on by 2

I have a flow for page approvals on a Sharepoint communications site. Depending on the Team that owns the page the approvals notification needs to go to the team lead for approval. The switch cases work on the Team column values, which is a mandatory column that uses preset Team names from our Term Store.

The problem is that it always skips the Cases, even when they match the expression result and runs the default. I'm not sure what I'm doing wrong as I have copy and pasted from the Term store directly into "Equals" to prevent any differences in case sensitivity and spaces

rgzdgtnshs_0-1665620021765.png

rgzdgtnshs_1-1665620167412.png

 

 

Categories:
I have the same question (0)
  • srduval Profile Picture
    1,760 Moderator on at

    Your screenshot shows innovation|{some guid} so the subsequent case its just look for innovation which is not what's showing up, so that's why it's not triggering as expected.  unless I am miss understanding the problem?

  • rgzdgtnshs Profile Picture
    2 on at

    Hi @srduval I'm fairly new to this. How do I stop it from returning the Team value plus |{some guid}? The actual column I've asked it to use just looks like the below in SharePoint

    rgzdgtnshs_0-1665624744006.png

     

     

  • srduval Profile Picture
    1,760 Moderator on at

    try doing it as an expression. split({dynamic content for team value here},'|')[0]

     

    check out the new feature mentioned here for an easier way to write the above expression:

    New Preview Feature in PowerAutomate - Power Platform Community (microsoft.com)

  • msabau Profile Picture
    270 on at

    Run the flow, then after it finishes, take a look at the "report" of that flow and check the inputs/outputs of the interested connectors to see if there are any discrepancies



    Please 'Mark as Solution' if someone's post answered your question and always 'Thumbs Up' the posts you like or that helped you!

  • Mayank_Yadav Profile Picture
    56 on at

    Having the same Problem, I have a BPF , I match it's Stage Id's in the switch condition , the same values match but no action takes place and it goes directly to Default case, 

    Before Today It was working fine .

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
Haque Profile Picture

Haque 58

#2
David_MA Profile Picture

David_MA 53 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 36 Most Valuable Professional

Last 30 days Overall leaderboard