Search code examples
talend

How to pass calculated values between tJava and tFileCopy Talend components?


I want to obtain a value from executing a java code routine called from a tJava component and then use that value on the Destination filename textbox of the tFileCopy component. How can I do that?


Solution

  • you can use context variable to hold the value which is return by routine and then use same variable in tFileCopy component. context variables can be used in most of the component to share values.