WorkflowContext properties
The WorkflowContext type exposes the following members.
Properties
Name | Description | |
---|---|---|
AllowDefaultContentApproval | Gets a value that indicates whether the workflow can be started automatically when the user approves the publishing of a major version of a list item. | |
AllowManual | Gets a value that indicates whether the workflow can be started manually. | |
AssociationTitle | Gets the name of the workflow association associated with the workflow context. | |
AssociatorUser | Gets the author of the workflow association associated with the workflow context. | |
AutoStartChange | Gets a value that indicates whether the workflow is started when an item is changed. | |
AutoStartCreate | Gets a value that indicates whether the workflow is started when an item is created. | |
CurrentItemUrl | Gets the absolute URL of the list item on which the workflow was created. | |
CurrentWebUrl | Gets the URL of the SharePoint 2010 website on which the workflow instance is located. | |
InitiatorUser | Gets the originator of the current workflow instance. | |
ItemId | Gets the identifier of the list item on which the workflow instance is running. | |
ItemName | Gets the name of the list item on which the workflow instance was created. | |
LastRunDateTime | Gets the Coordinated Universal Time (UTC) date and time of the last modification to the workflow instance. | |
ListId | Gets the identifier of the list that contains the list item on which the workflow instance is running. | |
PermissionsManual | Gets a value that indicates whether the current user has the permissions to manually start the workflow on the website. | |
Site | The SPSite object that is associated with a specified workflow. | |
StartedDateTime | Gets the UTC date and time when the workflow instance was created. | |
TaskListGuid | Gets the globally unique identifier (GUID) of the task list associated with the workflow context. | |
Web | The SPWeb that is associated with a specified workflow. | |
WorkflowInstanceId | Gets the globally unique identifier (GUID) of the current workflow instance. | |
WorkflowStatusUrl | Gets the absolute URL of the status page for the workflow instance. | |
WorkflowWebProvider | Gets or sets an object that provides access to the website and user role for the workflow instance. |
Top