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

Assign particular block to a particular user

  • Mar 4, 2019 10:32 PM UTC
  • 2 replies
  • 30 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
View original

2 replies

  • Answer
  • Mar 4, 2019 11:24 PM UTC
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
Thanks Shashi! Is there a sample code that I can reference? Thank you!