Activity › Forums › Salesforce® Discussions › Why allOrNone parameter is used in Salesforce? Salesforce® Discussions 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, 4 months ago by Pooja. Aditya replied 6 years, 4 months 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. [adinserter block='9'] 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. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me