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 / Updating items in shar...
Power Automate
Answered

Updating items in sharepoint list based on parameters

(0) ShareShare
ReportReport
Posted on by 68

Hi all, 

 

I'm trying to build a workflow where a property gets updated for the items that meet a certain criteria. The current workflow is as below, however, when I test it there is an error in the get items action.

 

I have a Filter Query advanced parameter with the following lines of code: 

 

"Status eq 'Deployed' and LastModified lt addDays(utcNow(), -30) and Certification ne 'New Application'"

 

I have replaced the internal names of the columns here, but they are accurate. I get the following error in the Get Items 2 action when I test it: 

"The query is not valid."

 

Can I modify the filter query or should I use conditions instead?

KL007_1-1714549420361.png

 

KL007_0-1714549362667.png

 

Categories:
I have the same question (0)
  • Verified answer
    Manish Solanki Profile Picture
    15,169 Moderator on at

    Hi @KL007 

     

    Pls try the below filter query:

    Status eq 'Deployed' and Modified lt '@{addDays(utcNow(), -30)}' and Certification ne 'New Application

     just copy-paste the above query in 'Filter query' text box.

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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
Vish WR Profile Picture

Vish WR 382

#2
Valantis Profile Picture

Valantis 370

#3
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

Last 30 days Overall leaderboard