How to retrieve flow variables in Jython node

I am using jython node and i think it is great. Now i wish change some global variables into workflow variables so the user can run the code in batch mode. but I do not know how to retrieve the predefined workflow variables in a jython script.

Are there some way to get these variables?

Thank you.