# \#before\_action

**URL:** https://forum.elixirforum.com/tag/before-action/4768.md

[Latest](https://forum.elixirforum.com/latest.md) · [Categories](https://forum.elixirforum.com/categories.md) · [Tags](https://forum.elixirforum.com/tags.md)

---

## [Ash is not running \`before\_action\` hook callback function when updates are atomic](https://forum.elixirforum.com/t/ash-is-not-running-before-action-hook-callback-function-when-updates-are-atomic/73168)

<div class="topic-metadata">

**Author:** [@kamaroly](https://forum.elixirforum.com/u/kamaroly)\
**Replies:** 4\
**Last updated:** [November 3, 2025, 12:58pm UTC](https://forum.elixirforum.com/t/ash-is-not-running-before-action-hook-callback-function-when-updates-are-atomic/73168 "2025-11-03T12:58:42Z")

</div>

Ash is not triggering before\_action hook’s callback function if the update action is atomic, but when I set require\_atomic? false in the action, Ash calls thecallback function (request\_approval/3) as expected. The crea…
