Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us to spark ideas for how to put the latest capabilities into action. Register here!
cancel
Showing results for 
Search instead for 
Did you mean: 
nmodi
Creator
Creator

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.

 

0683p000009Lwxh.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.

 

0683p000009LxLS.png

Labels (3)
5 Replies
manodwhb
Champion II
Champion II

@Moe,can you try with Use Route Context?

nmodi
Creator
Creator
Author

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

14
Contributor
Contributor

I am also facing the same issue, please help me with the solution

gjeremy1617088143

Hi, stock the context value in a globalVar then call it in the values field.

Send me Love and kudos

jeoste
Creator II
Creator II

Hello,

Since this component is deprecated, is there another best way/practice to achieve this?

 

Is this page from help.talend is the answer: https://help.talend.com/r/en-US/7.3/data-service-route-example/creating-route-to-communicate-with-job