Hi,
I am new to Talend am hoping there is a solution to my problem.
I use tContextLoad to update the context variables in a job at the beginning and at the end of job I update couple of context variables using tJavaRow before using the tContxtDump to output the context variables back into a file. to set the context varibles in tJavaRow I use the following code.
context.Tdate = input_row.Tdate;
context.Name = input_row.Name;
In order to confirm it has changed I have the following code
System.out.println(context.Tdate);
System.out.println(context.Name);
When I run the code the log shows both context variables changed to the new values. But the output of tContextDump (which is set to execute only after tJavaRow component is ok) still shows the old values.
What am I doing wrong. Thanks in advance for your help.
Regards,
Shivaram