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.

Highlighted
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

Helper V
Helper V

Re: Get Items>Filter Query

Thank you very much.

It is helpful for me.

Helpful resources

Announcements
Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Upcoming Events

Experience what’s next for Power Automate

See the latest Power Automate innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Community Conference

Power Platform Community Conference

Find your favorite faces from the community presenting at the Power Platform Community Conference!

Top Solution Authors
Top Kudoed Authors
Users online (7,780)