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

Community site session details

Session Id : ePhhIY/Lqmfc+pTPPNRrTO
Power Automate - Building Flows
Answered

Action Switch error

Like (0) ShareShare
ReportReport
Posted on 16 Sep 2020 06:34:23 by 15

Hello,
I created a flow that is to check the student campus and degree. There are 5 campuses and 5 types of degree.
I have decided to use the action Switch to check.

However, I got an error in the action Switch, it says "ActionConditionFailed. The execution of template action 'Switch_2' failed: the comparison of scope expression evaluation result to case branch value failed 'Template language function 'strongEquals' expects parameters of same type, but found 'String,Integer' distinct types.'.

I've never seen this kind of error, any advice?

Here is my flow.

Untitled-6.jpg

  • Verified answer
    dishdrop Profile Picture
    15 on 17 Sep 2020 at 06:41:32
    Re: Action Switch error

    After I have tried to change type of the parameters which are campus and degree to integer, the action switch works properly as expected.

     

     

  • dishdrop Profile Picture
    15 on 16 Sep 2020 at 08:56:10
    Re: Action Switch error

    Here is my flow design.

    Untitled-6-2.jpg

  • efialttes Profile Picture
    14,756 on 16 Sep 2020 at 08:48:22
    Re: Action Switch error

    Hi!

    Almost!

    You shared a screenshot from flow execution. I need the screenshot from your Flow design

    Thanx!

  • dishdrop Profile Picture
    15 on 16 Sep 2020 at 08:39:30
    Re: Action Switch error

    I couldn't upload the screenshot, please visit the link below.
    https://i.imgur.com/Kg7fGlB.jpg 

  • efialttes Profile Picture
    14,756 on 16 Sep 2020 at 08:20:45
    Re: Action Switch error

    Hi!

    Can you share a screenshot of your flow design just showing the 'Switch' action block definition? The screenshots you share are so big I cannot see its details

    Thanx!

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

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!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Loading complete