Creation of scheduler events will help you to trigger microflow continuously on a daily/ weekly/yearly/monthly/second/minute/hour basis.
hii Phoebe Tan
there is no need to continuously run the microflow
just take a data grid with data source is microflow so when you enter to the page microflow will be executed and inside data view so your content
and if you want to choose datagrid then it have property to refresh in seconds so microflow will be call every second
and for fetch data use OQL and use case or if else on price column to update price withing a certain time
like in OQL := CASE addDays(yourPromotionalEndTime, -5) < $currentTime THEN LowPrice Else CurrentPrice END
so here using add days the lowPriceWill be fetched before five days of your end Of Promotional time
else currentPrice will be fetched by OQL
so when someone enter in your website OQL will be executed and then according to currenttime and your end promotinal time updated data will be visible there on the page
Kindly check the ‘Count Down Timer with Action’ widget
The widget will also fire an Action you can defined when the count down reaches 0
Also check the ‘Countdown Timer’ widget
Hope it helps!!!
Use the task queue to achieve to update the records using queued jobs. It will not cause any performance issues.
Below is the documentation of the task queue