You are here

claimTask

- (AlfrescoRequest *)claimTask:(AlfrescoWorkflowTask *)task completionBlock:(AlfrescoTaskCompletionBlock *)completionBlock - claims the task for the authenticated user, and returns the updated task.

Parameters

(AlfrescoWorkflowTask *) task
The task to claim.
(AlfrescoTaskCompletionBlock *)completionBlock
Completion block with the format typedef void (^AlfrescoTaskCompletionBlock)(AlfrescoWorkflowTask *task, NSError *error);.

Returns

(AlfrescoRequest *)

Example