Hi community,
use case: request 1-x product IDs from an external web service (JSON response, every product ID is comma separated) and list them in a select element on a survey as choices. All this should be done - of cause - during runtime of the survey, so the web service must be triggered in the survey flow, a workflow seems not be possible since it can only start after a submission at defined times.
Currently I'm just able to fetch the result set one by one:
And add it one by one to embedded data variables:
The JSON looks like this:
By saying this you can see that this is really limited in terms to a fixed number of elements. So, if a new product will be part of the result set, I must add it to the embedded data by hand.
So, the question is: do you see a possibility to add the whole result set (most likely as JSON text) to an embedded data variable in order to trace through it by the help of Javascript later?
Be the first to reply!
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.