简体   繁体   中英

Automate data import in microsoft dynamics crm

I have written code that imports CSV file records into crm using an existing data map. Now I want this to be run on crm server periodically and automatically. Guide me what's needed to make it part of crm?

If your code is a plugin, you can set up a recursive workflow that performs whatever action is needed in order to kick off your code, waits for however long you need, then calls itself again. There are checks that block infinite looping depending on the how often it calls itself, so be careful of that.

I wouldn't set up these kind of things with a workflow if I can avoid it, you don't want to have stuff ticking away in CRM if you can avoid it plus you have a set number of times a workflow can do recursive calls and then you need to bend stuff to make it work. As it is a console program (more or less) and if you have a server to run it on, I'd Schedule it using the the scheduler in WS, or make it as a service. This is if you can do that, and as I asked earlier, how do you want to run it and where do you import the data from?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM