web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Automate
Unanswered

Paging with FetchXML

(1) ShareShare
ReportReport
Posted on by 4

Hi all,

 

We have a case where we need to fetch more than 5,000 records from a D365 entity. We cannot use OData filtering due to complexity of the query, so we have to use FetchXML. 

In the screenshot below, all records (there are about 5,300) are fetched successfully using paging mechanism. Note, there's no action under Apply To Each which of course is unrealistic.

tonyshellauk_0-1716340630084.png

 

However, when we add ANY action under Apply To Each (even a simple Compose action which doesn't even use any data and just composes a static hard coded value, the paging stops working and Do Until only fires once instead of 2-3 times as it does without Compose action. 

tonyshellauk_1-1716340863244.png

This is extremely strange and we cannot find any reasonable explanation to this behavior. Has anyone come across something similar and how did you overcome it?

 

TIA,

Tony S.

 

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 1,005

#2
Valantis Profile Picture

Valantis 825

#3
Haque Profile Picture

Haque 619

Last 30 days Overall leaderboard