I am not sure if I understand correctly. If its only a screen action it is not triggered if the user just stays on that screen for hours and the token expires and then tries to perform new interactions on the same screen. The way I implemented it now is that I have a countdown that logs out the user when its counted down. This countdown gets its counter from a hidden input field. On each screen I have an action that sets the value of the hidden input field to a starting value to reset the counter. This way the user is also logged out when she doesnt navigate on different screens.
And yes, I prolong the xano auth token so that there is always a log out due to inacrivity before the token expires.