This documentation is archived and is not being maintained.

SPWorkflowManager.GetItemActiveWorkflows Method

Windows SharePoint Services 3

Returns a collection of the workflow instances currently running on the specified list item.

Namespace:  Microsoft.SharePoint.Workflow
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

public SPWorkflowCollection GetItemActiveWorkflows(
	SPListItem item


Type: Microsoft.SharePoint.SPListItem
The list item for which you want to return active workflow instances.

Return Value

Type: Microsoft.SharePoint.Workflow.SPWorkflowCollection
An SPWorkflowCollection object that represents the workflows running on the item.