Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
StartWorkflow Method (SPListItem, SPWorkflowAssociation, String, Boolean)

SPWorkflowManager.StartWorkflow Method (SPListItem, SPWorkflowAssociation, String, Boolean)

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,
	bool isAutoStart
)

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
isAutoStart
Type: System.Boolean

Return Value

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

Community Additions

ADD
Show:
© 2015 Microsoft