+ Start a Discussion

Validating Attachments.

I would like to not allow attachments if a field, like  "Order Status"  equals "Processed".  Is there anyway of doing this?
Pavan Kumar KajaPavan Kumar Kaja

Its not  possible through validation rule. You have to write a trigger on attachment object before insert check parentid object "Order Status"  equals "Processed". then throw error.