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.

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
User Groups Public Preview

Join us for our User Group Public Preview!

Power Automate User Groups are coming! Make sure you’re among the first to know when user groups go live for public preview.

New Super Users

Meet the Power Automate Super Users!

Many congratulations to the Season 1 2021 Flownaut Crew!

Power Platform ISV STudio

Power Platform ISV Studio

ISV Studio is the go-to Power Platform destination for ISV’s to monitor & manage applications post-AppSource publish.

Users online (27,536)