Share via


IWorkflow.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 ( _
    todoId As Integer, _
    todoListId As Guid, _
    taskParameters As Hashtable _
) As String
'Usage
Dim instance As IWorkflow
Dim todoId As Integer
Dim todoListId As Guid
Dim taskParameters As Hashtable
Dim returnValue As String

returnValue = instance.AlterToDo(todoId, _
    todoListId, taskParameters)
string AlterToDo(
    int todoId,
    Guid todoListId,
    Hashtable taskParameters
)

Parameters

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

Return Value

Type: System.String
The information about the task associated with the workflow.

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. The 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 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

IWorkflow Interface

IWorkflow Members

Microsoft.Office.Workflow Namespace