# Subscribe a IRecordListener in a module

**URL:** <https://forum.inductiveautomation.com/t/subscribe-a-irecordlistener-in-a-module/106300>\
**Category:** Ignition\
**Tags:** ignition81, scripting\
**Created:** [May 15, 2025, 1:57pm UTC](https://forum.inductiveautomation.com/t/subscribe-a-irecordlistener-in-a-module/106300 "2025-05-15T13:57:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![samuel.gupta](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@samuel.gupta](https://forum.inductiveautomation.com/u/samuel.gupta)\
**Post date:** [May 15, 2025, 1:57pm UTC](https://forum.inductiveautomation.com/t/subscribe-a-irecordlistener-in-a-module/106300/1 "2025-05-15T13:57:52Z")

</div>

Hello!

I am looking for a way to notify a script about a creation/edit/deletion of a record in my module. I found the IRecordLister that offers that functionnality. I just cant seem to figure out where to subscribe said listener to.

In AbstractRecordEditPanel, I found this segment :

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/a/dac14d8550f9247ccbc88daf732daa47c9d3b3c9.png)

But context.getPersistenceInterface() only offers a way to notify, not to subscribe to the notification list.

Thank you!

---

<div class="post-metadata">

**Author:** ![samuel.gupta](https://avatars.discourse-cdn.com/v4/letter/s/e99b99/32.png) [@samuel.gupta](https://forum.inductiveautomation.com/u/samuel.gupta)\
**Post date:** [May 15, 2025, 2:13pm UTC](https://forum.inductiveautomation.com/t/subscribe-a-irecordlistener-in-a-module/106300/2 "2025-05-15T14:13:35Z")

</div>

Tyler's question [here](https://forum.inductiveautomation.com/t/user-creation-edit-listener/83805) had my answer. We have to suscribe to the record's META.
