Skip to main content
Announcements
Introducing Qlik Answers: A plug-and-play, Generative AI powered RAG solution. READ ALL ABOUT IT!
cancel
Showing results for 
Search instead for 
Did you mean: 
abhi90
Creator II
Creator II

Is it possible to create a context inside a Talend Joblet

Hello All,

 

Hope everyone is doing fine. My requirement is I have to pass a Context Value to One of my Joblet from wrapper while Run time of Talend Wrapper. Is it possible to create a Context inside a Talend Joblet? If it is possible how I will pass my Wrapper Context Value to Joblet?

@nthampi , @vapukov , @manodwhb any idea if it is possible 

Labels (2)
5 Replies
fdenis
Master
Master

your joblet is a part of your job so you may use context values inside.
if you use trunjob you can set context value for the subjob (not a joblet).
regards,
Francois
abhi90
Creator II
Creator II
Author

Hi @fdenis ,

Thing is I have to use Joblet only.Can't use tRunJob. And have to pass a Context to Joblet from Wrapper. Is it possible?

fdenis
Master
Master

you just have to call cotext.xxx into the corresonding parameter when you build your joblett.
abhi90
Creator II
Creator II
Author

Hi @fdenis ,

Suppose Currently the Joblet I am creating there I will create a context context.xxx. Now This xxx Context will get value from Wrapper and I will use this xxx context inside Joblet and in tfilterRow component. in tRunJob like we did clicking "transmit whole context" how I will do that here?

fdenis
Master
Master

you nead a globalMap variable not a context.
globalMap can cange Durring the execution
context cannot.