cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Community Support
Community Support

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.

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

Microsoft Ignite

Microsoft Power Platform: 2021 Release Wave 1 Plan

Power Platform release plan for the 2021 release wave 1 describes all new features releasing from April through September 2021.

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 (80,280)