Skip to main content

Hi, 


I'm getting the following error while trying to deploy a workflow on the K2 Designer for SharePoint. No issues when I deploy processes with K2 Studio or K2 for Visual Studio. 


Any help? 


Thanks. 


 



System.Exception: System.Exception: The selected environment does not exist. 


   at DynamicEvents.GetEnvironment(Stringt] eventDropData, K2Field SmartObjectServer, K2Field currentField, String CurrentEnvironment)


   at DynamicEvents.GetResolverValue(String Data, Process newProcess, Activity newActivity, K2Field SmartObjectServer, String ContextType, String CurrentEnvironment)


   at DynamicEvents.GetValue(String Data, Process newProcess, Activity newActivity, K2Field SmartObjectServer, String ContextType, Boolean Html, String CurrentEnvironment, String style, String fontFamily, String fontSize, String fontStyle, String fontWeight, String fontUnderline)


   at DynamicEvents.GetValue(String Data, Process newProcess, Activity newActivity, K2Field SmartObjectServer, String ContextType, Boolean Html, String CurrentEnvironment)


   at DynamicEvents.SetPropertyValue(Object procDef, XmlNode PropertyNode, XmlDocument xmlProcess, Process newProcess, Activity newActivity, Type propTypeDefProp, PropertyInfo propInfoDefProp, Object eventItem, String CurrentEnvironment)


   at DynamicEvents.BuildEvent(XmlNode xml, Process newProcess, XmlNode activity, Activity newActivity, XmlDocument xmlProcess, K2Field SmartObjectServer, String ContextType, String _SmartObjectServer, String CurrentEnvironment)


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


   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)


What version of K2 do you have deployed?


Reply