You are here

completeTask

- (AlfrescoRequest *)completeTask:(AlfrescoWorkflowTask *)task variables:(NSDictionary *)variables completionBlock:(AlfrescoTaskCompletionBlock)completionBlock - Completes the task with the optional set of variables, for example, a comment.

Parameters

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

Returns

(AlfrescoRequest *)

Example