Assign particular block to a particular user | XM Community
Skip to main content
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.
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