# Custom Property In Property Change Event Not Firing

**URL:** <https://forum.inductiveautomation.com/t/custom-property-in-property-change-event-not-firing/33358>\
**Category:** Ignition\
**Created:** [March 24, 2020, 2:01pm UTC](https://forum.inductiveautomation.com/t/custom-property-in-property-change-event-not-firing/33358 "2020-03-24T14:01:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [March 24, 2020, 2:01pm UTC](https://forum.inductiveautomation.com/t/custom-property-in-property-change-event-not-firing/33358/1 "2020-03-24T14:01:24Z")

</div>

I have a custom property named daywork that is a dataset. In the property change event I narrow down the event based on the property name, but it doesn’t fire. Any ideas?

```auto
if event.propertyName == 'daywork':
  do something

```

**EDIT:** Removing the property name if statement causes the script to fire twice. I then tried using `print event.propertyName` to see what properties were changing, and it shows visible and text. (Visible property change is from my script)

---

<div class="post-metadata">

**Author:** ![dkhayes117](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dkhayes117/32/68344_2.png) [@dkhayes117](https://forum.inductiveautomation.com/u/dkhayes117)\
**Post date:** [March 24, 2020, 2:48pm UTC](https://forum.inductiveautomation.com/t/custom-property-in-property-change-event-not-firing/33358/2 "2020-03-24T14:48:50Z")

</div>

It turns out, that I have to have the designer in run mode while I make the change for it to fire. Should of known that 😅
