Announcement

Collapse
No announcement yet.

cascade delete for hasChildren relationship

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • cascade delete for hasChildren relationship

    I created two entities A and B and added a hasChildren relation. Now when I delete the A entity, the children are still there and have broken parent links. Shouldn't there be some kind of cascading delete as soon as I delete the parent? I thought this was the difference between hasMany and hasChildren relations. Have I misunderstood the sense of parent-child-relations?

    The same thing happens using the predfined Case and Meeting entities. As soon as I delete a case that has related meetings, the meetings still exist and have dead links to the non existing case.

  • #2
    Hello
    For this you can create hooks
    https://www.espocrm.com/documentatio...lopment/hooks/

    Comment

    Working...
    X