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

Popular Salesforce Videos