Hi all
I am creating a flow and its currently getting the first user record based on a list of users/records.
Here is the compose snippet which currently gets the first user id from the list:
first(outputs('List_rows')?['body']?['value'])?['systemuserid']
What I would like to do now is change this snippet so that it gets the records in the list at random and not be the first record all the time.
I have tried using the rand function many different ways but cant get it right.
Does anyone know how to write it correctly? I would really appreciate it!
Thanks in advance all!