Workflow.GetWorkflowDataForItem Method

Gets the workflow data (tasks, associations, and workflows) for a specific user for a given SharePoint item.

Namespace:  Microsoft.Office.Workflow
Assembly:  Microsoft.Office.WorkflowSoap (in Microsoft.Office.WorkflowSoap.dll)

Syntax

'Declaration
<WebMethodAttribute> _
Public Function GetWorkflowDataForItem ( _
    item As String _
) As SoapXml.SoapXmlElement
'Usage
Dim instance As Workflow
Dim item As String
Dim returnValue As SoapXml.SoapXmlElement

returnValue = instance.GetWorkflowDataForItem(item)
[WebMethodAttribute]
public SoapXml.SoapXmlElement GetWorkflowDataForItem(
    string item
)

Parameters

  • item
    Type: System.String
    The URL location of an item on which a workflow is being run.

Return Value

Type: Microsoft.SharePoint.SoapServer.SoapXml.SoapXmlElement
The SoapXml.SoapXmlElement object.

Implements

ISoapServerWorkflow.GetWorkflowDataForItem(String)

Remarks

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

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

For examples of how to use the Workflow object model, see the Workflow code sample folder and EnterpriseContentManagementStarterKitSampleGuide document in the ECM Starter Kit folder in the Microsoft Office SharePoint Server 2007 SDK download.

See Also

Reference

Workflow Class

Workflow Members

Microsoft.Office.Workflow Namespace