Validation Rules in Salesforce | How to create it to restrict users from entering incorrect data
Вставка
- Опубліковано 26 лип 2024
- In this video, Shrey has explained validation rules in-depth and that too under 15 minutes.
He divided this video into 3 parts:
1. What validation rules are and where they are required?
2. How to create a validation rule? (I have taken 2 examples in here, first one is a little simple and the other one is a little complex)
3. What points do you need to consider with validation rules?
Hope you enjoy and learn from the video.
------
Grow your business with THE BEST SALESFORCE IMPLEMENTATION and CONSULTANCY SERVICES
Reach us out here: cyntexa.com
------
Get the BEST SALESFORCE COURSES & TRAINING here s2-labs.com/
----
STALK ME ON:
Instagram: / imshreysharma
Facebook: / salesforcehulk
Twitter: / iamshreysharma
LinkedIn: / imshreysharma
----
Shrey is the Chief Executive Officer at Cyntexa which is considered as one of the top Salesforce Consulting Partner in USA, UK, UAE, Australia, Singapore & India having a vibrant team of 100+ certified Salesforce experts which include developers, architects, consultants, administrators, and MVPs.
Shrey took Cyntexa from 5 to 100+ people in less than 1.5 years while multiplying the revenues by 8 times. Shrey is an entrepreneur since the age of 13 as he was buying and selling stuff and making money in the school itself. Shrey is the Youngest Salesforce MVP in the world who firmly believes in providing value to the people and building long term value-based relationships. His mission is to disrupt the way professional technical services are delivered by bringing back the empathy for the end-user rather than being operational and transactional.
Shrey is popularly known as Salesforce Hulk in the Salesforce ecosystem as he was the first one to start creating videos on Salesforce on his UA-cam channel named as Salesforce Hulk and that too at the age of 19. Shrey is also the founder of S2 Labs which is a Salesforce Training Company, being the 1st one to start Salesforce training in Rajasthan, India, and currently selling his courses worldwide. Shrey is also a marvelous speaker who actively presents on topics that revolve around Salesforce and Entrepreneurship in various worldwide conferences. Shrey has also been a Judge in multiple technical and business hackathons organized by the Government of India like Smart India Hackathon.
Shrey is a leader with out of the box thinking who emphasizes not only on hitting the sales targets but also on providing an amazing experience to the customers as well as employees. Shrey believes in building a team with strong values, ethics, and behavior which leads to the amazing culture at Cyntexa.
#salesforce
#learnsalesforce
#salesforcehulk
This type of energetic session will bring us more interest to learn.. Thanks a lot..!!!
Glad to hear that
You're the best man, thanks for making those videos!
Love your Energy! thanks for all your videos!
Thanks a lot Man for this amazing video, you make it crystal clear. Before this video I had lot of doubts
Loved the way you taught!
Great show and very helpful info! Thanks
I am new in Salesforce this video is so much helpful for me thanks a lot
Energetic person and your class is very good to listen.
Good Job bro......u have really good knowledge about salesforce and u explain it in very simplify manor....thanks
Great video on validation rules. Thanks
Very nice style of teaching Salesforce.. Keep it up bro
Awesome video bro great work,, it will help me a lot thanks 👍🏻
Very nice explanation...Thank you so much
best video for validation rules
Awesome Explanation Bro
Thanks a lot shrey sir...
Thanks for making such useful videos keep making more useful videos on Salesforce.
Aweeeee😍 clear explanation 😇
Sir your way of teaching is awesome and also hats of for your intelligence, hats off for the deep knowledge you have in salesforce..
Thanks and welcome
Good video. Thank you!
please continue your videos..waiting to watch
Amazing amazing energy!
Huge fan :)
This is the very helpful session for me . Your way of explaining the validation rule is awesome. Thank you.
You're very welcome!
this video is very useful to me.
thanks
I like you style of explaining things
🙏 what a style Boss
Thanks in advance bro!
good Explanation....Shrey...
Thanks, Khumed!
Good explanation
Awesome bro. Thank you for the videos. Please make videos on Lighting.
Coming up, pretty soon.
Impressed :)
All your videos are very very helpful. Thanku so much sir 😃😃
Thanks
superbbb shreyy your content is awesome....
Thank you so much 😀
You are the awesome shreya.... Thank you
My pleasure 😊
Thanku so much ..the way ur explaining really helpful 👍
Thanks!
when we insert a field in validation rule there shows six fields with $ symbol what it represents?
You are too good, well done.
Thanks 🙏🏻
Great info
Thanks much!😀
Keen explanation thank you
Glad you liked it Karadi :)
Hi Mr Sharma,
nice tutorial you showed, I have an concern, I need to use validation rules in Visual Flows. Could you please provide some tutorial for this.
Thanks in advance
Superb Explanation bro I Like It Soo Much ,,,, You Boost up My Confidence Level And I Get More Confidence..... Thank You So Much Bro
All the best
As you said, while importing the data, we can deactivate the validation rule. So what happens if it is active? Will only the records which have error, not be imported? Or all the records after an error from one record, will not get imported?
Hello Shrey, very interesting video. Quick question regarding a complex validation rule. What if i want to give a "if condition" based on one of the picklist in a field? is it possible? for eg; if my product group (which is a multipicklist)= standard product, then another field (lets say amount), should be "required"
Is it possible this way?
Thanks,
John
It was very helpful ❤
Thanks
Thanks a lot....
Hi! I have a very basic beginner's question on validation rules. How come salesforce allows users to enter just any value in phone number field? text, numberic, special anything. Shouldn't there be a validation rule for the same? I was trying to create a custom field for a custom object and i tried setting the field type as phone number. realized it allowed anything. please clarify. Thanks!
Hello Shrey and everyone, i am facing a issue on validation rule aa i am applying a validation rule on phone filed as
OR(
ISBLANK( Mobile__c ) ,
LEN( Mobile__c ) 10,
!ISNUMBER( Mobile__c )
)
but i am putting 10 digits in a filed as 9722222222 then it's throwing an error if starting digit is one then it gets save. why? can anyone help me out?
This also works.
IF( ISPICKVAL( Ownership, 'Public') && ISNULL( AnnualRevenue ) , true, false)
And to be honest, this seems simple than what was created in the video. Is there a specific reason you used that method? And thank you so much for your content. You are a life saver.
yes it will be work because you are using And operator in ths conditions if both argument will true we get true
U r the best
The best video to understand what is validation rule is......
Nice info
Awesome explanation
Thanks
I tried doing this
but I was not able to
create a validation rule that prevents changes to records once the "clean value" field of account changes to "PII"
The validation rule failed to enforce the business logic
Error: Field MailingPostalCode does not exist. Check spelling.
and my logic is
AND(
NOT( ISBLANK( AccountId ) ),
MailingPostalCode Account.ShippingPostalCode
)
pls help me..
Can we create a validation rule on the layout? Like I have created an object with the name Engineer and have created 2 layouts in that with names Senior and Junior. I want to create a validation rule for the salary field on Senior Layout.
So my requirement is claim should be zero case is closed then provide acess to examinar to reopen the case
Can you please help me
Hi , Can i learn how to enable the States and country /Territory picklist ? and also how it works after we enable it?
awesome
buddy
Thanks ✌️
understood
I had created two validations rules and I have to merge both of them how to do…? What are the steps…?
Nice bro
Thanks!
Very clear explanation !
Hai friend anyone preparing for admin certification here ?
Thanks1
Sir can you please explain implementing vlookup validation rule for zip code and multiple ways if any ?
Thanks for the informative video. Can validation rule be applied on Lookups?
Yes!
Nice work Mr. Hulk
i am facing problem in in this question from help guide downloaded from salesforce website.
Q=Validates that the Account Number is numeric if not blank.?
Ans=AND(ISBLANK(AccountNumber) , NOT(ISNUMBER(AccountNumber)))
[ I try this ans but its showing error on blank field, not on the alpha-numeric, or alphabets., Could you please lookout into this matter ?, bcz i got ans in the guide- so How can it be wrong ]
Hi Brother, How to create validation for uploading images?
Sir you didnot make an video on process builder.. It will be very helpful for us
Hi! I created a new custom field of phone number and need it to be a valid 10digit phone number. I set the field data type as phone and realized it allows you to enter just any value. Even in accounts object the phone number can be anything. Why is it so? And what if we want to set a simple validation rule for this?
Hi Chandni Use Formula Len (Phone) > 10
you are great!:) I also love your energy!!!
Thanks! :)
Hii pauls
Where have I heard that drum beat before?
Hi all, Can anyone tell me? Is there any tool or process to check unused Validation rules to remove them?
lotus notes is must for salesforce study
how to add map location with the image in record
are validation rules on object made and tested in sandbox or live environment ?
For both it will work
please upload Assignment Rules Vedio to understand about it
Hey Ankit, its ON now. Have a look and let me know whether you got it or not.
How to remove app launcher for other than admin
Hi team, im not getting ownership record while creating new record
Super
Bro please upload some video from development part like MVC, Visual force pages and Apex programming.. I will be very grateful, Thank you
Doing it soon.
Nice.
Thanks!
Can someone please tell me if I create a validation rule does it apply to the already existing records?
@Vishal Choudhary Thanks a lot!
The Account validation rule throw s error msg when I try to save with other ownership and null annualrevenue
*Now Understand*
i swear to Gita , validation rules and data loader are the toughest things in salesforce. integeration and scheduling a batch class are easier than Complex validation rule.
haha.. really?? but people find it much easier as compared to Integration. 😄
Challenge not yet complete in My Trailhead Playground 1
We can't create a contact by itself (without an associated account). Make sure the validation rule applies ONLY when the contact has an associated account.
I'm getting this error in the last challenge of formula and validation module in... Can someone help me out?
👍👍👍👍👍👍👍👍
How to create a validation rule to ensure that the account Billing Country is always India?
Can anyone help
Ensure that billing country is not equal to INDIA.
If user enters country other than India then then it will throw an error.
Your videos would be SO much better if you slow down a little when you talk🙂
Tried a lot but not able to slow down. 😅 Try setting the play speed as 0.8x
Hey buddy your true false expression is i think not correct
Yeah it's not correct,its not working as shown in the video
Vary bad
this helped me get through my superbadge. awesome! :)