Appian Community and Appian Academy are being upgraded. From July 24–August 3, the Appian Community will be in read-only mode. During this time, the site will be read-only and user registration will be disabled. We apologize for any inconvenience this may cause, but a more secure, stable, and performant Community experience is coming soon!
The new Appian Community launches August 3, followed by Appian Academy on August 7. During the migration, Appian Community Edition, Appian Academy, Documentation, Certifications, Instructor-led Customer Training, Partner Sales Training & Accreditation, and Forum (for Appian Partners and Customers only) will remain available.
hi,
I'm looking for something to refresh variable every one secound,
I was try "a!refreshVariable()", but it dose not make refresh less than 30 secound
Discussion posts and replies are publicly visible
a!refreshVariable should be the approach to follow for refreshing variables. Refreshing every second would probably have quite an impact in the interface performance and that's probably the reason behind only allowing 30s as the minimum interval.
Can you shed some light on what you're trying to do? There could be other ways to do it.
The use case I've had in the past that would need this is i.e. having an updated "current time" including seconds on the interface; useful for either showing the current time or especially, showing a "countdown" timer if the task has a tight hardcoded expiration deadline.
I understand why the refresh functionality has a hardcoded refresh speed limit, but at the same time it seems a little silly that there is still no way to cause certain components/values to refresh in "real time" on interfaces. Most other web-form technology i've seen (as a user, at the very least) seems to have plenty of ways of handling this, yet we're stuck with.... nothing.