Skip to main content


 

Symptoms


Deploy Workflow Error from K2 Designer
 

Diagnoses


When we try to deploy a workflow from K2 Designer we get the next error:
System.ArgumentNullException: Value cannot be null.
Parameter name: registeredWizard
at SourceCode.Framework.WizardDefinition..ctor(WizardElement registeredWizard)
at SourceCode.WebDesigner.Authoring.Forms.GenerateProcess.CreateClientEvents(XmlDocument xmlProcess, XmlDocument xmlInputData, XmlNode activity, Activity newActivity, Process newProcess, String UserName)
at SourceCode.WebDesigner.Authoring.Forms.GenerateProcess.CreateActivies(XmlDocument xmlInputData, XmlDocument xmlProcess, DefaultProcessand newProcess, String UserName)
at SourceCode.WebDesigner.Authoring.Forms.GenerateProcess.Generate(String LocalHostConnection, String UserName, Int32 ProcessID, String InputData, String ProcessXML, String SqlConnectionString, String HostServerConnectionString)

 

Resolution

After reviewing the environment libraries we filled up some of the fields which were empty or pointing to a different server. We fixed those. We created a new workflow just for testing and it worked. We deleted the exsiting activity in the workflow and added a new one and that worked.

There was another issue when downloading the workflow and opening it in K2 Stiudio. There was a different form name with a 2 appended to the end. When ran the Smartforms integration selecting the correct form and that fixed the issue.




 
Be the first to reply!

Reply