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 / Flow Error - Switch Co...
Power Automate
Answered

Flow Error - Switch Condition on SharePoint Choice column

(0) ShareShare
ReportReport
Posted on by 66

Hey there,

 

I'm getting an error on my flow when I try to evaluate a Switch condition and trying to evaluate the Choice value. Here is the error below:

 

The execution of template action 'Switch' failed: The result of the evaluation of 'scope' action expression '@items('Apply_to_each')?['RevisionFrequency']?['Value']' is not valid. It is of type 'Null' but is expected to be a value of type 'String, Integer'.

 

And here is a screenshot:

image.png

 

What I'm doing is I want to check if the Choice value corresponds to any of my cases that I set up, but that error shows up. Can anyone tell me what I'm doing wrong?

Categories:
I have the same question (0)
  • Verified answer
    hexarthrius Profile Picture
    66 on at

    Update: So far so good, I was guessing that the list has blank values so I put a condition to check if there is value by putting on is equal to Null

     

     
     

    image.png

     

    The documents are around 405, I'll check if this yields some positive results. But still looking for some answers if anyone has already encountered and solved this.

  • Verified answer
    v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @hexarthrius,

     

    I am glad you have solved your problem, the reason for the error will report is that if the condition couldn't get the expected type's value, it will report that type of alarm.
    If your problem has been solved, You could go ahead and mark your post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

    Best Regards,
    Community Support Team _ Lin Tu

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 412

#2
Vish WR Profile Picture

Vish WR 305

#3
David_MA Profile Picture

David_MA 262 Super User 2026 Season 1

Last 30 days Overall leaderboard