If then Branch to end of survey | XM Community
Skip to main content

Hi- I want to provide a different end of survey to message to participants that will be excluded from our study. For example, if they are under the age of 18, if they attend a different school, if they have not exercised in the past 12 months. 

I have set up ‘if then branch’, if they select that they are under the age of 18, they will be sent to a custom end of survey message explaining they are not eligible to complete the survey. However when completing the survey in the preview section participants are given the general end of survey message. 

How do I enforce the ‘if then branch’?

Hello @Kmay

Please attempt to configure your logic within the Survey Flow. Add a 'Branch' in the survey flow and set the condition as 'If the AGE is below 18.' Then, add 'End of Survey' below this branch. You can modify the message in the 'End of Survey' element by clicking on the 'Customize' option available in 'End of Survey.' If your message for all other conditions is the same, you can incorporate those conditions within this branch. However, if they differ, you will need to add separate blocks for each condition.

Once you have completed these steps, remember to 'Publish' your survey and preview it.

Let me know if this helps.

Thank you.


Hi Sachin, 

Thank you for your response! I followed your directions and did a test run of the survey. When selecting an age below 18 I press next and it takes me to the next survey question rather than taking me to the end of the survey. 

It appears the branch logic is not being followed. Any other tips?

 

Kayla :)


Hello @Kmay

Please ensure your survey flow follows this sequence:

  1. Embedded variables
  2. Survey question blocks (up to the question about age or other logics)
  3. Your Branch logic custom End of survey
  4. All other survey question blocks
  5. Default End of survey

Hi Sachin, 

Thank you for following up. 

Could you please confirm what you are referring to as ‘Embedded variables’?

Otherwise, I have checked all of the other items you have mentioned and followed this guide: https://www.qualtrics.com/support/survey-platform/survey-module/survey-flow/standard-elements/end-of-survey-element/

 

Thank you for your help.


Hello @Kmay

The link you have used is correct. Please share screenshots of your workflow, and ensure to check if there are any logics added in survey questions.

For further information about embedded variables, you can refer to the link.

Thank you.


Hi Sachin, 

 

Thank you for your help. I have attached a screenshot of the workflow. There are no logics added to the survey questions, and there is no embedded variables that we have added- just the branch logic. 


Hi Sachin, 

I have been able to resolve the issue by separating the questions to individual blocks. 

Thank you. 


Hello @Kmay

I understand now why you're encountering another question instead of being directed to the end of the survey after selecting an age below 18. According to your 'Survey Flow', you have configured it so that you will encounter one more question from the 'Do not meet criteria for survey' block before being directed to the End of Survey.

If you wish to avoid seeing that question, you need to remove it from before the 'End of Survey' block and add it to your other survey blocks.


Leave a Reply