본문 바로가기
Salesforce/Trailhead Review

Validation Rule

by 들숨날숨흡 2024. 8. 19.
728x90

What are the Validation Rules in Salesforce?

Validation rules consist of standards to guarantee that the data entered into Salesforce meets specific criteria before it gets saved. There are two main purposes of Validation rules in Salesforce a) to prevent users from entering inaccurate or insufficient information. b) to maintain data consistency across various fields and objects. 

  • System Validation Rules: Salesforce has pre-built rules like "preventing future dates for historical records" that maintain fundamental data consistency.
  • Custom Validation Rules: These are created by administrators to address your organization's unique needs. Formulas and expressions can be defined to validate data in different fields.

How to Create Validation Rules?

  1. Click on the Object Manager to find the object in which you want to create the validation rules.
  2. In the detail page of that object, there is a left sidebar to find the  Validation tab.
  3. Click on the "Validatino Rule".
  4. Click on the "New" button.
  5. Specify the conditions that tha validation rule must meet.
  6. Give the error message that will appear when the requirements are not satisfied.
  7. Click on the "Save" button.

 

https://developer.salesforce.com/docs/atlas.en-us.usefulValidationRules.meta/usefulValidationRules/fields_useful_field_validation_formulas.htm

 

Examples of Validation Rules | Salesforce Developers

Review examples of validation rules for various types of apps that you can use and modify for your own purposes. Validation rules verify that the data a user enters in a record meets the standards you specify before the user can save the record. Available

developer.salesforce.com

 

https://salesforcegeek.in/20-important-validation-rules-in-salesforce/

 

20 Important Validation Rules in Salesforce - Salesforce Geek

The main purpose of Validation Rules in Salesforce is to prevent users from entering inaccurate information across fields and objects.

salesforcegeek.in

 

728x90

'Salesforce > Trailhead Review' 카테고리의 다른 글

Lightning 앱 만들기 및 사용자 정의  (0) 2024.06.11
Salesforce Einstein Discovery 알기  (1) 2024.04.08