Activity Class
Members See Also 
SourceCode.Workflow.Authoring Namespace : Activity Class



Glossary Item Box

Provides an interface that a process designer can use to access an Activity within a Process.

Object Model

Activity ClassPersistableContainerObject ClassCustomConfigurationSettings ClassK2Field ClassDataFieldCollection ClassDataField ClassDestinationRule ClassEscalationCollection ClassEscalation ClassEventCollection ClassEvent ClassExceptionRule ClassExecutableItem ClassActivityLineCollection ClassLine ClassK2Image ClassPrecedingRule ClassProcess ClassIProject InterfaceActivityLineCollection ClassLine ClassStartRule ClassSucceedingRule ClassWorkflowDesignerVerbCollection ClassWizardDefinition ClassWorkingHours ClassXmlFieldCollection ClassXmlField Class

Syntax

Remarks

An Activity can only be accessed if the application object containing the project and process has been created and the process is opened in the design environment.

The activity object represents a unique activity in a process. It contains all the properties of the activity and allows a developer to programmatically interface with a given activity.

The activity object allows a project and process to be specified as parent objects, and allows events to be created as child objects.

All the logic surrounding the execution of the activity, including the rules, working hours and exceptions, are contained within the activity object. The line rules that start from the activity as well as those that end in the activity can be accessed via the activity object.

Inheritance Hierarchy

System.Object
   SourceCode.Framework.PersistableObject
      SourceCode.Framework.PersistableContainerObject
         SourceCode.Framework.Design.NamedObject
            SourceCode.Workflow.Authoring.K2Object
               SourceCode.Workflow.Authoring.Activity
                  SourceCode.Workflow.Authoring.StartActivity
                  SourceCode.Workflow.Design.DefaultActivity
                  SourceCode.Workflow.Design.Interop.InteropActivity

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also