Hy
I have a Custom Workflow, which I can trigger on-demand. This workflows starts a sub-workflow. This sub-workflow starts a custom workflow activity (assembly).
When the Custom On-Demand Workflow is triggered more than once in a short period of time, when another instance is already running, we have several errors:
- InvalidPointer Exceptions
- ValidateOpen - Encountered disposed CrmDbConnection when it should not be disposed
- Unhandled Exception: Microsoft.Xrm.Sdk.InvalidPluginExecutionException: An error occurred in Inactivate.Execute during a service call: ValidateClosed - Db GetCreateConnection() should be closed on End
-...
So there seems to be problems when more than one instance is running in parallel. What could cause this problems?
Thanks for your help,
Peter