Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

List Records CDS occasionally not correct

(0) ShareShare
ReportReport
Posted on by 84

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

 

  • AndyH_JSY Profile Picture
    AndyH_JSY 84 on at
    Re: List Records CDS occasionally not correct

    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

  • Mira Ghaly Profile Picture
    Mira Ghaly 11,409 on at
    Re: List Records CDS occasionally not correct

    @AndyH_JSY

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

  • AndyH_JSY Profile Picture
    AndyH_JSY 84 on at
    Re: List Records CDS occasionally not correct

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

    AndyH_JSY_0-1594719542948.png

     

  • Mira Ghaly Profile Picture
    Mira Ghaly 11,409 on at
    Re: List Records CDS occasionally not correct

    @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 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,343

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,703

Leaderboard