You are here

addAttachmentsToTask

- (AlfrescoRequest *)addAttachmentsToTask:(AlfrescoWorkflowTask *)task attachments:(NSArray *)documentArray completionBlock:(AlfrescoBOOLCompletionBlock)completionBlock - adds an array of SkyVaultNode objects to a given task.

Parameters

(AlfrescoWorkflowTask *) task
The task to add the attachments to.
(NSArray *)documentArray
Attachment documents to add.
(AlfrescoBOOLCompletionBlock *)completionBlock
Completion block with the format typedef void (^AlfrescoBOOLCompletionBlock)(BOOL succeeded, NSError *error);.

Returns

(AlfrescoRequest *)

Example