Need afterDeleteDocument event?
Brought to you by:
ebrehault
How should this case be handled?
DocumentA has a ComputedOnSave field that depends on an item on DocumentB.
Now DocumentB is being deleted, so DocumentA needs to be saved so that its field is updated.
How do we make sure it's saved at the right time?
The onDelete event of DocumentB fires too early (before deletion). Same for actions on DocumentB (executed before deletion).