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

Announcements
Qlik and ServiceNow Partner to Bring Trusted Enterprise Context into AI-Powered Workflows. Learn More!
cancel
Showing results for 
Search instead for 
Did you mean: 
_AnonymousUser
Specialist III
Specialist III

Get global value from child job.

I have a child job, in it i defined a global value and changed it. then I want to use globalMap.get("variable") in parent job, talend returns java.lang.NullPointerException.
The job is simply like tRunjob_1(child)-----onSubjobok------tJava_1, i use globalMap.get in tJava1, return this error.

Labels (2)
1 Reply
Anonymous
Not applicable

Hi 
The effective range of global variable is limited to the job itself, you can't access a global variable in other job. To define a variable that can be accessible for all job, refer to this article.
https://help.talend.com/pages/viewpage.action?pageId=190513260

Best regards
Shong