web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Switch Error

(0) ShareShare
ReportReport
Posted on by 66

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!

Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    on at

    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,

  • DarkLord22 Profile Picture
    66 on at

    https://1drv.ms/u/s!AvIS_mU2uu1lgqZKTC79SqvNEYuwxQ
    thank you!

  • DarkLord22 Profile Picture
    66 on at

    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

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard