I don't know if there is a better way but you can try generating random global variable value, and for each value, you can use "go to layout" like this:
System -> On start of layout
System -> Set Value -> your variable, round(random(1,yourlayoutcount))
System -> Compare variable -> your variable = 5
System -> Go to layout -> 5