so i am trying to delete an object and it has references in many places. I have removed the delete constraint and used “cascade delete” in all of the references. but I still get this error
FYI I checked all the places and changed it to cascade delete so that I could delete the object
how can I solve this?
Hi,
you can check out this post:
Summarized i believe you have to many cascades trying to delete the same object from to different paths
3 Likes
Hi!
This is a scenario simiar to the following: Company.Main Contact
referencing Contact
and
Contact.Company
referencing Company
where both properties have Cascade Delete as the delete rule.
Deleting any of these objects will cause a circular reference (which you have encountered). To solve this, you would have to set the Delete Constaint to None for one of these object classes.
3 Likes