Activity Forums Salesforce® Discussions Is there a way to make the insert not fail if one record fails?

Tagged: ,

  • Ajit

    Member
    May 24, 2016 at 9:42 am

    Hi Ravi

    Yes it is possible, If you use dataBase.insert(list,false) rather then using simple insert.

    One thing also to be noted that if you make the Boolean value to "true" then this insert will also work as the simple insert works.

Log In to reply.

Popular Salesforce Blogs

Steps to Connect Pardot to Salesforce

Steps to Connect Pardot to Salesforce

Blog in

Steps to Integrate Salesforce and Pardot: There are some steps to install Pardot in salesforce 1- Click on this link https://login.salesforce.com/?ec=302&startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t1W000000U7P8(production) https://test.salesforce.com/?ec=302&startURL=%2Fpackaging%2FinstallPackage.apexp%3Fp0%3D04t1W000000U7P8 (sandbox) 2- After…

Popular Salesforce Videos