cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dflemming
Helper I
Helper I

Get List Items filter returns no data

Hi there,

I'm filtering a list by ID with a field from a completed adobe agreement. The field holds the SharePoint list ID (SPID) that triggered the creation of the original form and now I just want to attach the completed PDF to the list. 

ListID.png

When the flow runs there is no result form this task

No OutputNo Output

There is a parse JSON result that shows the correct list item ID

SPID.png

 

I expect the filter should be saying ID eq 7 but I can't see why no list item is returned. 

Can anyone offer some advice?

 

Regards, Dale

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

 

Hi @dflemming ,

 

Please try to use int() function to convert the string id to Interger.

Besides, please make sure the list contains an item with ID 7.

Image reference:

88.PNG

Hope this helps.

 

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

3 REPLIES 3
Moosa
Advocate I
Advocate I

Hi @dflemming ,

 

Instead of using Get Items action you could use Get Item Actions the one without (s).

 
 

Pass your 'SPID' from JSON Parse output in Id property of Get item.

 

If it helps you, please accept as solution.

Thank you @dflemming 

v-bacao-msft
Community Support
Community Support

 

Hi @dflemming ,

 

Please try to use int() function to convert the string id to Interger.

Besides, please make sure the list contains an item with ID 7.

Image reference:

88.PNG

Hope this helps.

 

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.

This is great advice but I have found that when I try and work with the SPID is always seems to be null. I'll have to try another approach.

Helpful resources

Announcements
MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power automate tips 768x460 v2.png

Restore a Deleted Flow

Did you know that you could restore a deleted flow? Check out this helpful article.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Users online (3,283)