- (AlfrescoRequest *)retrieveDefinitionForTaskType:(NSString *)type
completionBlock:(AlfrescoTaskTypeDefinitionCompletionBlock)completionBlock; -
Returns the type definition for the given task type, for example "wf:adhocTask". An error with
a code of 1301 is returned if the type is null or unknown.
Parameters
- (NSString *) type
- Type 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 *)