Workflow.ClaimReleaseTask Method

Claims or releases a task.

Web Service: WorkflowWeb Reference: http://<Site>/_vti_bin/Workflow.asmx

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/workflow/ClaimReleaseTask", RequestNamespace:="https://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace:="https://schemas.microsoft.com/sharepoint/soap/workflow/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function ClaimReleaseTask ( _
    item As String, _
    taskId As Integer, _
    listId As Guid, _
    fClaim As Boolean _
) As XmlNode
'Usage
Dim instance As Workflow
Dim item As String
Dim taskId As Integer
Dim listId As Guid
Dim fClaim As Boolean
Dim returnValue As XmlNode

returnValue = instance.ClaimReleaseTask(item, taskId, listId, fClaim)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/workflow/ClaimReleaseTask", RequestNamespace="https://schemas.microsoft.com/sharepoint/soap/workflow/", ResponseNamespace="https://schemas.microsoft.com/sharepoint/soap/workflow/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)] 
public XmlNode ClaimReleaseTask (
    string item,
    int taskId,
    Guid listId,
    bool fClaim
)

Parameters

  • item
    The URL location of an item on which a workflow is being run.
  • taskId
    Unique identifier of a task.
  • listId
    Globally unique identifier (GUID) of a task list containing the task.
  • fClaim
    Specifies if the action is a claim or a release. Specifies true for a claim and false for a release.

Return Value

A System.Xml.XmlNode object.

See Also

Reference

Workflow Class
Workflow Members
Workflow Web Service