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 block is skippi...
Power Automate
Unanswered

Switch block is skipping a case, even when the condition is met.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a flow where a Switch block sends an approval request to a user, based on a form question selection.

The form question is being properly read, as per prior steps are working ok.

 

However, when the switch block is activated, it skips (marks as false) all of the given conditions, even the one that is true:

Capture.PNG

 

Here's my entire flow:

 

Flow.JPG

Categories:
I have the same question (0)
  • efialttes Profile Picture
    14,756 on at
    Hi!
    Is your Switch evaluating Outcome output?
    Please share a screenshot from your flow design, ensuring details from your switch are displayed
    Gracias!
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi, thanks - I updated my original message. Thanks

  • efialttes Profile Picture
    14,756 on at

    Hi!

    Sorry for the misunderstanding! I initially thought your switch was evaluating the Approval result.

    My suggestion is, to add a 'Compose' action block just before the Switch ad assign as its input the same dynamic content you assigned as the Switch input. THis way you can reexecute the flow and inspect its results.

     

    A usual problem is a extra space in your data ,so no matter it looks the same, since Switch requests exact match it will fail. Assuming you stored the data to be evaluated in a string variable called 'myInputData', you can use replace() to remove all spaces by means of the following expression:

    replace(variables('myInputData'),' ','')

    ...and now compare it against

    JosePabloGonzalez

     

    You can also use toUpper() to avoid mismatches between capital letters and small letters

     

    Hope this helps

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 308

#2
David_MA Profile Picture

David_MA 256 Super User 2026 Season 1

#3
Expiscornovus Profile Picture

Expiscornovus 226 Most Valuable Professional

Last 30 days Overall leaderboard