cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
sacheeli
Microsoft
Microsoft

Fileter items in a SharePoint list using "Get Items"

Hi All, I have a requirement where I need to filter the values from a SharePoint list to check if the Item already exists or not. Any help on this is appreciated! Thanks, Satish
1 REPLY 1
LRVinNC
Super User
Super User

Since you want to filter with Get Items, it sounds like you are using Power Automate, not Power Apps, so you need to post your question on the Flow/Power Automate community rather than here.

 

That being said, here's an example of checking to see if an item already exists using Get Items AND a condition check.

gi1.jpg

In my case, the title column in SP contains my key field and QuicklookID is the value coming in that I want to test for.

The function on the left side of the condition check is empty(body('Get_items')) where 'Get_items' is the name of the prior step in the flow.  The right side is just a function with a value of true

LRVinNC

------------------
Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,523)