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

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.

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
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!

Users online (3,630)