Branching logic not working as expected in loop and merge block | XM Community
Skip to main content

I have a survey with 3 blocks for collecting field vehicle data:

  • Block 1: Starting info (day, time, etc.).
  • Block 2: Loops vehicle questions based on a question at the start of the block: “Enter vehicle or End?” If “Enter vehicle,” I used Display Logic to have vehicle data fields appear. I set these up to Loop and Merge X times every time the respondent chooses “Enter vehicle”. If “End,” I want it to show Block 3.
  • Block 3: Ending questions, which should display after “End” is selected in Block 2. I used Branch Logic in the Survey Flow to add in this condition.

Issue: When I select “End,” it just keeps looping back to “Enter vehicle or End?” again instead of moving to Block 3.

What am I doing wrong?

 

Can you share a screenshot of your survey flow? It sounds like you may have the condition for moving to Block 3 set not quite right.


Hi ​@QualtricsUser1 ,

Loop & merge requires fixed number of iterations (X times) when you set it up. Your logic right now is only controlling what’s happening within the loop, not whether the loop itself stops running.

So even if the user selects End, Qualtrics still goes to the next loop iteration because it has to finish all X rounds you configured.


@QualtricsUser1,

The first question of your loop (Enter Vehicle or End) also needs display logic. It should only display if End is not selected in any loop.