# Orgainzed event actions on button in perspective

**URL:** <https://forum.inductiveautomation.com/t/orgainzed-event-actions-on-button-in-perspective/70910>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 10, 2023, 2:55pm UTC](https://forum.inductiveautomation.com/t/orgainzed-event-actions-on-button-in-perspective/70910 "2023-03-10T14:55:53Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![justinedwards.jle](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/justinedwards.jle/32/37854_2.png) [@justinedwards.jle](https://forum.inductiveautomation.com/u/justinedwards.jle)\
**Post date:** [March 10, 2023, 3:28pm UTC](https://forum.inductiveautomation.com/t/orgainzed-event-actions-on-button-in-perspective/70910/2 "2023-03-10T15:28:51Z")

</div>

This has come up several times. The various scripts run asynchronously, so there's no guarantee they will finish in a specified order.

> [@Changing tag values on click action](https://forum.inductiveautomation.com/t/changing-tag-values-on-click-action/63908/3):
>
> 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/orgainzed-event-actions-on-button-in-perspective/70910)._
