Home Glossary Zoho Creator On Delete Trigger
Zoho Creator

On Delete Trigger

An On Delete Trigger in Zoho Creator is a workflow event that fires when a record is deleted, allowing cleanup actions and audit logging to run automatically.

What Is an On Delete Trigger in Zoho Creator?

An On Delete Trigger is a workflow event that activates after a record is removed from a Creator form’s data store. The associated Deluge script runs with access to the deleted record’s field values before they are permanently gone, enabling the logic to log the deletion, remove related records, or notify stakeholders about what was deleted and by whom.

Handling Cascaded Deletes

When a parent record is deleted, Creator can be configured to cascade the deletion to related child records. An On Delete Trigger on the parent form runs before cascading, giving developers an opportunity to perform any pre-cleanup logic. Developers can also use the trigger to block deletion by throwing an error through Deluge when conditions are not met, such as when a record still has open related tasks.

Audit and Compliance Uses

Regulated industries often require a deletion audit trail. The On Delete Trigger is the standard mechanism for this in Creator: when a record is deleted, the trigger writes the record’s key fields, the deletion timestamp, and the acting user’s details to a separate audit log form. This preserves the deletion history without retaining the live record itself.

Need help implementing this in Zoho?

Aaxonix is a certified Zoho implementation partner based in Pune. Architecture-first, no surprises.