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 / OData Moderation Statu...
Power Automate
Answered

OData Moderation Status stopped filtering

(0) ShareShare
ReportReport
Posted on by 174

I had a power automate that would pull from sharepoint and filter the get items using the OData__ModerationStatus eq 'Pending'.  All of a sudden this stopped working.  It is still attempting to filter the sharepoint list, however it is returning nothing.  I have changed the filter to something like Category eq null and I looked at the data being pulled from that and I see "{ModerationStatus}"="Pending".   Any thoughts on what might have changed to make this filter stop working?

Categories:
I have the same question (0)
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @NWEASD 

     

    Could you post a screenshot of your SharePoint column (ModerationStatus)  setting details?

     

    Thanks

  • NWEASD Profile Picture
    174 on at

    Sure thing.  

     

    NWEASD_0-1675797815792.png

    Here is a snip of a couple items on the list.  The Approval Status is a default column on there when items require approval.  I have found that the column in automate is called Moderation Status.

    NWEASD_1-1675797916915.png

     

    Previously I was using this as part of the Get Items filter.  When it is in the filter array it will work, but I will also miss some items I actually want on the original get items command.  

    With the help of the community, I was able to get it to work by using "OData__ModerationStatus eq 'Pending'"  That just seemed to stop working one day and not sure why.  If I try changing the OData filter to {ModerationStatus} I get an error about the column not existing.

    NWEASD_2-1675798166271.png

     

  • Verified answer
    abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @NWEASD 

     

    Thanks for your quick reply.

     

    Moderation Status values are:

     

    • 0 for “Approved”
    • 1 for “Rejected”
    • 2 for “Pending”

    Try OData__ModerationStatus eq '2'

     

    Let me know the results.

     

    Thanks

  • NWEASD Profile Picture
    174 on at

    Thank you.  I swear I tried this as part of the solution and it did not work.  It is working now.  Who knows but thank you.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 873

#2
Valantis Profile Picture

Valantis 813

#3
Haque Profile Picture

Haque 526

Last 30 days Overall leaderboard