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
Orn IngvarOrn Ingvar 

Validation rule to stop changing owner on Cases

Hi all,

Is it possible to create a validation rule that stops a user from changing the owner of a Case if a certain picklist value has been selected ?

Basicly I want to make sure that the case is closed by the user if that picklist value is used.

cheers,
Orn
jkosjkos
Hi Orn,

You could try something like this:

Code:
And(Ispickval(picklistfield, "Value"), not(ispickval(CaseStatusPickList, "Closed")))

 


this should check the picklist you are using to require that the case be closed.  If the pick list is set to that 'trigger' value and the case status is not set to closed then SF will generate an error on the save.

-jkos

Message Edited by Kingsley on 03-20-2007 09:26 AM