Your first step should be to identify in what way it "doesn't work". Then you will have something solid to work on. Right now you have no idea what the problem is. (Or if you do, you didn't mention it here.)
Look for error messages and stack traces. Or if the transformation runs to completion, try to identify what it does, what you wanted it to do, and what the difference between those two things is.