# There are Gateway Events

**URL:** <https://forum.inductiveautomation.com/t/there-are-gateway-events/86235>\
**Category:** Ignition\
**Created:** [February 23, 2024, 7:01am UTC](https://forum.inductiveautomation.com/t/there-are-gateway-events/86235 "2024-02-23T07:01:49Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![cj3687\_L](https://avatars.discourse-cdn.com/v4/letter/c/54ee81/32.png) [@cj3687\_L](https://forum.inductiveautomation.com/u/cj3687_L)\
**Post date:** [February 23, 2024, 7:01am UTC](https://forum.inductiveautomation.com/t/there-are-gateway-events/86235/1 "2024-02-23T07:01:49Z")

</div>

Will the Events in Gateway Events be rerun when the script is updated and saved for a running project?

 ![11](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/c/0cdacbcb1bc85a11b084ce2ef73536e16ecc4a28.png)  
 ![12](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/9/f906954c9a017afb39d7333f9cc7adebc921713a.png)

---

<div class="post-metadata">

**Author:** ![leonardo.godoi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/leonardo.godoi/32/27178_2.png) [@leonardo.godoi](https://forum.inductiveautomation.com/u/leonardo.godoi)\
**Post date:** [February 23, 2024, 11:36am UTC](https://forum.inductiveautomation.com/t/there-are-gateway-events/86235/2 "2024-02-23T11:36:12Z")

</div>

I believe so but you can avoid that by filtering the initialChange, just add this before the rest of the script, fixing the identation of course:

```auto
if not initialChange:

```

> **[Gateway Event Scripts | Ignition User Manual](https://www.docs.inductiveautomation.com/docs/8.1/platform/scripting/scripting-in-ignition/gateway-event-scripts#the-initialchange-value)**
>
> Gateway Event Scripts Overview
