Quota (defined with embedded data) exceeds target | XM Community
Skip to main content
Question

Quota (defined with embedded data) exceeds target


Forum|alt.badge.img+1

Hi, 

As you can see on the above screenshot, the quota for Cities is exceeded, although it is coded the same way as other quotas, which work as expected (flagging respondents as QuotaMet and ending their survey when the quota is met). For Cities, respondents are not flagged and they nothing happens even though the quota is exceeded. I suspect the issue comes from the fact that urbanity (Cities) is set using Javascript, by matching the respondent’s zipcode with the corresponding “urbanity” value using a .csv. However, I used the same method two years ago and I don’t remember having any issue with the quota.

Any idea how to make this quota binding?

Thanks in advance!

9 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5921 replies
  • March 18, 2025

Just an idea...try setting the “urbanity” to itself in the survey flow after the JS runs:

urbanity = ${e://Field/urbanity}


Forum|alt.badge.img+1
  • Author
  • 5 replies
  • March 18, 2025
TomG wrote:

Just an idea...try setting the “urbanity” to itself in the survey flow after the JS runs:

urbanity = ${e://Field/urbanity}

Thanks for the idea! I’ve tried and will soon report whether it works. I now define urbanity twice in the survey flow: once at the beginning (without assigning any value), and a second time after it has been assigned by JS, using “${e://Field/urbanity}”.


Forum|alt.badge.img+1
  • Author
  • 5 replies
  • March 18, 2025
TomG wrote:

Just an idea...try setting the “urbanity” to itself in the survey flow after the JS runs:

urbanity = ${e://Field/urbanity}

Unfortunately, this is not working. The quota count is still increasing.


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5921 replies
  • March 19, 2025

Darn, I was hoping that would be a quick fix.  You’ll need to change ‘End current survey’ to ‘None’ and add a survey flow branch to end the survey.


Forum|alt.badge.img+1
  • Author
  • 5 replies
  • March 19, 2025

OK, done, thank you! Any idea why it behaves like that? (To know which quotas I need to recode and which ones I don’t).


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5921 replies
  • March 19, 2025
bixiou wrote:

OK, done, thank you! Any idea why it behaves like that? (To know which quotas I need to recode and which ones I don’t).

I don’t know. For a number of other reasons, I almost always use ‘None’ and the survey flow.


Forum|alt.badge.img+1
  • Author
  • 5 replies
  • March 19, 2025

OK. And is it important to tick “None” in the Quotas? Or can be define End of survey both in the Survey flow and in the Quotas?


TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5921 replies
  • March 19, 2025
bixiou wrote:

OK. And is it important to tick “None” in the Quotas? Or can be define End of survey both in the Survey flow and in the Quotas?

I would tick “None” in the quotas; that way you know exactly what it is doing. 


Forum|alt.badge.img+1
  • Author
  • 5 replies
  • March 19, 2025

I see it’s just a question of clarity. Thanks!


Leave a Reply