New topic Closed topic
avatar image
1
Randomly select an record from a collection (loop)
By Created , last editted

Is there a way to loop through an collection and let Betty randomly select a record from that collection?


example:

I have 10 records with status "Not picked". Now I want to loop through that collection and let betty randomly set 1 record to status "Picked".


THNX! 


Is there a way to loop through an collection and let Betty randomly select a record from that collection?


example:

I have 10 records with status "Not picked". Now I want to loop through that collection and let betty randomly set 1 record to status "Picked".


THNX! 

  • Avatar image
    ​I know a way, but it involves some shifty methods. How important is it for the record te be random? Would an arbitrary record be sufficient for your requirements?
    By
  • Login to reply
Answers
Sort by:

This topic is closed.