SPWorkflow Members
Include Protected Members
Include Inherited Members
A workflow instance that has run or is currently running on an item.
The SPWorkflow type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SPWorkflow(SPListItem, Guid) | ||
SPWorkflow(SPWeb, Guid) |
Top
Properties
Name | Description | |
---|---|---|
AssociationId | Gets the ID of the workflow association on which this workflow instance is based. | |
Author | Returns the user ID of the user who initiated the workflow instance. | |
AuthorUser | Returns the user who initiated the workflow instance. | |
Created | Returns the date and time at which the workflow instance was created. | |
HasNewEvents | ||
HistoryList | Gets the list to which to log workflow history events for this workflow instance. | |
HistoryListId | Gets the list ID of the list to which to log workflow history events for this workflow instance. | |
InstanceId | Gets the ID of this workflow instance. | |
InternalState | Gets the current internal state of the workflow instance. | |
IsCompleted | True if the workflow instance has completed running; False if the workflow instance is still in progress. | |
IsLocked | True if the workflow instance is locked; False if it is not. | |
ItemGuid | Gets the ID of the item on which this workflow instance was created. | |
ItemId | Gets the list item ID of the item on which this workflow instance was created. | |
ListId | Gets the ID of the list on which this workflow instance was created. | |
Modifications | Gets a collection of the workflow modifications currently available (that is, in scope) for this workflow instance. | |
Modified | Gets the date and time of the latest modification to the workflow instance. | |
ParentAssociation | Gets the workflow association on which the workflow instance is based. | |
ParentItem | Gets the list item on which this workflow instance was created. | |
ParentList | Gets the list on which this workflow instance was created. | |
ParentWeb | Gets the SharePoint site on which this workflow instance was created. | |
SiteId | Gets the site collection on which this workflow instance was created. | |
TaskFilter | Gets or sets the filter criteria applied to the workflow task collection, such as to whom the workflow is assigned, and the workflow state. | |
TaskList | Gets the workflow task list. | |
TaskListId | Gets the list ID of the workflow task list. | |
Tasks | Gets the collection of workflow tasks for this workflow instance. | |
VisibleParentItem | ||
WebId | Gets the ID of the SharePoint site on which this workflow instance was created. | |
Xml | Returns a string that represents the workflow instance in XML format. |
Top
Methods
Name | Description | |
---|---|---|
CompareTo | ||
CreateHistoryDurationEvent | Writes a workflow history duration event to the specified workflow history list. | |
CreateHistoryEvent(Int32, Object, SPMember, String, String, String) | Writes a workflow history event to the specified workflow history list. | |
CreateHistoryEvent(SPWeb, Guid, Int32, SPMember, TimeSpan, String, String, String) | Writes a workflow history event to the specified workflow history list. | |
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top