Workflow.GetToDosForItem Method

Gets the workflow tasks assigned to a specific user for a given SharePoint item.

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

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/workflow/GetToDosForItem", RequestNamespace:="https://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace:="https://schemas.microsoft.com/sharepoint/soap/workflow/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function GetToDosForItem ( _
    item As String _
) As XmlNode
'Usage
Dim instance As Workflow
Dim item As String
Dim returnValue As XmlNode

returnValue = instance.GetToDosForItem(item)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/workflow/GetToDosForItem", RequestNamespace="https://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/soap/workflow/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public XmlNode GetToDosForItem (
    string item
)

Parameters

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

Return Value

A System.Xml.XmlNode object.

Remarks

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

http://<server>/<customsite>/DocumentLibrary/example.docx

The format of the returned XML is an XML rowset.

See Also

Reference

Workflow Class
Workflow Members
Workflow Web Service