Activity Forums Salesforce® Discussions How do I bypass validation rule in Apex?

  • Marziya

    Member
    September 28, 2020 at 2:36 pm

    Be sure to update your Apex populating the Positions Last Interview Date and add a line to set Bypass Apex to true. Update your Validation Rule on the Positions object to include Bypass_Apex__c = false. This will prevent the Validation Rule from firing when your Apex is updating the Last Interview Date.

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos