# How to run a script continuously to update tags

**URL:** <https://forum.inductiveautomation.com/t/how-to-run-a-script-continuously-to-update-tags/92018>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 18, 2024, 1:57pm UTC](https://forum.inductiveautomation.com/t/how-to-run-a-script-continuously-to-update-tags/92018 "2024-06-18T13:57:55Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Bushmatic](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bushmatic/32/87014_2.png) [@Bushmatic](https://forum.inductiveautomation.com/u/Bushmatic)\
**Post date:** [June 18, 2024, 5:48pm UTC](https://forum.inductiveautomation.com/t/how-to-run-a-script-continuously-to-update-tags/92018/6 "2024-06-18T17:48:12Z")

</div>

You'll just have to add a little map transformation that acts like a NOT gate. This can still be done without scripting. For the flashing, you can make an animated style like in the below example. Simply enable this style when either of those alarms are active.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/2/e24824c8cf8a5d0b64d815a3626da7038b094a82.png)

It really, really sounds like you can get rid of any startup scripts that drive this behavior and replace them with a tag binding combined with a transformation.

> **[Map Transform Video at Inductive University](https://www.inductiveuniversity.com/videos/map-transform/8.1)**
>
> This lesson introduces the Map Transform. This simple transform takes the results of a component binding, and returns a different value, based on what the binding returned. Useful when mixing data types, such as retrieving a numerical value from a...

---

_[View the full topic](https://forum.inductiveautomation.com/t/how-to-run-a-script-continuously-to-update-tags/92018)._
