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
VRKVRK 

can some one pls explain what is this meaning of validation ?

AND(

/*Profile exceptions - API's and Ops*/
$Profile.Id <>"00e300000******", /* AppStore User */
$Profile.Id <>"00e300000*******", /* Webstore User */
$Profile.Id <>"00e300000*******",
$Profile.Id <>"00e300000********", /* System Administrator (Ops) */
/*Case Record Type - Customer Source Request*/
$RecordType.Id = '01230000********',
ISNEW(), 

/*Case Criteria - Technical Advice*/
ISPICKVAL(Reason,"Technical Advice"),
NOT(ISPICKVAL(Related_Product__c,"Commerce Cloud")),
NOT(ISPICKVAL(Account.Premier_AOV_Band__c,"$1M-5M")),
NOT(ISPICKVAL(Account.Premier_AOV_Band__c,"$25M+"))
)
Kevin McAuliffe 14Kevin McAuliffe 14
It will fire when creating new "Customer Source Request" cases, where current user is not AppStore User, Webstore User,System Administrator (Ops),  and the reason is Technical Advice, and the Related product is not Commerce Cloud, and the related Account's Premier_AOV_Band__c picklist field is neither $1M-5M or $25M+.

So basically it's trying to prevent certain types of tickets from being created by users in certain profiles.  What the business reason for this is anyone's guess.
Deepali KulshresthaDeepali Kulshrestha
Hi sekhar123,
Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record.
A validation rule can contain a formula or expression that evaluates the data in one or more fields and returns a value of “True” or “False”.
Validation rules also include an error message to display to the user when the rule returns a value of “True” due to an invalid value.

Before creating validation rules, review the Validation Rule Considerations.

1.From the management settings for the relevant object, go to Validation Rules.
2.In the Validation Rules related list, click New.
3.Enter the properties of your validation rule.
4.To check your formula for errors, click Check Syntax.

I hope you find the above solution helpful. If it does, please mark as Best Answer to help others too.

Thanks and Regards,
Deepali Kulshrestha