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

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Accessing Global Variables

Hi

I'm trying to pick up the project name and job name in a tFixedFlowInput but my projectName & jobName return null.  I've tried to print these in a tJava component to check if they are set but they return null.

 

I thought these 2 were set automatically for all jobs so I can just use globalMap.get but that doesn't seem to be the case.  

 

Any ideas?

Labels (3)
1 Solution

Accepted Solutions
TRF
Champion II
Champion II

You don't have to use globalMap.get() for these variables. Use projectName, jobName directly (jobVersion and contextStr can also be usefull).

View solution in original post

2 Replies
TRF
Champion II
Champion II

You don't have to use globalMap.get() for these variables. Use projectName, jobName directly (jobVersion and contextStr can also be usefull).
Anonymous
Not applicable
Author

That worked. Thanks.