Periodic Data Changes For All Users

Database & APIs

Hey all!

How to make periodic data changes (Data in Collections)?

I have my "Coins" collection. Around 30 different coins data (Title/Price/etc) are stored up there

I need to automatically change each Coin price in each 5-30 minutes and this info have to be displayed for all the users in realtime on the main page (Where coins are displayed)

What have you tried so far?

1) I've turned all coins containers to components (1 Screenshot)

2) Then I set up a periodic action for each component (2 Screenshot)

In this periodic action I change Backend Data and it works

The problem is that when I leave the main page and return back - action is starts again but the previous one is still running so the data updates twice. If I leave and return for the second time - it already works on triple change, etc

I've also tried to stop the periodic action when user leaves the page using Link To Current Page I've tried to put the homePage url to my condition/page name but nothing worked

Also, I'm not sure if the data updates only for me when I enter the page or for all the users? Like If I enter the page first and my data will update but the other user would enter 5 minutes later than me - will he see the first value of the data or the same one which I see?

Did you check FlutterFlow's Documentation for this topic?
No
1