cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
DarkLord22
Level: Powered On

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 Team
Community Support Team

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.
DarkLord22
Level: Powered On

Re: Switch Error

Highlighted
DarkLord22
Level: Powered On

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

Microsoft Business Applications Virtual Launch Event

Watch the event on demand for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.

firstImage

Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 Release Wave 2 Plan

Power Platform 2019 Release Wave 2 Plan

Features releasing from October 2019 through March 2020.

thirdimage

Flow Community User Group Member Badge

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

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Flow Community Video Gallery!

Top Kudoed Authors
Users Online
Currently online: 187 members 4,020 guests
Please welcome our newest community members: