# Tracking GWN Outgoing Tasks

**URL:** <https://forum.inductiveautomation.com/t/tracking-gwn-outgoing-tasks/99014>\
**Category:** Ignition\
**Created:** [November 22, 2024, 7:36pm UTC](https://forum.inductiveautomation.com/t/tracking-gwn-outgoing-tasks/99014 "2024-11-22T19:36:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Marshall\_Tickner](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@Marshall\_Tickner](https://forum.inductiveautomation.com/u/Marshall_Tickner)\
**Post date:** [November 22, 2024, 7:36pm UTC](https://forum.inductiveautomation.com/t/tracking-gwn-outgoing-tasks/99014/1 "2024-11-22T19:36:09Z")

</div>

Is there a way to track outgoing tasks on a gateway network connection? I have a script that is writing to tags on a remote gateway and is occasionally failing. I want to pinpoint the times that is happening and verify that this is due to things like a bad gateway network connection.

Any advice is appreciated!

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 22, 2024, 7:41pm UTC](https://forum.inductiveautomation.com/t/tracking-gwn-outgoing-tasks/99014/2 "2024-11-22T19:41:05Z")

</div>

> [@Marshall\_Tickner](#):
>
> I have a script that is writing to tags

Why don't you check the return value on the scripted tag write? That will tell you immediately if any writes failed.

---

<div class="post-metadata">

**Author:** ![Marshall\_Tickner](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@Marshall\_Tickner](https://forum.inductiveautomation.com/u/Marshall_Tickner)\
**Post date:** [November 22, 2024, 7:52pm UTC](https://forum.inductiveautomation.com/t/tracking-gwn-outgoing-tasks/99014/3 "2024-11-22T19:52:52Z")

</div>

So I am not sure where the script is executing. My client has configured a bunch of tag event scripts in the tags themselves and I am going off of a Scripting[system\_util\_tag] event in the logs that is giving me a timeout.

I guess I am trying to confirm that this is in fact being caused by the tag event scripts attempting a write while the connection is down leading to a Timeout.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [November 22, 2024, 7:58pm UTC](https://forum.inductiveautomation.com/t/tracking-gwn-outgoing-tasks/99014/4 "2024-11-22T19:58:32Z")

</div>

> [@Marshall\_Tickner](#):
>
> scripts in the tags themselves

Such scripts should never make blocking tag write calls anyways--that can freeze your entire tag scripting subsystem. Use the designer's tag report tool to find and audit all scripts attached to tags.

---

<div class="post-metadata">

**Author:** ![Marshall\_Tickner](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@Marshall\_Tickner](https://forum.inductiveautomation.com/u/Marshall_Tickner)\
**Post date:** [November 25, 2024, 2:36pm UTC](https://forum.inductiveautomation.com/t/tracking-gwn-outgoing-tasks/99014/5 "2024-11-25T14:36:51Z")

</div>

Could you point me to some resources that talk about that freezing of the tag subsystem? I will want to include that in my report to my client.

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [November 25, 2024, 2:49pm UTC](https://forum.inductiveautomation.com/t/tracking-gwn-outgoing-tasks/99014/6 "2024-11-25T14:49:20Z")

</div>

Here are a couple of Topics related to this:

> [@Tag Change Missed Events](https://forum.inductiveautomation.com/t/tag-change-missed-events/37764):
>
> What does the missed events parameter mean in a tag change script? Does it mean that one script failed to execute because it changed so fast? I have several tags that change at fast at most 10 per second. Does the missed event true mean it failed to a tag change script on a a change?

> [@Tag Value Change Scripts: Are They Run Asynchronously?](https://forum.inductiveautomation.com/t/tag-value-change-scripts-are-they-run-asynchronously/53749):
>
> If I have a value change script on a tag that calls a project script and the tag changes again before the last change finishes its execution, will it interrupt the first script call? Or does the tag change script get run in an asynchronous manner? Is this different between v7.9 and v8.1?
