# Webdev scripts client or global?

**URL:** <https://forum.inductiveautomation.com/t/webdev-scripts-client-or-global/14356>\
**Category:** Ignition\
**Created:** [May 19, 2017, 4:59pm UTC](https://forum.inductiveautomation.com/t/webdev-scripts-client-or-global/14356 "2017-05-19T16:59:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![adolfo.rafael.martin](https://avatars.discourse-cdn.com/v4/letter/a/ac8455/32.png) [@adolfo.rafael.martin](https://forum.inductiveautomation.com/u/adolfo.rafael.martin)\
**Post date:** [May 19, 2017, 4:59pm UTC](https://forum.inductiveautomation.com/t/webdev-scripts-client-or-global/14356/1 "2017-05-19T16:59:38Z")

</div>

Hi;

I’m using

system.alarm.acknowledge

in a webdev script. but, it has a client and a global version which effect the number of parameters given.

Am I right in thinking that I should be using the client version where it specifically includes a user name e.g.

system.alarm.acknowledge(alarmIds, [notes], username)

?

---

<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:** [May 19, 2017, 5:27pm UTC](https://forum.inductiveautomation.com/t/webdev-scripts-client-or-global/14356/2 "2017-05-19T17:27:36Z")

</div>

Webdev resources run from the global scope - while the resource itself is specific to a project, all execution happens on the gateway.
