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

Microsoft Ignite

Join digitally, March 2–4, 2021 to explore new tech that's ready to implement. Experience the keynote in mixed reality through AltspaceVR!

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

New Badges

New Solution Badges!

Check out our new profile badges recognizing authored solutions!

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!

Users online (32,308)