52
Views
4
Comments
Solved
execute client action every 5 seconds
Application Type
Reactive

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

Thanks @Manish Jawla !!!

Solved with this one: 

https://www.outsystems.com/forums/discussion/70084/how-to-autorefresh-specific-webblocks-of-a-webpage-every-x-seconds-in-reactive-we/

Hi Pedro,

try this js:

here every 5 second we will check the status and assign to variable on screen using screen action "AssignStatusOnScreen".

Regards,

Pramod.

Hi!

Needed to use the counter outside of javascript block, inside getStatus action.

Thanks for your contribution!!

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.