Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 82002

AsyncOperation - Direct Creation for Async Processing of SDK messages?

$
0
0

I've worked with another ERP/CRM called Netsuite and one thing I remember from using their API was that you could submit API calls either Synchronously or Asynchronously.

So for instance, you could submit a bunch of 100 Create or Update requests to the server, and as the server had bandwidth, it would process those requests Asynchronously and as a consumer of the API, you could query for progress/status of the requests at a point after submitting.

With Dynamics CRM, when I make SDK/API calls using methods on an OrganizationService such as Create or Update, those are executed Synchronously. 

Is it possible to send API requests to CRM in an Asynchronous manner? I imagine sending requests in this manner would allow them to be processed on the Async server and at a lower resource cost than the direct Synchronous requests to CRM.

One thought I had was that I could craft a new instance of an AsyncOperation object and then create that, which would then handle the Asynchronous processing of a request. I played around a bit without luck and there is no formal documentation on using this class this way.

I'm curious if anyone is aware of a way to use the API in an Asynchronous manner or if anyone has any technical thoughts on this.


Viewing all articles
Browse latest Browse all 82002

Latest Images

Trending Articles



Latest Images