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
stephbstephb 

Need assistance creating a validation rule that only allows case closure from certain statuses.

Users want a validation rule that allows them to close cases automatically from the following status also to see the case close lay out page so they can enter the resolution notes. They don't want to have to click on "close cases" to close out a case. 

T1: Closed
T2: Closed


 
NagaNaga (Salesforce Developers) 
Hi Stephb,

Please let me know if the below sample code helps you.
This will automatically close the case after a field update.

User-added image
Best Regards
Naga Kiran