Cascade delete limits?

Is there a limit to the number of records that can be deleted in cascading delete?

We are receiving an error “Deletion Unsuccessful You cannot delete this object” when trying to delete records involved in master detail and lookup cascade delete relationships.

It is my understanding their are limits on delete() functions in Apex, but is there delete limits in the declarative delete functionality?


Thank you for visiting the Q&A section on Magenaut. Please note that all the answers may not help you solve the issue immediately. So please treat them as advisements. If you found the post helpful (or not), leave a comment & I’ll get back to you as soon as possible.

Method 1

From Considerations for Relationships in the Salesforce Help:

In a many-to-many relationship, a user can’t delete a parent record if
there are more than 200 junction object records associated with it and
if the junction object has a roll-up summary field that rolls up to
the other parent. To delete this object, manually delete junction
object records until the count is fewer than 200.

It may be that the records you’re deleting are falling under this limitation.

All methods was sourced from or, is licensed under cc by-sa 2.5, cc by-sa 3.0 and cc by-sa 4.0

0 0 votes
Article Rating
Notify of

Inline Feedbacks
View all comments
Would love your thoughts, please comment.x