cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper V
Helper V

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
Highlighted
Community Support
Community Support

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
Highlighted
Community Support
Community Support

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.
Highlighted
Helper V
Helper V

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
Community Support

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.
Highlighted
Helper V
Helper V

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

Highlighted
Community Support
Community Support

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

Highlighted
Helper V
Helper V

Re: Get Items>Filter Query

Thank you very much.

It is helpful for me.

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

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

Top Solution Authors
Top Kudoed Authors
Users online (8,472)