
Visual Basic (Declaration) | |
---|---|
Public MustInherit Class Activity Inherits K2Object Implements SourceCode.Framework.INamedObject, SourceCode.Framework.ISupportDisplayName, SourceCode.Framework.ISupportName, SourceCode.Framework.IValidationContainer, SourceCode.Framework.IWizardConfigurable, IExecutableItemContainer, IK2Object, ISystemNameSyncable |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As Activity |
C++/CLI | |
---|---|
public ref class Activity abstract : public K2Object, SourceCode.Framework.INamedObject, SourceCode.Framework.ISupportDisplayName, SourceCode.Framework.ISupportName, SourceCode.Framework.IValidationContainer, SourceCode.Framework.IWizardConfigurable, IExecutableItemContainer, IK2Object, ISystemNameSyncable |
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.
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
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