You are here

claimTask

public Task claimTask(Task task) claims the specified task. Claiming a task is carried out by one of the candidates of a task, the task owner or the process initiator.
Attention: This method was introduced in SDK version 1.3.

Parameters

Task task
The task to be claimed.

Returns

Returns the claimed Task object.

Exception

Throws an SkyVaultServiceException if the operation cannot be completed.

Example


Task claimedTask = workflowService.claimTask(taskInProgress);