Hi Rahulg,
Writing down the variables into a list (group=recipients, list any kind of objects schemas/tables temp or not/any kind of columns) can be done the way given by Pierre, but the question is that lists are used and useful for targeting purposes (recipients, visitors, custom data for targeting purposes).
If it is only for debugging or keeping interim results between 2 workflows execution, most of people rather use to use XtkOptions with the standard JS Api getOption() and setOption().
setOption
getOption
First define an or several options in NmsOptions by the user interface (Administration>Platform>Options), or if must be done dynamically, do it by using standard API such as Write/WriteCollection for inserting records into xtk:options.
Regards
J-Serge