+ Start a Discussion
Dilyan DimitrovDilyan Dimitrov 

Preventing tasks from being deleted

There’ve been cases when particular task is deleted by someone by mistake (no data would be available in these cases about who deleted it, but the result is – lack of task). Is there a way to prevent a tasks from being deleted or somehow to create a restriction so that no task could be deleted after creation?


Ashish Dev 3Ashish Dev 3
If it is just a matter of deleting task using delete button, you can remove delete button from layout. Problem solved!.
For finer controll you can write trigger to prevent deletion and allow sys admin to only delete.
Alexander TsitsuraAlexander Tsitsura
Hi Dilyan,

You will need custom coding of a trigger to detect and allow or prevent the deletion.

As a common practice, if your question is answered, please choose 1 best answer. 
But you can give every answer a thumb up if that answer is helpful to you.