# "runScript" in Ignition Edge

**URL:** <https://forum.inductiveautomation.com/t/runscript-in-ignition-edge/69031>\
**Category:** Ignition\
**Created:** [January 26, 2023, 9:26am UTC](https://forum.inductiveautomation.com/t/runscript-in-ignition-edge/69031 "2023-01-26T09:26:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ISEMAREN\_AAG](https://avatars.discourse-cdn.com/v4/letter/i/82dd89/32.png) [@ISEMAREN\_AAG](https://forum.inductiveautomation.com/u/ISEMAREN_AAG)\
**Post date:** [January 26, 2023, 9:26am UTC](https://forum.inductiveautomation.com/t/runscript-in-ignition-edge/69031/1 "2023-01-26T09:26:32Z")

</div>

Good morning  
I'm trying to run " **runScript**" function from an Ignition **Edge** tag, but I always get the same error:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/8/68b821ec2baa2f2123816f98693a1e14346320d0.png)

Although, I can run script from **console** :

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/1/3/1322195fed7f414ba6abfb77a872f924e020f8c3.png)

Do I need **Ignition Edge Compute** license for this?

Best Regards.

---

<div class="post-metadata">

**Author:** ![louagejasper](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/louagejasper/32/86311_2.png) [@louagejasper](https://forum.inductiveautomation.com/u/louagejasper)\
**Post date:** [January 26, 2023, 9:29am UTC](https://forum.inductiveautomation.com/t/runscript-in-ignition-edge/69031/2 "2023-01-26T09:29:20Z")

</div>

I think you do need the compute license for this, not 100% sure.

---

<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:** [January 26, 2023, 1:17pm UTC](https://forum.inductiveautomation.com/t/runscript-in-ignition-edge/69031/3 "2023-01-26T13:17:51Z")

</div>

> [@ISEMAREN\_AAG](#):
>
> Do I need **Ignition Edge Compute** license for this?

Yes. Expression tags run in gateway scope, and gateway scripting in Edge is only available with the Compute Plugin.
