Symptoms
In K2 Studio, starting the SmartForms Client Event return the following error:
SourceCode.Forms.Management
at SourceCode.Forms.Management.FormsManager.DoSessionCall(String method, Objectt] parameters)
at SourceCode.Forms.Management.FormsManager.CheckFormExists(Guid guid)
at SourceCode.Workflow.Wizards.Forms.WizardExtensions.RefreshForm(IFormsWizard wizard)
at SourceCode.Workflow.Wizards.Forms.WizardExtensions.InitFormAndStates(IFormsWizard wizard, FormPart formPart)
at SourceCode.Workflow.Wizards.Forms.Pages.ClientEvent.SelectFormStatePage.Activate()
at SourceCode.Workflow.Wizards.Forms.Pages.ClientEvent.SelectFormStatePage.OnActivate()
at SourceCode.Workflow.WizardFramework.PropertyWizard.OnNavigateToPage(WizardPage destinationPage, Direction direction)
at SourceCode.Workflow.WizardFramework.PropertyWizard.set_CurrentPage(WizardPage value)
at SourceCode.Workflow.WizardFramework.PropertyWizard.OnNext(IWizardHostService host)
at SourceCode.Workflow.DesignerFramework.WizardHost.ShowNextPage()
Diagnoses
Some environment fields used by K2 Studio were not set i.e. was empty.
Resolution
Updating the fields from the Environment Library allowed K2 Studio to function properly again.