cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
AndyH_JSY
Helper II
Helper II

List Records CDS occasionally not correct

Hi All, 

 

I have a weird issue with using the 'List Records' CDS action. 

 

So I use the 'Filter Query' to filter by device name:

AndyH_JSY_0-1594203022585.png

This Flow runs about 50 times a day and 99% of the time has absolutely no issues. 

As you can see in the above it returns no records. 

 

But the record is in CDS!! (this is from the edit in Excel screen)

AndyH_JSY_1-1594203109599.png

 

 

I tried resubmitting my Flow once, nothing, left it a minute tried again and it finds a record!

 

AndyH_JSY_2-1594203222440.png

 


Does anyone know why this could be and how best I can fix it?


Thanks in advance!

Andy

 

4 REPLIES 4
Mira_Ghaly
Dual Super User II
Dual Super User II

@AndyH_JSY

Have you tried to use the CDS (Current Environment) Connector instead of the CDS connector?

You can also use fetchxml on the current environment connector 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Thanks for the reply, this doesn't seem to be listed in my actions? 

AndyH_JSY_0-1594719542948.png

 

@AndyH_JSY

To be able to use the CDC(Current Environment) you have to create your flow inside a solution 

If this post helps you with your problem, please mark your as Accepted solution.If you like my response, please give it a Thumbs Up.

Blog: here

Hello, 

 

Unfortunately this still isn't working for me using the CDS current environment connector. 

 

AndyH_JSY_0-1596021102984.png

AndyH_JSY_1-1596021136558.png

 

I've tried embedding the list records in a do until function, then counting the records returned and doing it until it returns 1 record.

 

Its completely hit and miss, the above flow ran, and it didn't find the device (in any of the 60 runs). Then I manually resubmitted it and found it. 

 

There are only 1500 records in the entity ! There must be a fix. 


Thanks

Andy

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Users online (2,678)