Skip to main content

When I build a workflow in Designer for SharePoint with an escalation I am getting the following error.


 



System.Exception: System.NullReferenceException: Object reference not set to an instance of an object.


   at SourceCode.WebDesigner.Authoring.SharePoint.GenerateProcess.CreateActivityMultiEscalations(XmlNode activity, Activity newActivity, Process newProcess)


   at SourceCode.WebDesigner.Authoring.SharePoint.GenerateProcess.CreateActivity(XmlNode activity, Activity newActivity, XmlDocument xmlProcess, Process newProcess)


   at SourceCode.WebDesigner.Authoring.SharePoint.GenerateProcess.CreateActivies(XmlDocument xmlInputData, XmlDocument xmlProcess, DefaultProcess& newProcess, String UserName)


   at SourceCode.WebDesigner.Authoring.SharePoint.GenerateProcess.Generate(String UserName, Int32 ProcessID, String InputData, String ProcessXML, String ConnectionString)


   at SourceCode.WebDesigner.Authoring.SharePoint.GenerateProcess.Generate(String UserName, Int32 ProcessID, String InputData, String ProcessXML, String ConnectionString)


Any ideas on how to fix this or what is wrong?  BTW it is 4.5 patch 1230.

Update:  According to support there is a bug with escalations when using the designer for SharePoint the workaround was using k2 designer.  FYI.


The same error is still existing in the 1290 release. And will probably not be fixed until after the 1350 release.


Answer from K2 support:
"Our development team has verified the behaviour and logged this as a bug. The only workaround would be to save the project and add the escalation and deploy with K2 Studio.

Also note, when the escalation is configured in the Web designer you will get an error when trying to save it. So you need to remove the escalation, save and then edit in K2 Studio adding it again.
The bug will get high priority but will most probably only be fixed post KB1350."


Reply