Workflow.GetWorkflowDataForItem Method
SharePoint 2007
Gets the workflow data for a specific user for a given SharePoint item.
Web Service: WorkflowWeb Reference: http://<Site>/_vti_bin/Workflow.asmx
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/workflow/GetWorkflowDataForItem", RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/soap/workflow/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] public XmlNode GetWorkflowDataForItem ( string item )
Parameters
- 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:
http://<server>/<customsite>/DocumentLibrary/example.docx
The inner return bodies from the GetWorkflowTaskData and GetToDosForItem methods are included in the return, under the <ToDoData> and <TemplateData> element nodes.