End of Survey conditional branching | XM Community
Skip to main content
Solved

End of Survey conditional branching


Forum|alt.badge.img+1

I am attempting to create two separate end of survey message prompts dependent on eligible and ineligible responses. Participants are directed to their respective End of Survey message depending on eligibility, however, the branching does not do this- it only shows the eligible end of survey response regardless of the branching structure. There are questions throughout the survey that screen out for ineligible responses, so I am trying to 'screen out' those responses on the survey by sending them to a separate 'end of survey' message. When I go through the survey flow, I created a conditional branch to screen out responses, but when I preview it to test the ineligible responses, it still sends it to the 'eligible end of survey message' - How do I fix this? 

Best answer by resh_kr

HI ​@davgon1774 ,

Can you check if the all the conditions are satisfied inside the branch. OR you can set an embedded data “branch_end = 0” before the branch and set “branch_end = 1” after the branch & just before the “ineligible end of survey message” and check if the branch is properly working. If it works, then it will end the survey at the “ineligible end of survey message” else the respondents are send to “eligible end of survey message”

View original

3 replies

jmborzick
QPN Level 5 ●●●●●
Forum|alt.badge.img+41
  • QPN Level 5 ●●●●●
  • 249 replies
  • January 3, 2025

@davgon1774  Likely, it is a problem with the logic in your branch. I assume that your respondents are being directed to the bottom-most end of survey block and not the one nested under the branch. Double check  your logic. Did you mean to use “and” statements or should they be “or?” 

 

With “And,” each of those items will need to be selected or it won’t branch. That means if there  is any logic that would cause one or more of those statements to not appear, then you wouldn’t be able to select a choice, and the branch wouldn’t trigger. 


Forum|alt.badge.img+6
  • QPN Level 2 ●●
  • 40 replies
  • Answer
  • January 3, 2025

HI ​@davgon1774 ,

Can you check if the all the conditions are satisfied inside the branch. OR you can set an embedded data “branch_end = 0” before the branch and set “branch_end = 1” after the branch & just before the “ineligible end of survey message” and check if the branch is properly working. If it works, then it will end the survey at the “ineligible end of survey message” else the respondents are send to “eligible end of survey message”


Forum|alt.badge.img+1
  • Author
  • Level 2 ●●
  • 6 replies
  • January 3, 2025

Thank you both! The embedded data worked best in this case- I also noticed the ‘AND’ instead of ‘OR’ which allowed it to work. 


Leave a Reply