Dynamics CRM Support Blog
Problems configuring the CRM Outlook client? Use the wizard!
CRM Resource Center
FAQ About Technical SupportOnline | On-Premise
FAQ About Billing
Microsoft Dynamics CRM Developer Center and SDK
I have an issue with a custom workflow activity which calls the CRM Web Service. The custom workflow activity, is triggered when a field is changed on a custom entity.
For one record, this workflow works as intended. However, when I use the multi-edit feature, all the workflows triggered appears stuck on that custom activity (I have to click "Resume" on the workflow).
Has anyone else run into this issue?
Are you on CRM On-Prem?
I am using CRM On-prem.
Below is the exception:
Workflow paused due to error: Unhandled Exception: System.Activities.InvalidWorkflowException: Connect encounted an error (Connect encounted a fault exception (ValidateClosed - Db GetCreateConnection() should be closed on End) while retrieving the 'Participant Off' Allocation Scenario entity) while processing workflow step 'Participant Off' after checkpoint Retrieved Participation allocations
at Connect.WF.Participation.ParticiptantOff2.ParticipantOff.Execute(CodeActivityContext executionContext)
at System.Activities.CodeActivity.InternalExecute(ActivityInstance instance, ActivityExecutor executor, BookmarkManager bookmarkManager)
at System.Activities.Runtime.ActivityExecutor.ExecuteActivityWorkItem.ExecuteBody(ActivityExecutor executor, BookmarkManager bookmarkManager, Location resultLocation)
Inner Exception: System.Activities.InvalidWorkflowException: Connect encounted a fault exception (ValidateClosed - Db GetCreateConnection() should be closed on End) while retrieving the 'Participant Off' Allocation Scenario entity
Are you defining context variables (IOrganizationService, IExecutionContext, etc.) as global in the custom workflow activity?
Microsoft Dynamics CRM Consultant
Other Microsoft Sites
I'm a Customer
I'm a Partner
Use the official Twitter tags:
#MSDYNCOMM | #CONV13