Workflow.StartWorkflow Method

SharePoint 2007
Starts a workflow on an item for the client.

Web Service: WorkflowWeb Reference: http://<Site>/_vti_bin/Workflow.asmx

[SoapDocumentMethodAttribute("", RequestNamespace="", ResponseNamespace="", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public XmlNode StartWorkflow (
	string item,
	Guid templateId,
	XmlNode workflowParameters



The URL location of an item on which a workflow is being run.


Globally unique identifier (GUID) of a template.


The initiation form data.

Return Value

A System.Xml.XmlNode object.

To complete the StartWorkflow call, information about the available workflows for an item must be provided by either the GetWorkflowDataForItem or GetTemplatesForItem method.

The workflowParameters parameter value is passed as the eventData parameter string value to the StartWorkflow method. For more information, see Workflow Association and Initiation Forms (Windows SharePoint Services) in the Windows SharePoint Services 3.0 SDK.

The return value contains no specific data. The return value denotes the end of the transaction.

Community Additions