Assign particular block to a particular user | XM Community
Skip to main content
Solved

Assign particular block to a particular user

  • March 4, 2019
  • 2 replies
  • 13 views

dbresearcher
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.

Best answer by Anonymous

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

2 replies

  • 0 replies
  • Answer
  • March 4, 2019
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

dbresearcher
  • Author
  • 1 reply
  • March 5, 2019
Thanks Shashi! Is there a sample code that I can reference? Thank you!