cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

Switch Error

Hey everyone and thank you for the help

 

I have 3 switches which check the state of a sharepoint database

 

If Switch 1 is approved it goes to Switch 2

if Switch 2 is approved it goes to Switch 3

but for a reason i cant find even thought all switches are the same the last switch gives me the bellow error:

 

The execution of template action 'Switch_3' failed: The result of the evaluation of 'scope' action expression '@body('Update_item_5')?['BA_x0020_approval']' is not valid. It is of type 'Null' but is expected to be a value of type 'String, Integer'.

 

The column is filled with the correct data but it says it is not valid and i am not sure why...

 

Thank you again for the help!

3 REPLIES 3
Highlighted
Community Support
Community Support

Re: Switch Error

Hi @DarkLord22 ,

 

Could you share screenshots of the Flow configuration?

It is difficult for me to analyze the specific reasons for the error only from the description.

Please provide more information to analyze the cause of the error.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Highlighted
Helper III
Helper III

Re: Switch Error

Highlighted
Helper III
Helper III

Re: Switch Error

I get the error: 

 

ExpressionEvaluationFailed. The execution of template action 'Switch_3' failed: The result of the evaluation of 'scope' action expression '@body('Update_item_4')?['BA_x0020_approval']' is not valid. It is of type 'Null' but is expected to be a value of type 'String, Integer'.

 

I have 3 switches which check the of a sharepoint cell

if it is Approve it goes to the next switch and then to the next.

 

The error appears at the last switch and i cannot identify why..

 

Thank you all

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Kudoed Authors
Users online (6,728)