ProcessTaskResponse2

Note: This API is now obsolete. Use ProcessTaskResponse3 instead.

Registers a response to a workflow approval or review task in the specified task list.

Syntax

public bool ProcessTaskResponse2(
	string comments,
	Outcome outcome,
	int spTaskId,
	string taskListName
)

Parameters

comments
Type: System.String

Optional. Comments to include with the task response.

outcome
Type: Outcome

Required. The outcome of the task response.

spTaskId
Type: System.Int32

Required. The identifier of the list item for the task. This parameter must be set to a value other than zero (0); otherwise, an error occurs.

taskListName
Type: System.String

Optional. The name or GUID of the task list that contains the task.

See Also

Concepts

Workflow tasks

Operations

Processing workflow task responses

Reference

ProcessTaskResponse3

Web Service Reference