You are here

retrieveAttachmentsForTask

- (AlfrescoRequest *)retrieveAttachmentsForTask:(AlfrescoWorkflowTask *)task completionBlock:(AlfrescoArrayCompletionBlock)completionBlock - Returns an array of SkyVaultDocument objects attached to the provided task. Nil, if there are no attachments

Parameters

(AlfrescoWorkflowTask *) task
The task to retrieve attachments from.
(AlfrescoArrayCompletionBlock) completionBlock
The block that is called on completion of the operation. The completion block has the format typedef void (^AlfrescoArrayCompletionBlock)(NSArray *array, NSError *error).

Returns

(AlfrescoRequest *)

Example