Multiple values variable in workflow

I have an extraction on data mapper about several tables for products importations items, what i want to accomplish its from this data, i need to do a query to a db on workflow via scripting for comparison and validation, but how do I get the data on the extraction to get into a workflow variable, Are workflow global variables multivalues?

You could have you results put into a JSON and set that JSON to a Workflow variable.

Its there any documentarion on how to do that or where i can get more info about it.

Thanks for your help,

You could look at what the JSON structure is on this site.

http://json.org/

Then in your script you will use the JSON.stringify() and put that in a Watch variable.