hi, im building an application where i need to check a status every 5 seconds in a 5 minutes interval; i tried to use setInterval, javascript function, but it runs one time and skips.
here is what i have now:
Thanks for helping,
Pedro Rocha
Hi @Pedro Rocha ,
There are lots of post related to similar query in past please check them for reference:
https://www.outsystems.com/forums/discussion/57813/how-to-auto-refresh-dashboard-lists-in-reactive/
https://www.outsystems.com/forums/discussion/70084/how-to-autorefresh-specific-webblocks-of-a-webpage-every-x-seconds-in-reactive-we/
https://www.outsystems.com/forums/discussion/60783/how-to-refresh-screen-of-reactive-app/
Forge component:
https://www.outsystems.com/forge/component-overview/10593/trigger-action
I hope this helps,
Regards,
Manish Jawla
Thanks @Manish Jawla !!!
Solved with this one:
Hi Pedro,
try this js:
here every 5 second we will check the status and assign to variable on screen using screen action "AssignStatusOnScreen".
Pramod.
Hi!
Needed to use the counter outside of javascript block, inside getStatus action.
Thanks for your contribution!!