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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / ExpressionEvaluationFa...
Power Automate
Unanswered

ExpressionEvaluationFailed

(0) ShareShare
ReportReport
Posted on by 10

I keep getting this message: The execution of template action 'Switch' failed: The result of the evaluation of 'scope' action expression '@triggerOutputs()?['body/Status/Value']' is not valid. It is of type 'Null' but is expected to be a value of type 'String, Integer'.

 

The status value is working in other areas and flows.

Hooks78_1-1695943891139.png

 

 

 

Categories:
  • creativeopinion Profile Picture
    10,508 Moderator on at

    @Hooks78 Can you upload a screenshot of your flow (in edit view)?

  • Hooks78 Profile Picture
    10 on at

    Hooks78_0-1696253385225.png

     

  • creativeopinion Profile Picture
    10,508 Moderator on at

    @Hooks78 Your error is indicating the Status value is blank. You can confirm this by adding a Compose action right above your Switch action and insert the same dynamic content into the Compose action. 

  • Hooks78 Profile Picture
    10 on at

    After adding the compose action, the error is the same with the switch. It passed the compose action with the same dynamic content.

  • creativeopinion Profile Picture
    10,508 Moderator on at

    @Hooks78 Sorry for the miscommunication. The purpose of the Compose action is to display the value of the dynamic content. 

     

    The flow is erroring out because that value is null (empty). If the value is empty the Switch action cannot evaluate it. 

     

    To prevent your flow from failing. You can add a Condition to check if the value is null first. 

    creativeopinion_1-1696262617089.png

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉 Watch my tutorials on YouTube
    👉 Tips and Tricks on TikTok

     

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 355

#2
11manish Profile Picture

11manish 336 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard