Hello,
In a recent development we are getting a error that we can not see what's happening.
We have a workflow, that get's fired on demand (this is in dev, since in production is by changing a field, but the result is the same)
This workflow creates 6 records (custom entity). Each time one of this records is created, another workflow is fired to create a record (also custom entity), that gets caught by a plugin.
The problem comes here... Sometimes, and sometimes as in out of 80 i get 3 or 0 erros, the execution of the plugin throws an isv aborted error.
By adding tracing to the plugin, we can't get information. Feels like the plugin doesn't even run..
The only error that we can see:
<ErrorCode>-2147220956</ErrorCode>
at Microsoft.Crm.Extensibility.OrganizationSdkServiceInternal.Create(Entity entity, CorrelationToken correlationToken, CallerOriginToken callerOriginToken, WebServiceType serviceType)
at Microsoft.Crm.Extensibility.InprocessServiceProxy.CreateCore(Entity entity)
at Microsoft.Crm.Workflow.Services.CreateActivityService.<>c__DisplayClass1.<CreateInternal>b__0(IOrganizationService sdkService)
at Microsoft.Crm.Workflow.Services.ActivityServiceBase.ExecuteInTransactedContext(ActivityDelegate activityDelegate)
at Microsoft.Crm.Workflow.Services.CreateActivityService.ExecuteInternal(ActivityContext executionContext, CreateEntity createEntity)
at Microsoft.Crm.Workflow.Services.CreateActivityService.Execute(ActivityContext executionContext, CreateEntity createEntity)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Does anyone ever got this kind of behavior?
The initial record that fires the workflow is the same, and there is no difference in the date between the created records.
Thank you!