Solved
assigning embedded variable values based on ranking question results
Hi al1
I have 5 vendors I'm ranking across 10 criteria, and want to score each vendor's rank for each criteria in an embedded variable. I need to do this because I need to do the scoring math in-survey. Is there a way to do this without creating a zillion IF branches? So vendor_a_criteria_1, vendor_a_criteria_2... vendor_a_criteria_10, vendor_b_criteria_1, vendor_b_criteria_2...
Alternate thought - can this be done real time using the API? This would be a bit of a hassle for us as we'd need to develop a program to do the math...
Best answer by TomG
@Tom_R,
I think you want to use a web service call. You can send all your ranks for all the vendors to the web service, have it calculate the scores and pass them back as embedded variables. If would eliminate the need for any survey flow branches.
You'll need to write a web service script using something like php or python that you host on a web server.
View originalLeave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.