---
url: https://trigger.beyondthecloud.dev/before-delete/add-ons.md
description: >-
  Add-ons for before delete handlers - former parent fields, related records,
  own unit of work, bypass, finalizer and error handling.
---

# Add-ons in BeforeDelete

Implement as many as you need next to your role interface.

## Available {#available}

* [PriorParentQuery](/before-delete/add-ons/prior-parent-query): load the parent the old row pointed to; read it with `getOldParent`.
* [RelatedQuery](/before-delete/add-ons/related-query): query children, siblings or other records once per handler per run; read them with `getRelated`.
* [OwnUnitOfWork](/before-delete/add-ons/own-unit-of-work): give the handler its own unit of work, committed right after it. Writer only.
* [Bypassable](/before-delete/add-ons/bypassable): skip this handler for the chunk when a condition holds.
* [Finalizer](/before-delete/add-ons/finalizer): run once per chunk with the qualified records.
* [ContinueOnError](/before-delete/add-ons/continue-on-error): log and swallow this handler’s exceptions.
