Activity Forums Salesforce® Discussions Why allOrNone parameter is used in Salesforce?

  • Why allOrNone parameter is used in Salesforce?

    Posted by Pooja on January 22, 2020 at 2:13 pm

    Why allOrNone parameter is used in Salesforce?

    • This discussion was modified 5 years ago by  Pooja.
    Aditya replied 5 years ago 3 Members · 2 Replies
  • 2 Replies
  • Udit

    Member
    January 22, 2020 at 3:18 pm

    allOrNone specifies the operation allows partial success in database methods. We have to pass Boolean value to it.

    If it is true then an exception is thrown if method is not successful and if set to false, remainder of failed DML can still succeed.

  • Aditya

    Member
    January 22, 2020 at 3:41 pm

    allOrNone parameter is used to permit whenever a Database Method is partial success  and it include a Boolean Values.

    if return true, an exception is thrown which means method is failed.

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