You are here

addAttachmentToTask

- (AlfrescoRequest *)addAttachmentToTask:(AlfrescoWorkflowTask *)task attachment:(AlfrescoDocument *)document completionBlock:(AlfrescoBOOLCompletionBlock)completionBlock - adds a SkyVaultNode to a given task.

Parameters

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

Returns

(AlfrescoRequest *)

Example