cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Helper III
Helper III

D365 - List Record - Notes - How to loop through and get all records

Hi All,

 

I am writing a flow to get all the attachments in Dynamics before migrating all the documents to SharePoint.

 

Due to the limitation in the buffer size, the flow fails with the error:  Http request failed as there is an error: 'Cannot write more bytes to the buffer than the configured maximum buffer size: 104857600.'.

 

I am looking for options to loop through and get the list - like get the 1st record, add a row into excel, loop through, get the 2nd record, add a row into excel and so on.

 

Is there any other way to loop through the whole list without this error?

 

Thanks,

Mustaque

 
2 REPLIES 2
Highlighted
Community Support
Community Support

Re: D365 - List Record - Notes - How to loop through and get all records

Hi @Mustaque_Ehiya ,

 

Could you please share a screenshot of your current flow?

 

Best regards,

Alice       

 

Community Support Team _ Alice Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Highlighted
Helper III
Helper III

Re: D365 - List Record - Notes - How to loop through and get all records

Hi @v-alzhan-msft 

 

I am looping through the Get Records like below - Get the 1 attachment from lead, create a Share Point file, delete it and loop through again for each attachment in the Leads.  This works well because I am deleting it and the loop runs till there is no attachment for that Lead.

 

I am trying to extend this Flow to get the full list of attachments from all Leads and other entities without deleting the attachment and writing an excel output.  

 

 

Loop.JPGLoop2.JPG

Helpful resources

Announcements
firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

Join the new Power Virtual Agents Community!

We are excited to announce the launch of Power Virtual Agents Community. Check it out now!

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Top Solution Authors
Top Kudoed Authors
Users online (8,030)