I’m trying to Do a Search for a list of things, sorted randomly to get a random list of 5 random items that are different in each run of the workflow.
Based on the bubble reference:
Choose this option to randomize the order results. It will be different for each user and after each refresh. It will be the same when re-running a workflow without refreshing the page.
However, since there is no refresh in the backend, this seems to give the same random items each time I run the workflow.
Is there a simple way to get 5 random items of a data type simply on the backend?
I’ve found a workaround but it’s truly terrible:
I can Do a search for thing: random item -> this gives me a truly random item each time but only one piece if item from a list and I need 5.
So I created a data fields for “Random Item 1” “Random Item 2” “Random Item 3” “Random Item 4” “Random Item 5” and then I convert them to lists and then I use the merge function to finally get a random list of 5 items.
As you can see this would be even worse if I needed 25 or 50 random items, any better way to accomplish this?