
I load some CRM records using C# .NET. It was slow, so we switched to ExecuteMultipleRequest to send a batch of records. After upgrading to CRM 2016 and adding some workflows, it doesn't always get a response.
Pseudo code:
OrganizationService orgService uses the connection string
request = new ExecuteMultipleRequest()
{
Settings = new ExecuteMultipleSettings()
{
ContinueOnError = true,
ReturnResponses = true
},
Requests = new OrganizationRequestCollection()
};
ExecuteMultipleResponse response = (ExecuteMultipleResponse)orgService.Execute(request);
So the code works, but not always. Obviously I would like to reduce the CRM clutter to make it faster by reducing plugins/workflows, but what other options are there? I can't seem to find a timeout setting, since this should be something along the lines of a web service call. Is there another way to add them?
*This post is locked for comments
I have the same question (0)Hi,
It will fail if you are sending more than 1000 requests using ExecuteMultipleRequest. then it will fail.
You can check limitations here
msdn.microsoft.com/.../jj863631.aspx
another option to load records into CRM, by using data import using CSV file or you can use SSIS packages or some thrid party tools like Scribe, KingwaySoft etc.