# How to trigger an action when a new record is created?

**URL:** <https://forum.inductiveautomation.com/t/how-to-trigger-an-action-when-a-new-record-is-created/113971>\
**Category:** Module Development\
**Created:** [February 13, 2026, 9:03pm UTC](https://forum.inductiveautomation.com/t/how-to-trigger-an-action-when-a-new-record-is-created/113971 "2026-02-13T21:03:48Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![william.victorio](https://avatars.discourse-cdn.com/v4/letter/w/f9ae1b/32.png) [@william.victorio](https://forum.inductiveautomation.com/u/william.victorio)\
**Post date:** [February 13, 2026, 9:03pm UTC](https://forum.inductiveautomation.com/t/how-to-trigger-an-action-when-a-new-record-is-created/113971/1 "2026-02-13T21:03:48Z")

</div>

I have a page in Ignition Gateway with the default Create, edit and delete buttons. I want to trigger an method when the Create button is clicked (when the new record is created in database). So, I basically need a “ **RecordListener”,** something like that.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 13, 2026, 9:07pm UTC](https://forum.inductiveautomation.com/t/how-to-trigger-an-action-when-a-new-record-is-created/113971/2 "2026-02-13T21:07:51Z")

</div>

What version of Ignition are you targeting?

---

<div class="post-metadata">

**Author:** ![william.victorio](https://avatars.discourse-cdn.com/v4/letter/w/f9ae1b/32.png) [@william.victorio](https://forum.inductiveautomation.com/u/william.victorio)\
**Post date:** [February 13, 2026, 9:08pm UTC](https://forum.inductiveautomation.com/t/how-to-trigger-an-action-when-a-new-record-is-created/113971/3 "2026-02-13T21:08:16Z")

</div>

8.1.48

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [February 13, 2026, 9:13pm UTC](https://forum.inductiveautomation.com/t/how-to-trigger-an-action-when-a-new-record-is-created/113971/4 "2026-02-13T21:13:18Z")

</div>

From your record meta you can add a listener:

> **[addRecordListener - RecordMeta](https://files.inductiveautomation.com/sdk/javadoc/ignition81/8.1.52/com/inductiveautomation/ignition/gateway/localdb/persistence/RecordMeta.html#addRecordListener(com.inductiveautomation.ignition.gateway.localdb.persistence.IRecordListener))**
>
> declaration: package: com.inductiveautomation.ignition.gateway.localdb.persistence, class: RecordMeta
