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

  • 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