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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Data entity export batch jobs remain in 'Executing' status

(0) ShareShare
ReportReport
Posted on by 35

Hello,

We have created approximately 180 custom data entities that we are exporting to a BYOD from a self service Dynamics F&O environment. The data entities are direct copies of underlying dynamics tables such as CustTable, EcoResProduct, etc. We're exporting the data entities as a batch job incrementally every 6 hours in a single export project across 14 companies in the self service environment.

Most of the time, the export executes completely, which takes about 30mins. However, occasionally the export batch job does not finish and seems to get stuck in 'Executing' status and the remaining data entities are in 'Not run' status. This doesn't happen to any specific data entities, but the exact moment when the execution stops is random. We have verified from the BYOD that the data entities that are in 'Not run' do not get updated in the BYOD, so it doesn't seem to be an UI error in the Data management > Job history form. We have increased the sql command timeout to 6000 seconds from the framework parameters settings, but it has had no effect on the export performance. Even though this issue doesn't occur each time, it causes a data sync problem in the follow up process when the data is accessed in the BYOD shortly after the export has finished.

So far, we haven't been able to find the technical reason behind this issue. It doesn't seem to generate any error message in system logs and when looking at the batch job task history, it shows a single batch job task that is stuck in 'Executing' status and none of the data entities after that have completed. We have discussed this issue with Microsoft support, but they haven't been able to find the cause. For some reason, they're not even able to find the data entity export project/Definition group in their logs. Microsoft support has suggested to split the export project that contains 180 data entities to smaller exports that contain 8-10 data entities. However, this has been avoided since it can lengthen the total execution time and the customer process needs to access the BYOD data within a short time after the export has run.

Due to this issue, we haven't yet created a similar setup in a production environment since we haven't been able to export the data entities consistently. Does anyone have an experience of a similar problem? 

I have the same question (0)
  • Sergei Minozhenko Profile Picture
    23,097 on at

    Hi Piski,

    Are you using the "Export across all companies" option? How did you set up a batch job? Have you used "Export in batch" option? Did you mark "Run sequentially" option for "Export in batch" dialog?

  • Piski Profile Picture
    35 on at

    Thank you for the reply. Yes, we're using "Export across all companies" and skip staging. The batch job is created from within the export project through the "Export in batch" option. It is not run sequentially.  I believe that would in our case increase the execution time significantly, however do you believe that can have an effect on the export reliability?

  • Sergei Minozhenko Profile Picture
    23,097 on at

    Hi Piski, 

    I had more or less similar issues and I switched all exports batch jobs to "Run sequentially". When the exports runs it parallel they generate blockings on BYOD side because of tablock hint used for bulk insert. And blockings can lead to unexpected issues during export process. Timeouts didn't help in my case as export failed after several minutes after start.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Giorgio Bonacorsi Profile Picture

Giorgio Bonacorsi 671

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 621 Super User 2026 Season 1

#3
Abhilash Warrier Profile Picture

Abhilash Warrier 589 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans