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 6 years ago by  Pooja.
    Aditya replied 6 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

Popular Salesforce Videos

Free 5 Day Salesforce Challenge!

Video in

To access the signup form head over to www.talentstacker.com/Salesforce TalentStacker Podcast Salesforce Episode: https://talentstacker.libsyn.com/how-to-earn-60k-100k-a-year-within-6-months-without-a-college-degree-say-what-salesforce-career-development-path-with-bradley-rice Do you already have a job as a Salesforce Professional and…