How to set a record read only after one of the field is set

Posted by cayla on 10-Feb-2016 00:05

Imagine there is an object called "People" which has a field called "status". When I update the "status" to "Dead", how to set the record to be read only? Thanks.

All Replies

Posted by Rajkumar Mateti on 10-Feb-2016 00:29

Hi cayla,

Enable "Lockable" Object property for People object and it will create update field value trigger and Just select the timing and deploy it and provide condition in formula section of the trigger .

ex:

if('{!status#value}' == 'Dead')

 return true;

else

 return

 false;

Thanks,

Rajkumar

Posted by cayla on 10-Feb-2016 01:02

Thanks Rajkumar, it worked.

This thread is closed