cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Action Switch error

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

1 ACCEPTED SOLUTION

Accepted Solutions

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

 

 

View solution in original post

5 REPLIES 5
Super User III
Super User III

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!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



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

Hi!

Almost!

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

Thanx!



Each time you click on any of our inspiring answers 'Thumb up' icon...
...an ewok scapes from the stormtroopers.

Be grateful, Thumbs up! Save the Galaxy for free!


Escribo sobre Power Automate en:
https://medium.com/anyone-can-automate/

Proud to be a Flownaut!



Here is my flow design.

Untitled-6-2.jpg

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

 

 

View solution in original post

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (10,780)