Share via


ISoapServerWorkflow.AlterToDo Method

Updates the task information for a specific workflow task.

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

Syntax

'Declaration
Function AlterToDo ( _
    item As String, _
    todoId As Integer, _
    todoListId As Guid, _
    taskData As SoapXml.SoapXmlElement _
) As SoapXml.SoapXmlElement
'Usage
Dim instance As ISoapServerWorkflow
Dim item As String
Dim todoId As Integer
Dim todoListId As Guid
Dim taskData As SoapXml.SoapXmlElement
Dim returnValue As SoapXml.SoapXmlElement

returnValue = instance.AlterToDo(item, _
    todoId, todoListId, taskData)
SoapXml.SoapXmlElement AlterToDo(
    string item,
    int todoId,
    Guid todoListId,
    SoapXml.SoapXmlElement taskData
)

Parameters

  • item
    Type: System.String
    The URL location of an item on which a workflow is being run.
  • todoId
    Type: System.Int32
    Unique identifier of the assigned task.
  • todoListId
    Type: System.Guid
    Globally unique identifier (GUID) of the assigned task list containing the task.

Return Value

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

Remarks

The server parses the <taskData> node into a hash table with a key for each <elementX> tag. The inner value of that tag is the value of the key in the hash table. The resulting hash table is passed to the AlterTask method as the htData parameter. Other items in the request, for example, the URL location of the item, the assigned task, and so on, are used to identify the task.

For examples of how to use the ISoapServerWorkflow interface, 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

ISoapServerWorkflow Interface

ISoapServerWorkflow Members

Microsoft.Office.Workflow Namespace