Randomiser ??? | XM Community
Skip to main content

Is this right to set a randomiser? I want it to give it an id per participant

then I want to split it between odd numbers and even numbers or every other whichever way it splits evenly

then i want to send one of the groups an email reminder and the other nothing

 

please advise tahnk you

Hi @Beverleyrose You don’t need to use randomizer element instead use Math Operations. I have tried to replicate your setup below and got success in differentiating even and odd numbers. For sending the reminder part will need some more time to think over it.

“Random_Number” embedded data will capture any random number from 1 to 1000 (you can keep the number range according to your requirement). Then embedded data “A” will divide the random number by 2 and return its remainder output.
This branch logic will check if the remainder output is 0 or not. If its a zero then its an even number and if not then an odd number. Embedded data ‘Even Number’ and ‘Odd Number’ can be used to group it in a category.


 


That's brilliant thank you, I will try it now - then in theory I should be able to set up a workflow to do a task and send an email. Does that sound right? I am new to all this so thank you for your help it is much appreciated. 


Is this right, I did not know how to do the 2% so i just typed in what you had in the box

 


@Beverleyrose The logic seems correct to me. Make sure all this setup is at the top most/above the question block in which you will display the ID. Regarding the reminder, I am not confident about it so will need some time to implement the solution, meanwhile you can give it a try and let me know if it worked or not. 


Thank you for your help


Leave a Reply