cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Tiffany-Jo
Level: Powered On

Get Items>Filter Query

hi

I would like to get the ID of items which has no attachment from share point list,

 

I set Get Items>Filter Query as below.

Attachments eq 'null' (returns SP list items without attachments)

Attachments ne 'null' (returns SP list items with attachments)

 

However,we also could get the same result with Attachments eq /ne 'abc' or any other value, so it seems not to be the perfect resolution since It is difficute to explain to users.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Get Items>Filter Query

 

Hi @Tiffany-Jo ,

 

Please try this, note that the Value of Append to string variable is followed by a space.

56.PNG

58.PNG

 

Best Regards,

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

View solution in original post

6 REPLIES 6
Community Support Team
Community Support Team

Re: Get Items>Filter Query

 

Hi @Tiffany-Jo ,

 

Here you may need to use Filter Query.

49.PNG

Please try again.

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Tiffany-Jo
Level: Powered On

Re: Get Items>Filter Query

Thank you.I will try.

I would like to confirm whether we could get the same result by using the filter query under Get Items action.

User is using that now and I could not explain clearly why that is not working.

Community Support Team
Community Support Team

Re: Get Items>Filter Query

 

Hi @Tiffany-Jo ,

 

Filter Query has certain requirements on the field type, please check the following blog and see if it helps:

https://veenstra.me.uk/2018/11/12/microsoft-flow-filter-queries-in-sharepoint-get-items/

 

Best Regards,

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Tiffany-Jo
Level: Powered On

Re: Get Items>Filter Query

Hi 

Thank you very much.

That can help to get the accurate ID.

Since I need to send the ID to user by mail.The Flow I set is as below capture.

I would like to confirm whether I could get just the ID number.

I hope the mail content could be ID:60 61 62 63

Now the mail content is:

[{"ID":60},{"ID":61},{"ID":62},{"ID":63}]

 

0828.JPG

Community Support Team
Community Support Team

Re: Get Items>Filter Query

 

Hi @Tiffany-Jo ,

 

Please try this, note that the Value of Append to string variable is followed by a space.

56.PNG

58.PNG

 

Best Regards,

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

View solution in original post

Tiffany-Jo
Level: Powered On

Re: Get Items>Filter Query

Thank you very much.

It is helpful for me.

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (5,090)