89
Views
2
Comments
Refresh screen aggregate after Timer
Application Type
Reactive

Hello,

I am making a Reactive app, and I have a timer that runs everyday at 8:00 and saves data to an entity coming from an API.

I have a screen with an aggregate that shows this data. 

However, after my timer runs, when I go to the screen, I don't have the most recent data, unless I click a Refresh button, which I don't want to do. 

How can I refresh my screen aggregate after the timer?

I have seen ways to refresh screen with JavaScript every 30 seconds or so, but I only need to do it once after my timer runs. It could even be set to refresh at 8:05 or something like that. 

Can anyone help me with this? Thank you very much.

UserImage.jpg
Nikhil Chopade

Refreshing by using JavaScript is a good way, but you want to refresh the screen after timer then you can try by using refresh aggregate in that action or directly use the JavaScript in action at end 

2021-09-06 15-09-53
Dorine Boudry
 
MVP

Hi @Cute Bear ,

maybe take a look at server sent events

Dorine

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