Get element with random position

Hello,

I want to know if is possible to get an element from a List by a random position. If it is possible how can I do that?


Thanks


Use it as function like this (function in bold):

ScheduleTable.List[GetRandomInt(0,List.Length-1)].Value

You can use this forge component:

https://www.outsystems.com/forge/component-overview/677/randomizer-number-generator

Use it as function like this (function in bold):

ScheduleTable.List[GetRandomInt(0,List.Length-1)].Value

I already use that to get the random number. What I want is use that number to get an element from a list.


Use it as function like this (function in bold):

ScheduleTable.List[GetRandomInt(0,List.Length-1)].Value

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.