random listitem

0
Hello, Is it possible to get a random item from a retrieved list in microflow?   Kind regards, Steven Keersmaekers
asked
1 answers
4

Hi Steven

Perhaps you can create a random integer (round(random()*{numberOfObjects})), where numberOfObjects is the number of objects of that entity in the database. You can then use this number to retrieve the random object with a custom range: 

 

Seems a little bit strange, but I do not know another way to do it

answered