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.