Symptoms
Automatic process starts not firing correctly
Diagnoses
When starting a process instance it goes into error status, But if you run the processes manually they work fine,
Host Server Log File reports the following:
"2212438","2016-03-17 14:42:12","Error","General","28083","ExtenderExecuteError","ProcessInstance.HandleException","28083 LineRule: Root element is missing.
Server stack trace:
at SourceCode.Workflow.Runtime.Extenders.WinWFExtender.OnExecute(Object context, XmlElement data, ResolverManager resolverManager)
at SourceCode.Workflow.Runtime.Extenders.ResolverExtenderBase.Execute(Object context, String data)
at System.Runtime.Remoting.Messaging.StackBuilderSink._PrivateProcessMessage(IntPtr md, Objectc] args, Object server, Objectc]and outArgs)
at System.Runtime.Remoting.Messaging.StackBuilderSink.SyncProcessMessage(IMessage msg)
Exception rethrown at t0]:
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageDataand msgData, Int32 type)
at SourceCode.Workflow.Runtime.IK2Extender.Execute(Object context, String data)
at SourceCode.KO.ProcessInstance.ExecuteExtender(Guid , State , ContextType , Object , Int32 , String , Guid )
InnerException: An unexpected error has occured while trying to resolve a value for Resolver ID 106C5886-18B1-4c09-BEB3-6F7342669D18.
at SourceCode.Framework.Data.ResolverManager.GetValue(String runtimeData)
at Project_3b060d6cd30b46a1825f4d139d41a518.LineRuleContext_f126bed7c8014274af7e69f538377841.ExtenderConfig.get_Rule() in c:Usersk2devAppDataLocalTempExtenderProjectsCSWinWF-3b060d6cd30b46a1825f4d139d41a518KOServerContext.cs:line 14752
at ExtenderProject_3b060d6cd30b46a1825f4d139d41a518.LineRule_f126bed7c8014274af7e69f538377841.codeActivity1_ExecuteCode(Object sender, EventArgs e) in c:Usersk2devAppDataLocalTempExtenderProjectsCSWinWF-3b060d6cd30b46a1825f4d139d41a518LineRule_f126bed7c8014274af7e69f538377841.xoml.cs:line 43
at System.Workflow.ComponentModel.Activity.RaiseEvent(DependencyProperty dependencyEvent, Object sender, EventArgs e)
at System.Workflow.Activities.CodeActivity.Execute(ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutor`1.Execute(T activity, ActivityExecutionContext executionContext)
at System.Workflow.ComponentModel.ActivityExecutorOperation.Run(IWorkflowCoreRuntime workflowCoreRuntime)
at System.Workflow.Runtime.Scheduler.Run()
InnerException: An unexpected error has occured while trying to resolve a value for Resolver ID 1213E0EE-6A9B-492e-944B-4DC0E7EC59EE.
at SourceCode.Framework.Data.ResolverManager.GetValue(String runtimeData)
at SourceCode.Workflow.Data.Resolvers.K2FieldResolver.OnGetValue(String data)
at SourceCode.Framework.Data.ResolverManager.GetValue(String runtimeData)
InnerException: An unexpected error has occured while trying to resolve a value for Resolver ID 08E79698-DF4D-4959-A894-1EE32AA1B6A7.
at SourceCode.Framework.Data.ResolverManager.GetValue(String runtimeData)
at
Resolution
Do check within the error profile upon workspace. You may see an error which may appear to be related to the EWS URL being out of sync, which could simply be down to a URL change. A reconfigure may have to be done.
It may be wise to try and redeploy the workflow and also retest to see if you get the same error.