# Changing tag values on click action

**URL:** <https://forum.inductiveautomation.com/t/changing-tag-values-on-click-action/63908>\
**Category:** Ignition\
**Tags:** scripting, ignition81, perspective\
**Created:** [September 8, 2022, 11:50pm UTC](https://forum.inductiveautomation.com/t/changing-tag-values-on-click-action/63908 "2022-09-08T23:50:49Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![nminchin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nminchin/32/6911_2.png) [@nminchin](https://forum.inductiveautomation.com/u/nminchin)\
**Post date:** [September 9, 2022, 4:36am UTC](https://forum.inductiveautomation.com/t/changing-tag-values-on-click-action/63908/3 "2022-09-09T04:36:59Z")

</div>

Your navigation action is navigating away from the page and cancelling your script. Actions are started in order but are executed asynchronously; they do not wait for the previous to finish before running. Script actions have to be sent to the gateway and are thus the slowest to run, and I believe they're terminated if the owner is closed. I actually started a topic about this exact situation

> [@Component action numbered order is deceptive for inexperienced users](https://forum.inductiveautomation.com/t/component-action-numbered-order-is-deceptive-for-inexperienced-users/63906):
>
> I recently had a question from a colleague who is fairly new to Ignition about why his component actions weren’t working properly. Turns out he had two actions defined that were supposed to happen in succession; however, the order that these events happen is actually indeterminate while the actions are executed in order, they are run asynchronously and can therefore finish out of order, but the interface itself makes it seem as though they will run sequentially. [image]

---

_[View the full topic](https://forum.inductiveautomation.com/t/changing-tag-values-on-click-action/63908)._
