Skip to main content
Announcements
See what Drew Clarke has to say about the Qlik Talend Cloud launch! READ THE BLOG
cancel
Showing results for 
Search instead for 
Did you mean: 
Eric_Talend
Creator
Creator

How can I have set my context variable ?

Hello,

You can see on the screenshot that I have 3 contexts to execute my job : default, "qualif" and "prod".

I would like to have this value on my job to set this to a output filename and to put this in a database.

I search on Internet but I didn't find how to set my context to a variable.

How can I do that ?

Many thanks.

Kind regards.

Labels (2)
3 Replies
madhav_talend
Contributor
Contributor

try TcontextLoad on which you can read context values from file and assign to job's context variables, you can load the file to your DB.

houssem_B
Contributor III
Contributor III

you can't use the three modes at the same time you can use only one and you can call them in your job by using context.Your_variable_name.

 

0693p000009sES5AAM.jpg

 

0693p000009sESAAA2.png

 

Eric_Talend
Creator
Creator
Author

Many many thanks. Now, I konw on more component 😀