You are here

retrieveDefinitionForTask

- (AlfrescoRequest *)retrieveDefinitionForTask:(AlfrescoWorkflowTask *)task completionBlock:(AlfrescoTaskTypeDefinitionCompletionBlock)completionBlock; - Returns the type definition for the given workflow task, the returned definition will also include all properties from all applied aspects.

Parameters

(AlfrescoWorkflowTask *) task
Task to retrieve the definition for.
(AlfrescoTaskTypeDefinitionCompletionBlock)block
The block that is called on completion of the operation. The block has the format typedef void (^AlfrescoTaskTypeDefinitonCompletionBlock)(AlfrescoTaskTypeDefinition *typeDefinition, NSError *error);.

Returns

(AlfrescoRequest *)

Example