Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
[font=Verdana, Helvetica, Arial, sans-serif]Hi Talend Pros,
How can i use context variable into[/font] custom routine ??
i tried context.getPropety("paramName") but it does nt work .
Thanks
public static void myRoutine(String param) {
String path = "/home/data/"+param ;
System.out.println(path);
}
Myroutine.myRoutine(context.paramName);
routines.YourRoutines.youRoutine(context.paramName)
public static void myRoutine(String param) {
String path = "/home/data/"+param ;
System.out.println(path);
}
Myroutine.myRoutine(context.paramName);