I have a group on my index page that has a source Search for Customer_Items:random item and this correctly loads a random item when the page is opened.
I am trying to update this group with a new random item every 15 seconds, but cannot get it to work repeatably.
The first method I tried was to use the “Do every” event in the workflow coupled with the “Show Data in Group” which has the same source query as when the page loads. No success.
The second method I tried was to use the “Do every” to increment a custom state counter every 1 second, and a “Do when condition is true” to watch for the value hitting 15, then “Show Data in Group” and then reset the custom state counter to 0. This is a partial success as it updates the group after the first timer interval, but then stops updating the group for subsequent triggers.
Edit: I have also noticed that the 2nd update is always the first item in the database that matches the criteria.
I thought it might have something to do with caching or other stuff, so tried to show/hide and also reset group. All made no difference.
What specifically do I need to do, to reload the group with a new random item very x seconds.