270
Views
4
Comments
How to work with realtime data?
Question
Application Type
Reactive
Service Studio Version
11.53.34 (Build 61795)

I am implementing chat application using outsystems and node js as a backend. But I am not able to get updated messages until refresh. Can anyone please suggest a solution?

2025-09-04 06-33-37
Nikhil___Vijay

Hello Yogita Gawande 

You can create one action in this action you refresh the aggregate and using js you call this function at every 3 seconds hope this will help you to solve this issue.

setTimeout(() => { 

 document.location.reload();

}, 3000);

Regard 

Nikhil vijay

2023-08-28 07-00-10
Paulo Torres
Champion

You can implement WebSockets. Pusher for example

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

This question is many times answered on the forum. First search, then ask.

2025-04-17 05-42-16
Ajit Kurane

Hi Yogita,

In addition to above answers, I would like to share below thread with you.

Here you can find one oml file regarding chat application and they have implemented the same what you are looking for right now. Please check it.

https://www.outsystems.com/forums/discussion/69552/how-do-i-refresh-chat-application-when-receiving-a-message/

Hope it  helps you.

Thanks,

Ajit Kurane.

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