You are here

removeAttachmentFromTask

- (AlfrescoRequest *)removeAttachmentFromTask:(AlfrescoWorkflowTask *)task attachment:(AlfrescoDocument *)document completionBlock:(AlfrescoBOOLCompletionBlock)completionBlock - remove the attachment from the task.

Parameters

(AlfrescoWorkflowTask *) task
The task to remove the attachment from.
(AlfrescoDocument *)document
The attachment document to remove.
(AlfrescoBOOLCompletionBlock *)completionBlock
Completion block with the format typedef void (^AlfrescoBOOLCompletionBlock)(BOOL succeeded, NSError *error);.

Returns

(AlfrescoRequest *)

Example