cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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

 

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

 

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.

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.

 

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.

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

 

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

Thank you very much.

It is helpful for me.

Helpful resources

Announcements
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (7,008)