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
Vila Shah 16Vila Shah 16 

How to write validation rule to prevent user to use Assign using case assignment rule while closing case

Hi,
How to prevent user to check the box " assign using active assignment rule" on case closing? - we already have seprate record type ang page layout for closed caes. However when they are closign the case they still check the box  -how to prevent?
VinayVinay (Salesforce Developers) 
Hi Vila,

You can workaround mentioned below.

https://developer.salesforce.com/forums/?id=906F0000000D9L3IAK

Please mark as Best Answer if above information was helpful.

Thanks,
Vila Shah 16Vila Shah 16
No exactly, I do have seprate record type and page layout for closed caes, and on that there is no checkbox for assign using active assignment rule. However on open cases we have that box but we want to prenvent user to use that box when they select any for the closed status.