+ Start a Discussion
Harikrishna MandadapuHarikrishna Mandadapu 

validation rule on tasks

how to prevent users from deleting task if it is closed using validation rule
Best Answer chosen by Harikrishna Mandadapu
Dutta SouravDutta Sourav
Try This:
AND(
        NOT(IsClosed),
        ISCHANGED(Status),
       OwnerId<>$User.Id
)

 

All Answers

Dutta SouravDutta Sourav
You need to write a Trigger to achieve this. 
Harikrishna MandadapuHarikrishna Mandadapu
Thank you Sourav, I have written a trigger for that. I am trying to achieve it through validation rule. Isn't it ppossible?
Dutta SouravDutta Sourav
No Harikrishna! Through Validation Rule, it's not Possible.
Harikrishna MandadapuHarikrishna Mandadapu
other than task owner no one can close it. Can you help me on validation rule for this.
Dutta SouravDutta Sourav
Try This:
AND(
        NOT(IsClosed),
        ISCHANGED(Status),
       OwnerId<>$User.Id
)

 
This was selected as the best answer