passing context value from route to cTalendjob

Seven Stars

passing context value from route to cTalendjob

How can i pass context values from my route to talend job?

 

I receive file on FTP as input & based on file name, I have to generate my output file name, location & other parameter dynamically. how can I pass those to my talend job that can accept that as context value.

 

cTalendJob using context.PNG

 

I am able to update values using cProcessor however when I pass value as above, It still doesn't passed onto my job. 

 

I tried all 3 option - Use selected context, Use route context, Use Job context.

 

interesting thing is that if I put some static value in context as below, value get passed fine.

 

cTalendJob using context_static values.PNG

Thirteen Stars

Re: passing context value from route to cTalendjob

@nmodi,can you try with Use Route Context?

Manohar B
Seven Stars

Re: passing context value from route to cTalendjob

Yes I tried but context values doesn't get passed, if I allocate static values to context values, it does get passed.