After navigating back to a browser tab that was in the background, variables set to refresh on an interval using a!refreshVariable() have not refreshed for longer than the configured refresh interval. For example, a variable configured to refresh every 30 seconds may be many minutes behind:
a!refreshVariable()
The issue is observed in all browsers and affects interfaces in both Tempo and Sites. If left on the foreground, the variable will refresh within the configured interval.
To improve browser performance and reduce resource consumption of inactive tabs, it is expected that refresh variables do not refresh while in the background. However, the intended behavior is for refresh variables to be refreshed immediately when the browser tab is reopened as the active tab.
Refreshes failing to occur immediately upon reopening has been reported to the Appian Product Team as AN-140382.
There are a few possible mitigations to this issue:
This article applies to Appian 19.2 and later.
Last Reviewed: September 2019