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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Unanswered

DMF import multiple projects in one package checking end time in code

(1) ShareShare
ReportReport
Posted on by 1,183
Hello,
 
I would like to import the package of the multiple zip packages in DMF. I'd like to create a new batch job which will contain multiple batch tasks each of which will import one project after another in sequence. The next project will be imported only after the previous one is imported successfully.
 
If we tale a a look at the standard DMF import project batch which is created from this button
 
 
 
under the hood it runs DMFBatchImporter class which created a new batch job with one batch task like that
 
 
 
I'd like to create one batch job with multiple batch tasks each of which will import one separate DMF project and the new batch task should be created and started only after the previous one is ended successfully. In order to check that previous batch task is ended successfully I cannpt rely on the batch task end date time because it doesn't show the relevant time
 
 
the real time can be found in the project job history here
 
 
 
 
 
 
in order to check it I need from to time to check whether the job is finished and whether there is a field from above screenshot "end time" is filled up with value.
 
The question is there some best practice approach to do that in code? Maybe somewhere in the standard FO code it's done in some way. 
 
Thanks in prior.
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 Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March 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 676

#2
André Arnaud de Calavon Profile Picture

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

#3
Syed Haris Shah Profile Picture

Syed Haris Shah 335 Super User 2026 Season 1

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans