Skip to main content

Notifications

Announcements

No record found.

Dynamics 365 general forum
Suggested answer

Importing through recurring data job multiple entities with just one file

Posted on by 4
Hi all,
I need to import a unique file related to different entities at the same time by Recurrent Data Job. I'm able to do with a single file by POSTMAN- single data entity, not able to do with multiple entities in the same file, e.g Vendor Groups and Vendors V2 in the same file CSV.
The queued job goes always in status Pre-Process Failed
 
Here an example of the enqueue body content from POSTMAN: first 3 lines for vendor group, the rest for vendors.....
 
 
Both work fines in managed by one recurrent data job for each entity
How can I manage it?
 
  • Suggested answer
    Anthony Blake Profile Picture
    Anthony Blake 1,207 on at
    Importing through recurring data job multiple entities with just one file
    I've just tried this out and you will need the data package API. In a recurring import you specify the data entity as part of the request, which means you call the same recurring project (by activity id) however you only send it 1 file, matching the specified data entity.
     
    There's an example of a recurring import here, look out for the data entity being specified as part of the enqueue call.
     
     
  • Anthony Blake Profile Picture
    Anthony Blake 1,207 on at
    Importing through recurring data job multiple entities with just one file
    The package API allows you to import multiple entities in the same run, as long as none of the entities are composite. It may be worth exploring this option.
  • Martin Dráb Profile Picture
    Martin Dráb 225,490 Super User on at
    Importing through recurring data job multiple entities with just one file
    You're asking in the general forum, but I guess your question is about F&O. Am I right?

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

#2
Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans