OriginalPostID-249106
Discussion posts and replies are publicly visible
Is there a way to use rand(), to randomly select user from a group?
Yes. You'll need to do this steps:
Hope this helps
S>
Why are you randomly selecting users from a group?
Maybe Divya is designing a game? But seriously also I've had my customer request that the system semi-randomly assign certain things to users in the past, so I see this as a real potential business use case.
In my experience they almost never want random, but load balanced... but the requirement definitely starts as "random"! :)
Thank you so much..It helped. I changed it to single line: index(ri!user,tointeger(fn!fixed(count(ri!user)*fn!rand()))+1,{})