Closed sdepablos closed 13 years ago
Steps have their own Ruby variable scopes. The reason is that steps are potentially multi-threaded so you don't want a mess.
What you should do is to define new output step fields in Ruby in the first step (just like Javascript transfos) than you can then reuse in a later transfo, that's a common technique. Does it fit your requirement?
Ok, I think it solves it.
I'd like to use some variables passed from the previous step in the Start Script, but every time I try it it says that the variable does not exist, so I could only use them on the Transformation Script. How should I pass to Terminatooor then the connection parameters (user / pass / host) for the Ooor.new?