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