WorkflowContext properties

The WorkflowContext type exposes the following members.

Properties

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

Top

See also

Reference

WorkflowContext class

Microsoft.SharePoint.WorkflowActions namespace