- (AlfrescoRequest *)deleteProcess:(AlfrescoWorkflowProcess *)process
completionBlock:(AlfrescoBOOLCompletionBlock)completionBlock -
Parameters
- (AlfrescoWorkflowProcess *) process
- The process to delete.
- (AlfrescoBOOLCompletionBlock) completionBlock
- Completion block with the format typedef void (^AlfrescoBOOLCompletionBlock)(BOOL succeeded, NSError *error);.
Returns
(AlfrescoRequest *)
Example
// Now delete process [workflowProcessService deleteProcess:process completionBlock:^(BOOL succeeded, NSError *error){ if (succeeded) { NSLog(@"#### Process deleted!\n"); } else { NSLog(@"#### Failed to delete process with %@\n", error); } }];