---
sourceDocument: Australia API Reference
sourceDocumentLink: https://servicenow-prod.fluidtopics.net/r/de-DE/api-reference

 Release :

    - australia

ft:locale :

    - de-DE

ft:publication_title :

    - Australia API Reference

ft:clusterId :

    - crapiref

bundleId :

    - crapiref

workflow :

    - Creator


---

# Abort database actions

# Abort a database action {#ariaid-title1}

* Freigeben Version: Australia
* 
* Aktualisiert 12. März 2026
* 
* ![](https://www.servicenow.com/docs/portal-asset/ico-clock) 1 Minute Lesedauer

You can use a before business rule script to cancel or abort the current database action using the current.setAbortAction(true) method.

If the before business rule is executed during an insert action, and a condition in the script calls current.setAbortAction(true), the new record stored in current is not created in the
database.
**Zugehörige Verweise**   

* [GlideRecord - setAbortAction(Boolean b)](https://servicenow-prod.fluidtopics.net/jG6oUitbUI~_pnpt7xwvTw#r_GlideRecord-setAbortAction_Boolean "Sets a flag to indicate if the next database action (insert, update, delete) is to be aborted.")
* [Scoped GlideRecord - setAbortAction(Boolean b)](https://servicenow-prod.fluidtopics.net/8HHfVDx4E4oXxHqKIqpUJQ#r_ScopedGlideRecordSetAbortAction_Boolean "Sets a flag to indicate if the next database action (insert, update, delete) is to be aborted. This is often used in business rules.")

