Export (0) Print
Expand All

SPWorkflowManager.StartWorkflow Method (SPListItem, SPWorkflowAssociation, String)

Windows SharePoint Services 3

Creates and starts a new workflow instance, based on the specified workflow association, on the specified list item.

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

public SPWorkflow StartWorkflow(
	SPListItem item,
	SPWorkflowAssociation association,
	string eventData
)

Parameters

item
Type: Microsoft.SharePoint.SPListItem
The list item on which to start the workflow instance.
association
Type: Microsoft.SharePoint.Workflow.SPWorkflowAssociation
The workflow association on which to base the new workflow instance.
eventData
Type: System.String

Return Value

Type: Microsoft.SharePoint.Workflow.SPWorkflow
A SPWorkflow object that represents the new workflow instance.

Community Additions

ADD
Show:
© 2014 Microsoft