You are here

retrieveImageForProcess

- (AlfrescoRequest *)retrieveImageForProcess:(AlfrescoWorkflowProcess *)process completionBlock:(AlfrescoContentFileCompletionBlock)completionBlock - Returns an image of the process. An image is only returned if the user has started the process or is involved in any of the tasks. The image provides a visual representation of the workflow process.

Parameters

(AlfrescoWorkflowProcess *) process
The process to retrieve the image for.
(AlfrescoContentFileCompletionBlock) completionBlock
The completion block has the format typedef void (^AlfrescoContentFileCompletionBlock)(AlfrescoContentFile *contentFile, NSError *error);.

Returns

(AlfrescoRequest *)

Example




        

retrieveImageForProcess:outputStream:completionBlock

- (AlfrescoRequest *)retrieveImageForProcess:(AlfrescoWorkflowProcess *)process outputStream:(NSOutputStream *)outputStream completionBlock:(AlfrescoContentFileCompletionBlock)completionBlock; - Returns an image of the process. An image is only returned if the user has started the process or is involved in any of the tasks. The image provides a visual representation of the workflow process.

Parameters

(AlfrescoWorkflowProcess *) process
The process to retrieve the image for.
(NSOutputStream *) outputStream
The stream in which to place the retrieved image.
(AlfrescoContentFileCompletionBlock) completionBlock
The completion block has the format typedef void (^AlfrescoContentFileCompletionBlock)(AlfrescoContentFile *contentFile, NSError *error);.

Returns

(AlfrescoRequest *)

Example