Embedded Data to generate random ID not working | XM Community
Skip to main content

Hello! 

I have created a survey completion code by using embedded data to generate a random number that participants need to report. However, when I tested the survey numerous times, I am only receiving a seven digit survey completion code 10000000 or 9999999. This is, infact, the integer value I entered to define the range of the random number for the embedded data in survey flow. I am  not sure what went wrong, and why I am not getting a seven digit random number for completing the survey (see attachment of survey flow and survey builder tab where the embedded data was used to generate the random number).

I would appreciate it if you could provide some suggestions to solve the problem. Thank you!

Hi @trissa ,

Your embedded random integer seems to be incorrect.

If you wish to receive a 7-digit code, it should be 1000000 to 9999999

There is an extra 0 in your first integer. 


Thank you, @Chee Heng_SZ for noticing the error. I fixed it and it is working :)


Leave a Reply