Are there any global built in variables I can piggy back on to check if an action is currently running

Hi

Is there any way to find out if a action is running?
If so please let me know how.
I would then like to bind that variable to the loader property of my container.

Currently I have a global variable that I in the action have to update. With all that happen in an action I need to resolve the variable for instance if there is an error I catch and the action ends. This to ensure that the user does not end up with looking at a loader forever while the computer does nothing.
The only universal thing I need to know in my case is if an action is running. A bit like pause render in an action, but on a global level.
A global live variable called ‘Is paused UI render’ would also work

Hi!

We don’t currently have any built-in variables for checking the run status of an action, but I definitely see the use case and will register a feature request internally.

Your current approach is the best solution as of now and should work well if you update the global variable every time you catch an exception.

1 Like