function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Pavan Kumar 1700Pavan Kumar 1700 

How can I restrict the below action

I have an approval process where i have one Intial action which updates the date field with formula as Today() as today's date. If some of the team members are making the changes in date updating the date frequently how can I restrict this.( I want to make this date field here as static).
VinayVinay (Salesforce Developers) 
Hi Pavan,

Include boolean field in your approval process and make it true once the approval process is triggered and date is changed.  Now write a validation rule to trigger with this condition (ISCHANGED(datefield) and when boolean value is true).   This should be able to retrict users from changing field values.

Hope above information was helpful.

Please mark as Best Answer so that it can help others in the future.

Thanks,