Looping through multiple valued query params and saving them to dynamic variables?

In this video, since we knew the length of city in query params before we were able to extract it using the extract message policy. In the case where we don't know the size how do we process forward? I image using a javascript policy would work, looking through and creating it. Can we use extract variable policy in case of dynamic variable count?

@Anil Sagar @ Google

0 1 209
1 REPLY 1

No you cannot use ExtractVariables.

You can use JavaScript.

See here for an example. It doesn't do exactly what you want, but it's pretty close.