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

Notifications

Announcements

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

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
    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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard