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

  • How do I bypass validation rule in Apex?

  • Anuj

    Member
    September 28, 2020 at 1:52 pm

    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.

Viewing 1 - 2 of 2 posts

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos