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
NordbergNordberg 

Validation Rule vs. S-control - Please HELP

Below is the validation rule.  Of course I realize now that the ownership change doesnt seem to trigger the validation rules.  Is there another way of doing this with an S-Control

and( $UserRole.Id = "00E30000000iDhl",ischanged( OwnerId ),not(ispickval( Closest_Office_Location__c ,"")),isnull( Web_Lead_Transfer_Success_Date__c ))

Thanks in advance for any advise,

JD

michaelforcemichaelforce
It may not work for a validation rule... but perhaps it would work if you used this same formula as the trigger for a workflow rule.  You could then have the rule update a field or whatever you are attempting to do.