Skip validation rule in Salesforce
- Create checkbox field on object.
- Add NOT( ISCHANGED(Skip_Validation__c) in validation rule, which you want to skip when you are updating record from any VF page or Web service.
- In your code just flip the value of Skip_Validation__c field. Refer below code.
Good posts Ankur
ReplyDeleteThanks
ReplyDelete