Okay I have deleted the urn. I have the Random Generator first page in the survey, then I have the PHP code listed below on the page before the randomization is supposed to occur. I also just added the updated IDs and page order to the Random Generator:
1 = Wel-MDS, PT, MC,TY
2 = Wel-MDS, PU, MC,TY
Code:
question('RD01'); // Draw note from the random number generator
$pages = value('RD01', 'label'); // Read out drawn page sequence
setPageOrder($pages, 'MC'); // Apply page sequence
// The random number rolled via RD01
$number = value('RD01');
// Depending on the draw, one of two paths is used
if ($number == 1) {
setPageOrder('Demo','MEIM','MDS','PT', 'MC', 'TY');
} elseif ($zahl == 2) {
setPageOrder('Demo','MEIM','MDS','PU', 'MC', 'TY');
}