About Authoring Processes (Legacy)

This topic is relevant for systems that were upgraded from K2 4.7 to K2 Five and still have access to the Silverlight Workflow designer. Clean installs of K2 Five do not currently have this functionality.

Authoring processes programmatically allows you to automate the creation and deployment of workflows. The processes created can be opened in the K2 Designer for Visual Studio for validation and for additional functionality. The authoring classes represented by the assemblies below are used by the K2 design canvases to create processes based on visual representations of those processes.

This set of namespaces represents the way you programmatically create new processes, modify existing ones, and create your own workflow authoring objects. Some common tasks include:

  • Building a new process definition (SourceCode.Workflow.Design)
  • Modifying an existing process definition (SourceCode.Workflow.Design)
  • Inheriting from classes to build your own workflow authoring objects (SourceCode.Workflow.Authoring)
  • Deploying workflows (SourceCode.Framework and SourceCode.DeploymentTasks)

The assemblies in this object model area include the following:

  • SourceCode.DeploymentTasks
  • SourceCode.Framework
  • SourceCode.Workflow.Authoring
  • SourceCode.Workflow.VisualDesigners
  • SourceCode.Workflow.Design
  • SourceCode.ResolverFramework 

See the topic Workflow Authoring Samples for sample code that demonstrates various uses of the design-time authoring APIs.