# system.util.getSystemFlags()

**URL:** <https://forum.inductiveautomation.com/t/system-util-getsystemflags/48903>\
**Category:** Ignition\
**Created:** [July 15, 2021, 11:26pm UTC](https://forum.inductiveautomation.com/t/system-util-getsystemflags/48903 "2021-07-15T23:26:29Z")\
**Posts on this page:** 1\
**Showing post:** 13

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [September 26, 2025, 3:50pm UTC](https://forum.inductiveautomation.com/t/system-util-getsystemflags/48903/13 "2025-09-26T15:50:17Z")

</div>

Well, you _can_, but it's technically unsupported because it relies on an import from our core Java code.

> [@Can I tell what scope a script is running from?](https://forum.inductiveautomation.com/t/can-i-tell-what-scope-a-script-is-running-from/70880/9):
>
> This post came up in a lot in my searches and had to make adjustments to it to differentiate between whether a script was being run on the Gateway vs a Perspective Session Scope, IE whether Perspective session properties exist. Here is a quick change to the above method that solved it for me. from com.inductiveautomation.ignition.common.model import ApplicationScope class Scope(object): @staticmethod def get(): scope = ApplicationScope.getGlobalScope() if ApplicationScope.isClient(scope…

---

_[View the full topic](https://forum.inductiveautomation.com/t/system-util-getsystemflags/48903)._
