Assign particular block to a particular user | XM Community
Solved

Assign particular block to a particular user


Hello,
I have a survey with 15 blocks, each has 3 questions. I want to assign each block to a participant (total 15 participants). How do I do this dynamically? For example, first participant gets a block, when second participant ready to take the survey, a different block will be assigned.
icon

Best answer by Anonymous 5 March 2019, 00:24

View original

2 replies

Hello dbresearcher ,

For such setup, you need to use external API that will give random number between 1-15 and delete the number from list once send.
Based on number provided by the API call show the block
Thanks Shashi! Is there a sample code that I can reference? Thank you!

Leave a Reply