Workflow.GetWorkflowDataForItem Method

Gets the workflow data for a specific user for a given SharePoint item.

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


<SoapDocumentMethodAttribute("", RequestNamespace:="", ResponseNamespace:="", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function GetWorkflowDataForItem ( _
    item As String _
) As XmlNode
Dim instance As Workflow
Dim item As String
Dim returnValue As XmlNode

returnValue = instance.GetWorkflowDataForItem(item)
[SoapDocumentMethodAttribute("", RequestNamespace="", ResponseNamespace="", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public XmlNode GetWorkflowDataForItem (
    string item


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

Return Value

A System.Xml.XmlNode object.


You can specify the location of an item using its full URL, for example:


The inner return bodies from the GetWorkflowTaskData and GetToDosForItem methods are included in the return, under the <ToDoData> and <TemplateData> element nodes.

See Also


Workflow Class
Workflow Members
Workflow Web Service