# How to fetch Gateway Tag Change Script status programmatically

**URL:** <https://forum.inductiveautomation.com/t/how-to-fetch-gateway-tag-change-script-status-programmatically/65056>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [October 11, 2022, 8:48am UTC](https://forum.inductiveautomation.com/t/how-to-fetch-gateway-tag-change-script-status-programmatically/65056 "2022-10-11T08:48:14Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [October 13, 2022, 5:46am UTC](https://forum.inductiveautomation.com/t/how-to-fetch-gateway-tag-change-script-status-programmatically/65056/6 "2022-10-13T05:46:00Z")

</div>

The script console is designer scope; IgnitionGateway can only be imported from the gateway scope.

> [@How to get "GatewayContext" in Gateway Event (timer) script](https://forum.inductiveautomation.com/t/how-to-get-gatewaycontext-in-gateway-event-timer-script/24668/16):
>
> No, it’s just only accessible in Gateway scope, and you’re in Designer scope in the script console.

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-fetch-gateway-tag-change-script-status-programmatically/65056)._
