Hi there,
I have a case where a screen displays old values because of asynchronous process between web reactive and BPT technology. Here is the forum thread:
https://www.outsystems.com/forums/discussion/74849/how-to-refresh-a-screen-that-is-coming-from-a-destination-widget/
Now, as the entity really updated, how to tell the client to refresh its screen? What technics can be used and which one is best practice? I ever heard about web socket, is it fit to use?
best regards and thanks
Hi Indra,
the link provided by Ajit has a timer running in the client, checking every so often if any new info is available.
Alternatively, you might not want this to happen all the time, only when the server has actually changed data. There are third party solutions available for this making use of websocket technology, but there is a lightweight alternative that might also work in your case, Server Sent Events. There are limitations, but maybe this fits your needs.
See this medium article by @Rui Barbosa on the subject,
Dorine
Hi Ajit and Boudry,
Many thanks for the answers, and i really appreciate the new tech informed, like Server Sent Events. I am ready to explore it.
Best regards
Hello INDRA,
Have a great weekend.
Please try below thread for your reference and let us know.
https://www.outsystems.com/forums/discussion/57813/how-to-auto-refresh-dashboard-lists-in-reactive/
If its not work then please share sample OML.
Regards,
Ajit Kurane.