I have an activity which has an escalation set up that sends an email to a list of email addresses stored in a process level field.
This escalation has been causing the following error everytime the escalation fires:
ActivityInstanceDestination property not available on given context.
I have checked the process level field which contains the email address, and it appears to be valid.
I have tried going to process management to repair this, however when I open up the process from the Process Management tool in VS2005, I get the following error:
One or more errors encountered while loading the designer. The errors are listed below. Some errors can be fixed by rebuilding your project, while others may require code changes. | |
at VSLangProj.Reference.get_SourceProject() at Microsoft.Workflow.VSDesigner.TypeProviderCreator.TypeProviderHost.ReferenceEntry..ctor(TypeProvider typeProvider, Reference reference) at Microsoft.Workflow.VSDesigner.TypeProviderCreator.TypeProviderHost.VSLangProj._dispReferencesEvents.ReferenceAdded(Reference pReference) at Microsoft.Workflow.VSDesigner.TypeProviderCreator.TypeProviderHost..ctor(IServiceProvider provider, IVsHierarchy hierarchy) at Microsoft.Workflow.VSDesigner.TypeProviderCreator.GetTypeProviderHostForObject(Object obj) at Microsoft.Workflow.VSDesigner.TypeProviderCreator.GetTypeProvider(Object obj) at Microsoft.Workflow.VSDesigner.VSWorkflowDesignerLoader.Initialize() at System.ComponentModel.Design.Serialization.BasicDesignerLoader.BeginLoad(IDesignerLoaderHost host) at System.ComponentModel.Design.DesignerHost.BeginLoad(DesignerLoader loader) |
I have a couple of questions in regard to this:
1. Has anyone encountered the original error (ActivityInstanceDestination property not available on given context.
), and if so, any ideas on what causes it, and how to fix it?
2. Has anyone encountered the error that I get from the Process Management tool in Visual Studio, and if so, any ideas on how to fix it so that I can debug and repair this process?
3. Looking at the view flow for the process instance that is in error, it doesn't actually appear to be in error. Will an error in an escalation rule stop the process from continuing? or will the process continue on, ignoring the error in the escalation rules?? ie if I ignore these processes in error, will the process be able to continue on?
Thanks in advance for any assistance on this!