Hi, we are in a process of upgrading our CRM all the way from 2011 to Dynamics 365 online. As a preparation we are configuring our organization on current 2011 version to be supported in every aspect for online version. I edited all the workflows and plugins to be able to function in sandbox.
We have a routine of generating lots of renewal orders once a month and we do it in a workflow which has a custom workflow activity. Activity calls a wcf service which starts a job in a new thread and returns immediately, so wf activity is not waiting for the service method to finish. If we start this wf on 250 sales orders at the same time, we get an error, but not just on this wf, some other system jobs can also fail because of this:
Unhandled Exception: Microsoft.Crm.CrmException: System.ServiceModel.CommunicationObjectFaultedException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #FB9C7DBD at Microsoft.Crm.Sandbox.SandboxCodeUnit.Execute(IExecutionContext context) at Microsoft.Crm.Workflow.Services.ProxyCustomActivity.Execute(CodeActivityContext executionContext)
We DO NOT get the same problem if we run the workflow activity outside sandbox. Running wf on 20 after 20 orders, I could not reproduce the error. I added tracing in wf activity and don't see my trace text, so I guess activity could not be started at all.
Any suggestion is appreciated
*This post is locked for comments